summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/pushbutton.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/lib/pushbutton.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/lib/pushbutton.h')
-rw-r--r--kalarm/lib/pushbutton.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kalarm/lib/pushbutton.h b/kalarm/lib/pushbutton.h
index 6ef0f3a2a..8d82ac96e 100644
--- a/kalarm/lib/pushbutton.h
+++ b/kalarm/lib/pushbutton.h
@@ -21,13 +21,13 @@
#ifndef PUSHBUTTON_H
#define PUSHBUTTON_H
-#include <qpushbutton.h>
+#include <tqpushbutton.h>
/**
- * @short A QPushButton with read-only option.
+ * @short A TQPushButton with read-only option.
*
- * The PushButton class is a QPushButton with a read-only option.
+ * The PushButton class is a TQPushButton with a read-only option.
*
* The widget may be set as read-only. This has the same effect as disabling it, except
* that its appearance is unchanged.
@@ -43,20 +43,20 @@ class PushButton : public QPushButton
* @param parent The parent object of this widget.
* @param name The name of this widget.
*/
- explicit PushButton(QWidget* parent, const char* name = 0);
+ explicit PushButton(TQWidget* parent, const char* name = 0);
/** Constructor for a push button which displays a text.
* @param text The text to show on the button.
* @param parent The parent object of this widget.
* @param name The name of this widget.
*/
- PushButton(const QString& text, QWidget* parent, const char* name = 0);
+ PushButton(const TQString& text, TQWidget* parent, const char* name = 0);
/** Constructor for a push button which displays an icon and a text.
* @param icon The icon to show on the button.
* @param text The text to show on the button.
* @param parent The parent object of this widget.
* @param name The name of this widget.
*/
- PushButton(const QIconSet& icon, const QString& text, QWidget* parent, const char* name = 0);
+ PushButton(const TQIconSet& icon, const TQString& text, TQWidget* parent, const char* name = 0);
/** Sets whether the push button is read-only for the user.
* @param readOnly True to set the widget read-only, false to enable its action.
*/
@@ -64,13 +64,13 @@ class PushButton : public QPushButton
/** Returns true if the widget is read only. */
virtual bool isReadOnly() const { return mReadOnly; }
protected:
- virtual void mousePressEvent(QMouseEvent*);
- virtual void mouseReleaseEvent(QMouseEvent*);
- virtual void mouseMoveEvent(QMouseEvent*);
- virtual void keyPressEvent(QKeyEvent*);
- virtual void keyReleaseEvent(QKeyEvent*);
+ virtual void mousePressEvent(TQMouseEvent*);
+ virtual void mouseReleaseEvent(TQMouseEvent*);
+ virtual void mouseMoveEvent(TQMouseEvent*);
+ virtual void keyPressEvent(TQKeyEvent*);
+ virtual void keyReleaseEvent(TQKeyEvent*);
private:
- QWidget::FocusPolicy mFocusPolicy; // default focus policy for the QPushButton
+ TQWidget::FocusPolicy mFocusPolicy; // default focus policy for the QPushButton
bool mReadOnly; // value cannot be changed
};