repo-tree-view.h (seafile-client-9.0.1) | : | repo-tree-view.h (seafile-client-9.0.2) | ||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
class QStandardItem; | class QStandardItem; | |||
class RepoItem; | class RepoItem; | |||
class RepoCategoryItem; | class RepoCategoryItem; | |||
// class ServerRepo; | // class ServerRepo; | |||
class LocalRepo; | class LocalRepo; | |||
class ApiError; | class ApiError; | |||
class CloneTasksDialog; | class CloneTasksDialog; | |||
class FileUploadTask; | class FileUploadTask; | |||
class SyncErrorsDialog; | ||||
class RepoTreeView : public QTreeView { | class RepoTreeView : public QTreeView { | |||
Q_OBJECT | Q_OBJECT | |||
public: | public: | |||
RepoTreeView(QWidget *parent=0); | RepoTreeView(QWidget *parent=0); | |||
std::vector<QAction*> getToolBarActions(); | std::vector<QAction*> getToolBarActions(); | |||
void expand(const QModelIndex& index, bool remember=true); | void expand(const QModelIndex& index, bool remember=true); | |||
void collapse(const QModelIndex& index, bool remember=true); | void collapse(const QModelIndex& index, bool remember=true); | |||
skipping to change at line 75 | skipping to change at line 76 | |||
void onItemClicked(const QModelIndex& index); | void onItemClicked(const QModelIndex& index); | |||
void onItemDoubleClicked(const QModelIndex& index); | void onItemDoubleClicked(const QModelIndex& index); | |||
void toggleRepoAutoSync(); | void toggleRepoAutoSync(); | |||
void unsyncRepo(); | void unsyncRepo(); | |||
void syncRepoImmediately(); | void syncRepoImmediately(); | |||
void cancelDownload(); | void cancelDownload(); | |||
void loadExpandedCategries(); | void loadExpandedCategries(); | |||
void saveExpandedCategries(); | void saveExpandedCategries(); | |||
void resyncRepo(); | void resyncRepo(); | |||
void setRepoSyncInterval(); | void setRepoSyncInterval(); | |||
void viewRepoSyncErrors(); | ||||
void discardRepoSyncErrors(); | ||||
void checkRootPermDone(); | void checkRootPermDone(); | |||
void uploadFileStart(FileUploadTask *task); | void uploadFileStart(FileUploadTask *task); | |||
void uploadFileFinished(bool success); | void uploadFileFinished(bool success); | |||
void copyFileFailed(); | void copyFileFailed(); | |||
private: | private: | |||
QStandardItem* getRepoItem(const QModelIndex &index) const; | QStandardItem* getRepoItem(const QModelIndex &index) const; | |||
void createActions(); | void createActions(); | |||
skipping to change at line 124 | skipping to change at line 127 | |||
QAction *view_on_web_action_; | QAction *view_on_web_action_; | |||
QAction *share_repo_to_user_action_; | QAction *share_repo_to_user_action_; | |||
QAction *share_repo_to_group_action_; | QAction *share_repo_to_group_action_; | |||
QAction *open_in_filebrowser_action_; | QAction *open_in_filebrowser_action_; | |||
QAction *unshare_action_; | QAction *unshare_action_; | |||
QAction *toggle_auto_sync_action_; | QAction *toggle_auto_sync_action_; | |||
QAction *sync_now_action_; | QAction *sync_now_action_; | |||
QAction *cancel_download_action_; | QAction *cancel_download_action_; | |||
QAction *resync_action_; | QAction *resync_action_; | |||
QAction *set_sync_interval_action_; | QAction *set_sync_interval_action_; | |||
QAction *view_repo_sync_errors_action_; | ||||
QAction *discard_repo_sync_errors_action_; | ||||
QSet<QString> expanded_categroies_; | QSet<QString> expanded_categroies_; | |||
QModelIndex current_drop_target_; | QModelIndex current_drop_target_; | |||
QModelIndex previous_drop_target_; | QModelIndex previous_drop_target_; | |||
SyncErrorsDialog *sync_errors_dialog_; | ||||
}; | }; | |||
#endif // SEAFILE_CLIENT_REPO_TREE_VIEW_H | #endif // SEAFILE_CLIENT_REPO_TREE_VIEW_H | |||
End of changes. 4 change blocks. | ||||
0 lines changed or deleted | 7 lines changed or added |