summaryrefslogtreecommitdiffstats
path: root/kicker/taskbar/taskbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'kicker/taskbar/taskbar.h')
-rw-r--r--kicker/taskbar/taskbar.h45
1 files changed, 24 insertions, 21 deletions
diff --git a/kicker/taskbar/taskbar.h b/kicker/taskbar/taskbar.h
index 0ab614a61..dc34129e0 100644
--- a/kicker/taskbar/taskbar.h
+++ b/kicker/taskbar/taskbar.h
@@ -70,7 +70,7 @@ namespace TaskMoveDestination
class TaskBar : public Panner
{
- Q_OBJECT
+ TQ_OBJECT
public:
TaskBar( TaskBarSettings* settingsObject, TaskBarSettings* globalSettingsObject, TQWidget *parent = 0, const char *name = 0 );
@@ -137,37 +137,40 @@ protected:
void moveEvent( TQMoveEvent* );
bool idMatch( const TQString& id1, const TQString& id2 );
TaskContainer::List filteredContainers();
+ int buttonHeight() const;
+ int buttonWidth() const;
private:
void sortContainersByDesktop(TaskContainer::List& list);
void setViewportBackground();
- bool blocklayout;
- bool m_showAllWindows;
- bool m_cycleWheel;
- int m_currentScreen; // The screen to show, -1 for all screens
- bool m_showOnlyCurrentScreen;
- bool m_sortByDesktop;
+ bool blocklayout;
+ bool m_showAllWindows;
+ bool m_cycleWheel;
+ int m_currentScreen; // The screen to show, -1 for all screens
+ bool m_showOnlyCurrentScreen;
+ bool m_sortByDesktop;
int m_displayIconsNText;
- bool m_showOnlyIconified;
- int m_showTaskStates;
- ArrowType arrowType;
- TaskContainer::List containers;
- TaskContainer::List m_hiddenContainers;
- TaskContainer::List m_deletableContainers;
- PixmapList frames;
+ bool m_showOnlyIconified;
+ int m_showTaskStates;
+ int m_iconSize;
+ ArrowType arrowType;
+ TaskContainer::List containers;
+ TaskContainer::List m_hiddenContainers;
+ TaskContainer::List m_deletableContainers;
+ PixmapList frames;
int maximumButtonsWithoutShrinking() const;
bool shouldGroup() const;
bool isGrouping;
void reGroup();
TDEGlobalAccel* keys;
- KTextShadowEngine* m_textShadowEngine;
- bool m_ignoreUpdates;
- bool m_sortByAppPrev;
- TQTimer m_relayoutTimer;
- TQImage m_blendGradient;
- TaskBarSettings* m_settingsObject;
- TaskBarSettings* m_globalSettingsObject;
+ KTextShadowEngine* m_textShadowEngine;
+ bool m_ignoreUpdates;
+ bool m_sortByAppPrev;
+ TQTimer m_relayoutTimer;
+ TQImage m_blendGradient;
+ TaskBarSettings* m_settingsObject;
+ TaskBarSettings* m_globalSettingsObject;
};
#endif