summaryrefslogtreecommitdiff
path: root/src/tabbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabbar.h')
-rw-r--r--src/tabbar.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tabbar.h b/src/tabbar.h
index c1b0ba5c..1949673f 100644
--- a/src/tabbar.h
+++ b/src/tabbar.h
@@ -41,7 +41,7 @@
#include <QSignalMapper>
// Forward Declarations
-class KPassivePopup;
+class TabPreviewPopup;
class TabHighlightEffect;
class QPropertyAnimation;
@@ -63,6 +63,10 @@ public:
QRect tabTextRect(int index);
void setAnimatedTabHighlighting(bool enabled);
+ //constants
+ static const int baseWidthDivisor = 4;
+ static const int minWidthDivisor = 8;
+
signals:
void cloneTab(int index);
void closeTab(int index);
@@ -101,10 +105,6 @@ private slots:
void removeAnimation(int index);
private:
- //constants
- static const int baseWidthDivisor = 4;
- static const int minWidthDivisor = 8;
-
void setupHistoryActions();
friend class MainView;
@@ -113,7 +113,7 @@ private:
*/
int m_actualIndex;
- QWeakPointer<KPassivePopup> m_previewPopup;
+ QWeakPointer<TabPreviewPopup> m_previewPopup;
/**
* the index of the tab preview shown