Changeset View
Changeset View
Standalone View
Standalone View
plugins/patchreview/patchreviewtoolview.h
Show All 37 Lines | |||||
38 | public: | 38 | public: | ||
39 | PatchReviewToolView( QWidget* parent, PatchReviewPlugin* plugin ); | 39 | PatchReviewToolView( QWidget* parent, PatchReviewPlugin* plugin ); | ||
40 | ~PatchReviewToolView() override; | 40 | ~PatchReviewToolView() override; | ||
41 | 41 | | |||
42 | // opens the document which should be part of the patch, | 42 | // opens the document which should be part of the patch, | ||
43 | // ensuring that the tabs are sorted correctly | 43 | // ensuring that the tabs are sorted correctly | ||
44 | void open( const QUrl& url, bool activate ) const; | 44 | void open( const QUrl& url, bool activate ) const; | ||
45 | 45 | | |||
46 | signals: | 46 | Q_SIGNALS: | ||
47 | void dialogClosed( PatchReviewToolView* ); | 47 | void dialogClosed( PatchReviewToolView* ); | ||
48 | void stateChanged( PatchReviewToolView* ); | 48 | void stateChanged( PatchReviewToolView* ); | ||
49 | private slots: | 49 | private Q_SLOTS: | ||
50 | 50 | | |||
51 | void startingNewReview(); | 51 | void startingNewReview(); | ||
52 | 52 | | |||
53 | void fileDoubleClicked( const QModelIndex& i ); | 53 | void fileDoubleClicked( const QModelIndex& i ); | ||
54 | 54 | | |||
55 | void nextHunk(); | 55 | void nextHunk(); | ||
56 | void prevHunk(); | 56 | void prevHunk(); | ||
57 | void prevFile(); | 57 | void prevFile(); | ||
Show All 39 Lines | 74 | private: | |||
97 | QPointer< QWidget > m_customWidget; | 97 | QPointer< QWidget > m_customWidget; | ||
98 | QAction* m_selectAllAction; | 98 | QAction* m_selectAllAction; | ||
99 | QAction* m_deselectAllAction; | 99 | QAction* m_deselectAllAction; | ||
100 | Purpose::Menu* m_exportMenu; | 100 | Purpose::Menu* m_exportMenu; | ||
101 | 101 | | |||
102 | class PatchFilesModel* m_fileModel; | 102 | class PatchFilesModel* m_fileModel; | ||
103 | QSortFilterProxyModel* m_fileSortProxyModel; | 103 | QSortFilterProxyModel* m_fileSortProxyModel; | ||
104 | 104 | | |||
105 | public slots: | 105 | public Q_SLOTS: | ||
106 | void documentActivated( KDevelop::IDocument* ); | 106 | void documentActivated( KDevelop::IDocument* ); | ||
107 | void customContextMenuRequested(const QPoint& p); | 107 | void customContextMenuRequested(const QPoint& p); | ||
108 | void testJobResult(KJob* job); | 108 | void testJobResult(KJob* job); | ||
109 | void testJobPercent(KJob* job, ulong percent); | 109 | void testJobPercent(KJob* job, ulong percent); | ||
110 | }; | 110 | }; | ||
111 | 111 | | |||
112 | #endif // KDEVPLATFORM_PLUGIN_PATCHREVIEWTOOLVIEW_H | 112 | #endif // KDEVPLATFORM_PLUGIN_PATCHREVIEWTOOLVIEW_H |