summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/radiobutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/radiobutton.h')
-rw-r--r--kalarm/lib/radiobutton.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kalarm/lib/radiobutton.h b/kalarm/lib/radiobutton.h
index 96bca04dd..c87ef97b8 100644
--- a/kalarm/lib/radiobutton.h
+++ b/kalarm/lib/radiobutton.h
@@ -21,13 +21,13 @@
#ifndef RADIOBUTTON_H
#define RADIOBUTTON_H
-#include <qradiobutton.h>
+#include <tqradiobutton.h>
/**
- * @short A QRadioButton with focus widget and read-only options.
+ * @short A TQRadioButton with focus widget and read-only options.
*
- * The RadioButton class is a QRadioButton with the ability to transfer focus to
+ * The RadioButton class is a TQRadioButton with the ability to transfer focus to
* another widget when checked, and with a read-only option.
*
* Another widget may be specified as the focus widget for the radio button. Whenever
@@ -47,13 +47,13 @@ class RadioButton : public QRadioButton
* @param parent The parent object of this widget.
* @param name The name of this widget.
*/
- explicit RadioButton(QWidget* parent, const char* name = 0);
+ explicit RadioButton(TQWidget* parent, const char* name = 0);
/** Constructor.
* @param text Text to display.
* @param parent The parent object of this widget.
* @param name The name of this widget.
*/
- RadioButton(const QString& text, QWidget* parent, const char* name = 0);
+ RadioButton(const TQString& text, TQWidget* parent, const char* name = 0);
/** Returns true if the widget is read only. */
bool isReadOnly() const { return mReadOnly; }
/** Sets whether the radio button is read-only for the user. If read-only,
@@ -62,25 +62,25 @@ class RadioButton : public QRadioButton
*/
virtual void setReadOnly(bool readOnly);
/** Returns the widget which receives focus when the button is clicked. */
- QWidget* focusWidget() const { return mFocusWidget; }
+ TQWidget* focusWidget() const { return mFocusWidget; }
/** Specifies a widget to receive focus when the button is clicked.
* @param widget Widget to receive focus.
* @param enable If true, @p widget will be enabled before receiving focus. If
* false, the enabled state of @p widget will be left unchanged when
* the radio button is clicked.
*/
- void setFocusWidget(QWidget* widget, bool enable = true);
+ void setFocusWidget(TQWidget* widget, bool enable = true);
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*);
protected slots:
void slotClicked();
private:
- QWidget::FocusPolicy mFocusPolicy; // default focus policy for the QRadioButton
- QWidget* mFocusWidget; // widget to receive focus when button is clicked on
+ TQWidget::FocusPolicy mFocusPolicy; // default focus policy for the QRadioButton
+ TQWidget* mFocusWidget; // widget to receive focus when button is clicked on
bool mFocusWidgetEnable; // enable focus widget before setting focus
bool mReadOnly; // value cannot be changed
};