summaryrefslogtreecommitdiffstats
path: root/src/newui/buttonbar.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /src/newui/buttonbar.h
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/newui/buttonbar.h')
-rw-r--r--src/newui/buttonbar.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/newui/buttonbar.h b/src/newui/buttonbar.h
index ad1cf5b6..f8f13868 100644
--- a/src/newui/buttonbar.h
+++ b/src/newui/buttonbar.h
@@ -32,14 +32,14 @@ namespace Ideal {
class Button;
class ButtonBar;
-/**@short A layout for a ButtonBar class.
+/**@short A tqlayout for a ButtonBar class.
-Overrides minimumSize method to allow shrinking button bar buttons.*/
-class ButtonLayout: public QBoxLayout{
+Overrides tqminimumSize method to allow shrinking button bar buttons.*/
+class ButtonLayout: public TQBoxLayout{
public:
- ButtonLayout(ButtonBar *parent, Direction d, int margin = 0, int spacing = -1, const char * name = 0);
+ ButtonLayout(ButtonBar *tqparent, Direction d, int margin = 0, int spacing = -1, const char * name = 0);
- virtual TQSize minimumSize() const;
+ virtual TQSize tqminimumSize() const;
private:
ButtonBar *m_buttonBar;
@@ -53,9 +53,10 @@ placing on the left(right, bottom, top) corners of a window as a bar with slider
*/
class ButtonBar : public TQWidget {
Q_OBJECT
+ TQ_OBJECT
public:
ButtonBar(Place place, ButtonMode mode = IconsAndText,
- TQWidget *parent = 0, const char *name = 0);
+ TQWidget *tqparent = 0, const char *name = 0);
virtual ~ButtonBar();
/**Adds a button to the bar.*/