~ubuntu-branches/ubuntu/trusty/krusader/trusty

« back to all changes in this revision

Viewing changes to krusader/krusader.h

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-08-08 13:47:36 UTC
  • mfrom: (1.2.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20110808134736-8e630ivgd2c3sgg5
Tags: 1:2.4.0~beta1-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
#include <QResizeEvent>
52
52
#include <QHideEvent>
53
53
#include <kdebug.h>
 
54
 
 
55
#include <QTimer>
 
56
 
54
57
#include "VFS/kiojobwrapper.h"
55
58
 
56
59
#ifdef __KJSEMBED__
59
62
 
60
63
class KrusaderStatus;
61
64
class KRPleaseWaitHandler;
62
 
class KrusaderView;
63
 
class KRslots;
64
 
class KIconLoader;
65
65
class KSystemTrayIcon;
66
66
class UserMenu;
67
67
class UserAction;
68
 
class Expander;
69
 
class KMountMan;
70
 
class KrBookmarkHandler;
71
68
class PopularUrls;
72
69
class QueueManager;
73
70
class ViewActions;
74
71
class ListPanelActions;
 
72
class TabActions;
75
73
 
76
74
class Krusader : public KParts::MainWindow, public FileManagerWindow
77
75
{
106
104
    virtual ListPanelActions *listPanelActions() {
107
105
        return _listPanelActions;
108
106
    }
 
107
    virtual TabActions *tabActions() {
 
108
        return _tabActions;
 
109
    }
109
110
    virtual void plugActionList(const char *name, QList<QAction*> &list) {
110
111
        KParts::MainWindow::plugActionList(name, list);
111
112
    }
112
113
 
113
 
 
114
114
    void refreshView();     // re-create the main view
115
115
    void configChanged();
116
116
    /**
134
134
        directExit = true;
135
135
    }
136
136
 
 
137
protected slots:
 
138
    void doOpenUrl();
 
139
 
137
140
protected:
138
141
    bool queryExit();
139
142
    bool queryClose();
177
180
    void shutdown();
178
181
 
179
182
private:
 
183
    static void supportedTool(QStringList &tools, QString toolType,
 
184
                              QStringList names, QString confName);
 
185
 
180
186
    KrActions *_krActions;
181
187
    ViewActions *_viewActions;
182
188
    ListPanelActions *_listPanelActions;
 
189
    TabActions *_tabActions;
183
190
    KSystemTrayIcon *sysTray;
184
191
    QPoint       oldPos;
185
192
    QSize        oldSize;
187
194
    bool         isExiting;
188
195
    bool         directExit;
189
196
    KrJobStarter jobStarter;
190
 
    static void supportedTool(QStringList &tools, QString toolType,
191
 
                              QStringList names, QString confName);
 
197
    QTimer      _openUrlTimer;
 
198
    QString     _urlToOpen;
192
199
};
193
200
 
194
201