Changeset View
Changeset View
Standalone View
Standalone View
krusader/Panel/panelfunc.h
Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Line(s) | 110 | public: | |||
---|---|---|---|---|---|
121 | void redirectLink(); | 121 | void redirectLink(); | ||
122 | void runService(const KService &service, QList<QUrl> urls); | 122 | void runService(const KService &service, QList<QUrl> urls); | ||
123 | void displayOpenWithDialog(QList<QUrl> urls); | 123 | void displayOpenWithDialog(QList<QUrl> urls); | ||
124 | QUrl browsableArchivePath(const QString &); | 124 | QUrl browsableArchivePath(const QString &); | ||
125 | void deleteFiles(bool moveToTrash); | 125 | void deleteFiles(bool moveToTrash); | ||
126 | 126 | | |||
127 | ListPanelFunc* otherFunc(); | 127 | ListPanelFunc* otherFunc(); | ||
128 | bool atHome(); | 128 | bool atHome(); | ||
129 | bool ignoreFileSystemErrors() { return _ignoreFileSystemErrors; } | | |||
130 | 129 | | |||
131 | protected slots: | 130 | protected slots: | ||
132 | // Load the current url from history and refresh filesystem and panel to it. If this fails, try the | 131 | // Load the current url from history and refresh filesystem and panel to it | ||
133 | // next url in history until success (last try is root) | | |||
134 | void doRefresh(); | 132 | void doRefresh(); | ||
135 | void slotFileCreated(KJob *job); // a file has been created by editNewFile() | 133 | void slotFileCreated(KJob *job); // a file has been created by editNewFile() | ||
136 | void historyGotoPos(int pos); | 134 | void historyGotoPos(int pos); | ||
137 | void clipboardChanged(QClipboard::Mode mode); | 135 | void clipboardChanged(QClipboard::Mode mode); | ||
138 | // Update the directory size in view | 136 | // Update the directory size in view | ||
139 | void slotSizeCalculated(const QUrl &url, KIO::filesize_t size); | 137 | void slotSizeCalculated(const QUrl &url, KIO::filesize_t size); | ||
140 | 138 | | |||
141 | protected: | 139 | protected: | ||
Show All 12 Lines | |||||
154 | QTimer delayTimer; | 152 | QTimer delayTimer; | ||
155 | QUrl syncURL; | 153 | QUrl syncURL; | ||
156 | QUrl fileToCreate; // file that's to be created by editNewFile() | 154 | QUrl fileToCreate; // file that's to be created by editNewFile() | ||
157 | bool urlManuallyEntered; | 155 | bool urlManuallyEntered; | ||
158 | 156 | | |||
159 | static QPointer<ListPanelFunc> copyToClipboardOrigin; | 157 | static QPointer<ListPanelFunc> copyToClipboardOrigin; | ||
160 | 158 | | |||
161 | private: | 159 | private: | ||
162 | bool _ignoreFileSystemErrors; // ignore (repeated) errors emitted by filesystem; | | |||
163 | bool _isPaused; // do not refresh while panel is not visible | 160 | bool _isPaused; // do not refresh while panel is not visible | ||
164 | bool _refreshAfterPaused; // refresh after not paused anymore | 161 | bool _refreshAfterPaused; // refresh after not paused anymore | ||
165 | }; | 162 | }; | ||
166 | 163 | | |||
167 | #endif | 164 | #endif |