Changeset View
Changeset View
Standalone View
Standalone View
app/scangallery.h
Show First 20 Lines • Show All 121 Lines • ▼ Show 20 Line(s) | 113 | signals: | |||
---|---|---|---|---|---|
122 | void fileChanged(const KFileItem *kfi); | 122 | void fileChanged(const KFileItem *kfi); | ||
123 | void fileRenamed(const KFileItem *item, const QString &newName); | 123 | void fileRenamed(const KFileItem *item, const QString &newName); | ||
124 | void showItem(const KFileItem *kfi); | 124 | void showItem(const KFileItem *kfi); | ||
125 | 125 | | |||
126 | void itemHighlighted(const QUrl &url, bool isDir); | 126 | void itemHighlighted(const QUrl &url, bool isDir); | ||
127 | 127 | | |||
128 | private: | 128 | private: | ||
129 | void loadImageForItem(FileTreeViewItem *item); | 129 | void loadImageForItem(FileTreeViewItem *item); | ||
130 | FileTreeBranch *openRoot(const QUrl &root, const QString &title = QString::null); | 130 | FileTreeBranch *openRoot(const QUrl &root, const QString &title = QString()); | ||
131 | 131 | | |||
132 | FileTreeViewItem *findItemByUrl(const QUrl &url, FileTreeBranch *branch = nullptr); | 132 | FileTreeViewItem *findItemByUrl(const QUrl &url, FileTreeBranch *branch = nullptr); | ||
133 | QUrl itemDirectory(const FileTreeViewItem *item) const; | 133 | QUrl itemDirectory(const FileTreeViewItem *item) const; | ||
134 | QString itemDirectoryRelative(const FileTreeViewItem *item) const; | 134 | QString itemDirectoryRelative(const FileTreeViewItem *item) const; | ||
135 | void updateParent(const FileTreeViewItem *curr); | 135 | void updateParent(const FileTreeViewItem *curr); | ||
136 | 136 | | |||
137 | QUrl m_currSelectedDir; | 137 | QUrl m_currSelectedDir; | ||
138 | QMenu *m_contextMenu; | 138 | QMenu *m_contextMenu; | ||
Show All 13 Lines |