diff options
Diffstat (limited to 'src/newui/buttonbar.h')
-rw-r--r-- | src/newui/buttonbar.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/newui/buttonbar.h b/src/newui/buttonbar.h index f137c925..ad1cf5b6 100644 --- a/src/newui/buttonbar.h +++ b/src/newui/buttonbar.h @@ -20,12 +20,12 @@ #ifndef IDEALBUTTONBAR_H #define IDEALBUTTONBAR_H -#include <qwidget.h> -#include <qvaluelist.h> +#include <tqwidget.h> +#include <tqvaluelist.h> #include "comdefs.h" -#include <qlayout.h> +#include <tqlayout.h> namespace Ideal { @@ -39,7 +39,7 @@ class ButtonLayout: public QBoxLayout{ public: ButtonLayout(ButtonBar *parent, Direction d, int margin = 0, int spacing = -1, const char * name = 0); - virtual QSize minimumSize() const; + virtual TQSize minimumSize() const; private: ButtonBar *m_buttonBar; @@ -51,11 +51,11 @@ private: Looks like a toolbar but has another behaviour. It is suitable for placing on the left(right, bottom, top) corners of a window as a bar with slider. */ -class ButtonBar : public QWidget { +class ButtonBar : public TQWidget { Q_OBJECT public: ButtonBar(Place place, ButtonMode mode = IconsAndText, - QWidget *parent = 0, const char *name = 0); + TQWidget *parent = 0, const char *name = 0); virtual ~ButtonBar(); /**Adds a button to the bar.*/ @@ -87,7 +87,7 @@ public: Button *prevTo(Button *button); protected: - virtual void resizeEvent ( QResizeEvent *ev ); + virtual void resizeEvent ( TQResizeEvent *ev ); int originalDimension(); @@ -95,7 +95,7 @@ private: void fixDimensions(); void setButtonsPlace(Ideal::Place place); - typedef QValueList<Button*> ButtonList; + typedef TQValueList<Button*> ButtonList; ButtonList m_buttons; ButtonMode m_mode; |