Changeset View
Changeset View
Standalone View
Standalone View
krusader/paneltabbar.h
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Line(s) | 77 | signals: | |||
---|---|---|---|---|---|
83 | * emitted when the user right-clicks and selects an action that creates a new tab | 83 | * emitted when the user right-clicks and selects an action that creates a new tab | ||
84 | */ | 84 | */ | ||
85 | void newTab(const QUrl &path); | 85 | void newTab(const QUrl &path); | ||
86 | 86 | | |||
87 | void draggingTab(QMouseEvent*); | 87 | void draggingTab(QMouseEvent*); | ||
88 | void draggingTabFinished(QMouseEvent*); | 88 | void draggingTabFinished(QMouseEvent*); | ||
89 | 89 | | |||
90 | protected: | 90 | protected: | ||
91 | void mouseMoveEvent(QMouseEvent*e) Q_DECL_OVERRIDE; | 91 | void mouseMoveEvent(QMouseEvent*e) override; | ||
92 | void mousePressEvent(QMouseEvent*) Q_DECL_OVERRIDE; | 92 | void mousePressEvent(QMouseEvent*) override; | ||
93 | void mouseReleaseEvent(QMouseEvent*) Q_DECL_OVERRIDE; | 93 | void mouseReleaseEvent(QMouseEvent*) override; | ||
94 | void insertAction(QAction*); | 94 | void insertAction(QAction*); | ||
95 | QString squeeze(const QUrl &url, int tabIndex = -1); | 95 | QString squeeze(const QUrl &url, int tabIndex = -1); | ||
96 | void dragEnterEvent(QDragEnterEvent *) Q_DECL_OVERRIDE; | 96 | void dragEnterEvent(QDragEnterEvent *) override; | ||
97 | void dragLeaveEvent(QDragLeaveEvent *) Q_DECL_OVERRIDE; | 97 | void dragLeaveEvent(QDragLeaveEvent *) override; | ||
98 | void dragMoveEvent(QDragMoveEvent *) Q_DECL_OVERRIDE; | 98 | void dragMoveEvent(QDragMoveEvent *) override; | ||
99 | void resizeEvent(QResizeEvent *e) Q_DECL_OVERRIDE; | 99 | void resizeEvent(QResizeEvent *e) override; | ||
100 | 100 | | |||
101 | protected slots: | 101 | protected slots: | ||
102 | void duplicateTab(); | 102 | void duplicateTab(); | ||
103 | 103 | | |||
104 | private: | 104 | private: | ||
105 | void setIcon(int index, ListPanel *panel); | 105 | void setIcon(int index, ListPanel *panel); | ||
106 | void handleDragEvent(int tabIndex); | 106 | void handleDragEvent(int tabIndex); | ||
107 | void setPanelTextToTab(int tabIndex, ListPanel *panel); | 107 | void setPanelTextToTab(int tabIndex, ListPanel *panel); | ||
Show All 10 Lines |