~schumski-deactivatedaccount-deactivatedaccount/k3b/master

« back to all changes in this revision

Viewing changes to src/projects/k3baudioview.h

  • Committer: Sebastian Trueg
  • Date: 2009-02-22 22:39:42 UTC
  • Revision ID: git-v1:6dd604da258355f5620f2f59e0ddb7c52e625553
I finally did it: I moved all K3b classes into the K3b namespace. Now this might sound like completely useless (and it actually is, too)
but I like it better this way and it also forced me to look at nearly each source file to fix the things that my crude scripting skills
did not catch properly.
And on the way I also cleaned up the code, used QFlags a few more times and introduced some d-pointers.

svn path=/trunk/extragear/multimedia/k3b/; revision=930262

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* 
 
1
/*
2
2
 *
3
3
 * Copyright (C) 2003-2007 Sebastian Trueg <trueg@k3b.org>
4
4
 *           (C) 2009      Arthur Mello <arthur@mandriva.com>
23
23
#include <qstringlist.h>
24
24
 
25
25
 
26
 
class K3bAudioDoc;
27
 
class K3bAudioTrack;
28
 
//class K3bAudioTrackView;
29
 
 
30
26
namespace K3b {
 
27
 
 
28
    class AudioDoc;
 
29
    class AudioTrack;
31
30
    class AudioProjectModel;
 
31
 
 
32
    class AudioView : public StandardView
 
33
    {
 
34
        Q_OBJECT
 
35
 
 
36
    public:
 
37
        AudioView( AudioDoc* pDoc, QWidget* parent );
 
38
        ~AudioView();
 
39
 
 
40
        //AudioTrackPlayer* player() const { return m_songlist->player(); }
 
41
        AudioTrackPlayer* player() const { return 0; }
 
42
 
 
43
    public Q_SLOTS:
 
44
        void addUrls( const KUrl::List& );
 
45
 
 
46
    protected:
 
47
        ProjectBurnDialog* newBurnDialog( QWidget* parent = 0 );
 
48
 
 
49
        void init();
 
50
 
 
51
    private Q_SLOTS:
 
52
        void slotAudioConversion();
 
53
 
 
54
    private:
 
55
        AudioDoc* m_doc;
 
56
 
 
57
        //AudioTrackView* m_songlist;
 
58
        K3b::AudioProjectModel* m_model;
 
59
    };
32
60
}
33
61
 
34
 
/**
35
 
 *@author Sebastian Trueg
36
 
 */
37
 
class K3bAudioView : public K3bStandardView
38
 
{
39
 
    Q_OBJECT
40
 
 
41
 
public:
42
 
    K3bAudioView( K3bAudioDoc* pDoc, QWidget* parent );
43
 
    ~K3bAudioView();
44
 
 
45
 
    //K3bAudioTrackPlayer* player() const { return m_songlist->player(); }
46
 
    K3bAudioTrackPlayer* player() const { return 0; }
47
 
 
48
 
public Q_SLOTS:
49
 
    void addUrls( const KUrl::List& );
50
 
 
51
 
protected:
52
 
    K3bProjectBurnDialog* newBurnDialog( QWidget* parent = 0 );
53
 
 
54
 
    void init();
55
 
 
56
 
    private Q_SLOTS:
57
 
    void slotAudioConversion();
58
 
 
59
 
private:
60
 
    K3bAudioDoc* m_doc;
61
 
 
62
 
    //K3bAudioTrackView* m_songlist;
63
 
    K3b::AudioProjectModel* m_model;
64
 
};
65
 
 
66
62
#endif