Changeset View
Changeset View
Standalone View
Standalone View
krusader/Panel/listpanel.h
Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Line(s) | 79 | public: | |||
---|---|---|---|---|---|
125 | 125 | | |||
126 | void saveSettings(KConfigGroup cfg, bool saveHistory); | 126 | void saveSettings(KConfigGroup cfg, bool saveHistory); | ||
127 | void restoreSettings(KConfigGroup cfg); | 127 | void restoreSettings(KConfigGroup cfg); | ||
128 | 128 | | |||
129 | void setPinnedUrl(QUrl &pinnedUrl) { _pinnedUrl = pinnedUrl; }; | 129 | void setPinnedUrl(QUrl &pinnedUrl) { _pinnedUrl = pinnedUrl; }; | ||
130 | QUrl pinnedUrl() const { return _pinnedUrl; }; | 130 | QUrl pinnedUrl() const { return _pinnedUrl; }; | ||
131 | 131 | | |||
132 | public slots: | 132 | public slots: | ||
133 | void handleDrop(QDropEvent *event, bool onView = false); // handle drops on frame or view | ||||
134 | void handleDrop(const QUrl &destination, QDropEvent *event); // handle drops with destination | ||||
133 | void popRightClickMenu(const QPoint&); | 135 | void popRightClickMenu(const QPoint&); | ||
134 | void popEmptyRightClickMenu(const QPoint &); | 136 | void popEmptyRightClickMenu(const QPoint &); | ||
135 | void compareDirs(bool otherPanelToo = true); | 137 | void compareDirs(bool otherPanelToo = true); | ||
136 | void slotFocusOnMe(bool focus = true); | 138 | void slotFocusOnMe(bool focus = true); | ||
137 | void slotUpdateTotals(); | 139 | void slotUpdateTotals(); | ||
138 | // react to file changes in filesystem (path change or refresh) | 140 | // react to file changes in filesystem (path change or refresh) | ||
139 | void slotStartUpdate(bool directoryChange); | 141 | void slotStartUpdate(bool directoryChange); | ||
140 | void toggleSidebar(); | 142 | void toggleSidebar(); | ||
Show All 33 Lines | 166 | protected: | |||
174 | void createView(); | 176 | void createView(); | ||
175 | void updateButtons(); | 177 | void updateButtons(); | ||
176 | 178 | | |||
177 | static int defaultPanelType(); | 179 | static int defaultPanelType(); | ||
178 | static bool isNavigatorEditModeSet(); // return the navigator edit mode setting | 180 | static bool isNavigatorEditModeSet(); // return the navigator edit mode setting | ||
179 | 181 | | |||
180 | protected slots: | 182 | protected slots: | ||
181 | void slotCurrentChanged(KrViewItem *item); | 183 | void slotCurrentChanged(KrViewItem *item); | ||
182 | void handleDrop(QDropEvent *event, bool onView = false); // handle drops on frame or view | | |||
183 | void handleDrop(const QUrl &destination, QDropEvent *event); // handle drops with destination | | |||
184 | void startDragging(QStringList, QPixmap); | 184 | void startDragging(QStringList, QPixmap); | ||
185 | void slotPreviewJobStarted(KJob *job); | 185 | void slotPreviewJobStarted(KJob *job); | ||
186 | void slotPreviewJobPercent(KJob *job, unsigned long percent); | 186 | void slotPreviewJobPercent(KJob *job, unsigned long percent); | ||
187 | void slotPreviewJobResult(KJob *job); | 187 | void slotPreviewJobResult(KJob *job); | ||
188 | // those handle the in-panel refresh notifications | 188 | // those handle the in-panel refresh notifications | ||
189 | void slotRefreshJobStarted(KIO::Job* job); | 189 | void slotRefreshJobStarted(KIO::Job* job); | ||
190 | void inlineRefreshInfoMessage(KJob* job, const QString &msg); | 190 | void inlineRefreshInfoMessage(KJob* job, const QString &msg); | ||
191 | void inlineRefreshListResult(KJob* job); | 191 | void inlineRefreshListResult(KJob* job); | ||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |