diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /src/newui/buttonbar.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; |