~ubuntu-branches/ubuntu/oneiric/k3b/oneiric

« back to all changes in this revision

Viewing changes to src/k3b.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-03-05 18:46:32 UTC
  • mfrom: (1.1.23 upstream)
  • Revision ID: james.westby@ubuntu.com-20100305184632-uhnjo6k45yi6bkmu
Tags: 1.90.0~rc1-0ubuntu1
* New upstream release
  - Bump kdelibs5-dev to 4.4.1 as required, k3b uses KAuth since this version

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#ifndef K3B_H
18
18
#define K3B_H
19
19
 
20
 
// include files for KDE
 
20
#include "option/k3boptiondialog.h"
 
21
 
21
22
#include <KSharedConfig>
22
23
#include <KUrl>
23
24
#include <KXmlGuiWindow>
24
25
 
25
 
#include "option/k3boptiondialog.h"
26
 
 
27
 
class QDockWidget;
28
 
 
29
 
class KSystemTray;
30
 
class KToggleAction;
31
 
class KAction;
32
 
class KRecentFilesAction;
33
 
class KActionMenu;
 
26
#include <QList>
34
27
 
35
28
namespace K3b {
36
29
    class Doc;
37
30
    class View;
38
 
    class DirView;
39
31
    class ExternalBinManager;
40
 
    class OptionDialog;
41
 
    class ProjectTabWidget;
42
 
    class StatusBarManager;
43
 
    class ThemedHeader;
44
 
    class UrlNavigator;
45
32
 
46
33
    namespace Device {
47
34
        class DeviceManager;
62
49
        /** opens a file specified by commandline option */
63
50
        Doc* openDocument( const KUrl& url = KUrl() );
64
51
 
65
 
        Device::DeviceManager*      deviceManager() const;
 
52
        Device::DeviceManager* deviceManager() const;
66
53
        ExternalBinManager* externalBinManager() const;
67
54
        KSharedConfig::Ptr config() const;
68
55
 
69
 
        // return main window with browser/cd/dvd view, used for DND
70
 
        DirView*            mainWindow() const        { return m_dirView; }
71
56
        /**
72
57
         * @returns a pointer to the currently visible view or 0 if no project was created
73
58
         */
87
72
         *  must be called after construction
88
73
         */
89
74
        void initView();
90
 
 
91
 
        KSystemTray* systemTray() const { return m_systemTray; }
92
75
        
93
76
        /**
94
77
         * Reimplemented from QMainWindow, adds "Lock Panels" action
242
225
         */
243
226
        void initStatusBar();
244
227
 
245
 
        /** The MDI-Interface is managed by this tabbed view */
246
 
        ProjectTabWidget* m_documentTab;
247
 
 
248
 
        // KAction pointers to enable/disable actions
249
 
        KActionMenu* actionFileNewMenu;
250
 
        KAction* actionFileNewAudio;
251
 
        KAction* actionFileNewData;
252
 
        KAction* actionFileNewMixed;
253
 
        KAction* actionFileNewVcd;
254
 
        KAction* actionFileNewMovix;
255
 
        KAction* actionFileNewVideoDvd;
256
 
        KAction* actionFileContinueMultisession;
257
 
        KAction* actionFileOpen;
258
 
        KRecentFilesAction* actionFileOpenRecent;
259
 
        KAction* actionFileSave;
260
 
        KAction* actionFileSaveAs;
261
 
        KAction* actionFileSaveAll;
262
 
        KAction* actionFileClose;
263
 
        KAction* actionFileCloseAll;
264
 
        KAction* actionFileQuit;
265
 
        KAction* actionSettingsConfigure;
266
 
        KAction* actionSettingsK3bSetup;
267
 
        KAction* actionToolsWriteImage;
268
 
        KAction* actionToolsCddaRip;
269
 
        KAction* actionToolsVideoDvdRip;
270
 
        KAction* actionToolsVideoCdRip;
271
 
        KAction* actionProjectAddFiles;
272
 
        KToggleAction* actionViewStatusBar;
273
 
        KToggleAction* actionViewLockPanels;
274
 
        KToggleAction* actionViewDocumentHeader;
275
 
 
276
 
        // project actions
277
 
        QList<KAction*> m_dataProjectActions;
278
 
 
279
 
        QDockWidget* m_documentDock;
280
 
        QDockWidget* m_contentsDock;
281
 
        QDockWidget* m_dirTreeDock;
282
 
 
283
 
        // The K3b-specific widgets
284
 
        DirView* m_dirView;
285
 
        OptionDialog* m_optionDialog;
286
 
 
287
 
        StatusBarManager* m_statusBarManager;
288
 
 
289
 
        KSystemTray* m_systemTray;
290
 
 
291
 
        bool m_initialized;
292
 
 
293
 
        // the funny header
294
 
        ThemedHeader* m_documentHeader;
295
 
 
296
 
        K3b::UrlNavigator* m_urlNavigator;
297
 
 
298
228
        class Private;
299
229
        Private* d;
300
230
    };