summaryrefslogtreecommitdiffstats
path: root/kdeui/kbuttonbox.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/kbuttonbox.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kbuttonbox.h')
-rw-r--r--kdeui/kbuttonbox.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kdeui/kbuttonbox.h b/kdeui/kbuttonbox.h
index 51ae7024c..74bab9006 100644
--- a/kdeui/kbuttonbox.h
+++ b/kdeui/kbuttonbox.h
@@ -22,7 +22,7 @@
#include <kdelibs_export.h>
-#include <qwidget.h>
+#include <tqwidget.h>
class QPushButton;
class KGuiItem;
@@ -51,7 +51,7 @@ public:
* addButton() are laid out from top to bottom, otherwise they
* are laid out from left to right.
*/
- KButtonBox(QWidget *parent, Orientation _orientation = Horizontal,
+ KButtonBox(TQWidget *parent, Orientation _orientation = Horizontal,
int border = 0, int _autoborder = 6);
/**
@@ -65,12 +65,12 @@ public:
* This size is
* calculated by the width/height of all buttons plus border/autoborder.
*/
- virtual QSize sizeHint() const;
- virtual QSizePolicy sizePolicy() const;
- virtual void resizeEvent(QResizeEvent *);
+ virtual TQSize sizeHint() const;
+ virtual TQSizePolicy sizePolicy() const;
+ virtual void resizeEvent(TQResizeEvent *);
/**
- * Add a new QPushButton.
+ * Add a new TQPushButton.
*
* @param text the text of the button to add
* @param noexpand If @p noexpand is @p false, the width
@@ -80,10 +80,10 @@ public:
*
* @return A pointer to the new button.
*/
- QPushButton *addButton(const QString& text, bool noexpand = false);
+ TQPushButton *addButton(const TQString& text, bool noexpand = false);
/**
- * Add a new QPushButton.
+ * Add a new TQPushButton.
*
* @param text the text of the button to add.
* @param receiver An object to connect to.
@@ -95,10 +95,10 @@ public:
*
* @return A pointer to the new button.
*/
- QPushButton *addButton(const QString& text, QObject * receiver, const char * slot, bool noexpand = false);
+ TQPushButton *addButton(const TQString& text, TQObject * receiver, const char * slot, bool noexpand = false);
/**
- * Add a new QPushButton.
+ * Add a new TQPushButton.
*
* @param guiitem text and icon on the button
* @param noexpand If @p noexpand is @p false, the width
@@ -110,10 +110,10 @@ public:
*
* @since 3.3
*/
- QPushButton *addButton(const KGuiItem& guiitem, bool noexpand = false);
+ TQPushButton *addButton(const KGuiItem& guiitem, bool noexpand = false);
/**
- * Add a new QPushButton.
+ * Add a new TQPushButton.
*
* @param guiitem text and icon on the button
* @param receiver An object to connect to.
@@ -127,7 +127,7 @@ public:
*
* @since 3.3
*/
- QPushButton *addButton(const KGuiItem& guiitem, QObject * receiver, const char * slot, bool noexpand = false);
+ TQPushButton *addButton(const KGuiItem& guiitem, TQObject * receiver, const char * slot, bool noexpand = false);
/**
* Add a stretch to the buttonbox.
@@ -157,9 +157,9 @@ protected:
* @return the best size for a button. Checks all buttons and takes
* the maximum width/height.
*/
- QSize bestButtonSize() const;
+ TQSize bestButtonSize() const;
void placeButtons();
- QSize buttonSizeHint(QPushButton *) const;
+ TQSize buttonSizeHint(TQPushButton *) const;
protected:
virtual void virtual_hook( int id, void* data );