summaryrefslogtreecommitdiffstats
path: root/kalarm/prefdlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/prefdlg.h')
-rw-r--r--kalarm/prefdlg.h108
1 files changed, 54 insertions, 54 deletions
diff --git a/kalarm/prefdlg.h b/kalarm/prefdlg.h
index a5f1ee9a1..5eec5f224 100644
--- a/kalarm/prefdlg.h
+++ b/kalarm/prefdlg.h
@@ -21,8 +21,8 @@
#ifndef PREFDLG_H
#define PREFDLG_H
-#include <qsize.h>
-#include <qdatetime.h>
+#include <tqsize.h>
+#include <tqdatetime.h>
#include <ktabctl.h>
#include <kdialogbase.h>
@@ -84,7 +84,7 @@ class PrefsTabBase : public QWidget
{
Q_OBJECT
public:
- PrefsTabBase(QVBox*);
+ PrefsTabBase(TQVBox*);
void setPreferences();
virtual void restore() = 0;
@@ -93,7 +93,7 @@ class PrefsTabBase : public QWidget
static int indentWidth() { return mIndentWidth; }
protected:
- QVBox* mPage;
+ TQVBox* mPage;
private:
static int mIndentWidth; // indent width for checkboxes etc.
@@ -105,7 +105,7 @@ class MiscPrefTab : public PrefsTabBase
{
Q_OBJECT
public:
- MiscPrefTab(QVBox*);
+ MiscPrefTab(TQVBox*);
virtual void restore();
virtual void apply(bool syncToDisc);
@@ -125,21 +125,21 @@ class MiscPrefTab : public PrefsTabBase
private:
void setExpiredControls(int purgeDays);
- QCheckBox* mAutostartDaemon;
- QRadioButton* mRunInSystemTray;
- QRadioButton* mRunOnDemand;
- QCheckBox* mDisableAlarmsIfStopped;
- QCheckBox* mQuitWarn;
- QCheckBox* mAutostartTrayIcon;
- QCheckBox* mConfirmAlarmDeletion;
- QCheckBox* mKeepExpired;
- QCheckBox* mPurgeExpired;
+ TQCheckBox* mAutostartDaemon;
+ TQRadioButton* mRunInSystemTray;
+ TQRadioButton* mRunOnDemand;
+ TQCheckBox* mDisableAlarmsIfStopped;
+ TQCheckBox* mQuitWarn;
+ TQCheckBox* mAutostartTrayIcon;
+ TQCheckBox* mConfirmAlarmDeletion;
+ TQCheckBox* mKeepExpired;
+ TQCheckBox* mPurgeExpired;
SpinBox* mPurgeAfter;
- QLabel* mPurgeAfterLabel;
- QPushButton* mClearExpired;
+ TQLabel* mPurgeAfterLabel;
+ TQPushButton* mClearExpired;
TimeEdit* mStartOfDay;
- QButtonGroup* mXtermType;
- QLineEdit* mXtermCommand;
+ TQButtonGroup* mXtermType;
+ TQLineEdit* mXtermCommand;
int mXtermFirst; // id of first terminal window radio button
int mXtermCount; // number of terminal window types
};
@@ -150,9 +150,9 @@ class EmailPrefTab : public PrefsTabBase
{
Q_OBJECT
public:
- EmailPrefTab(QVBox*);
+ EmailPrefTab(TQVBox*);
- QString validate();
+ TQString validate();
virtual void restore();
virtual void apply(bool syncToDisc);
virtual void setDefaults();
@@ -164,17 +164,17 @@ class EmailPrefTab : public PrefsTabBase
void slotAddressChanged() { mAddressChanged = true; }
private:
- void setEmailAddress(Preferences::MailFrom, const QString& address);
- void setEmailBccAddress(bool useControlCentre, const QString& address);
- QString validateAddr(ButtonGroup*, QLineEdit* addr, const QString& msg);
+ void setEmailAddress(Preferences::MailFrom, const TQString& address);
+ void setEmailBccAddress(bool useControlCentre, const TQString& address);
+ TQString validateAddr(ButtonGroup*, TQLineEdit* addr, const TQString& msg);
ButtonGroup* mEmailClient;
ButtonGroup* mFromAddressGroup;
- QLineEdit* mEmailAddress;
+ TQLineEdit* mEmailAddress;
ButtonGroup* mBccAddressGroup;
- QLineEdit* mEmailBccAddress;
- QCheckBox* mEmailQueuedNotify;
- QCheckBox* mEmailCopyToKMail;
+ TQLineEdit* mEmailBccAddress;
+ TQCheckBox* mEmailQueuedNotify;
+ TQCheckBox* mEmailCopyToKMail;
bool mAddressChanged;
bool mBccAddressChanged;
};
@@ -185,9 +185,9 @@ class EditPrefTab : public PrefsTabBase
{
Q_OBJECT
public:
- EditPrefTab(QVBox*);
+ EditPrefTab(TQVBox*);
- QString validate();
+ TQString validate();
virtual void restore();
virtual void apply(bool syncToDisc);
virtual void setDefaults();
@@ -196,22 +196,22 @@ class EditPrefTab : public PrefsTabBase
void slotBrowseSoundFile();
private:
- QCheckBox* mAutoClose;
- QCheckBox* mConfirmAck;
- QComboBox* mReminderUnits;
+ TQCheckBox* mAutoClose;
+ TQCheckBox* mConfirmAck;
+ TQComboBox* mReminderUnits;
SpecialActionsButton* mSpecialActionsButton;
- QCheckBox* mCmdScript;
- QCheckBox* mCmdXterm;
- QCheckBox* mEmailBcc;
- QComboBox* mSound;
- QLabel* mSoundFileLabel;
- QLineEdit* mSoundFile;
- QPushButton* mSoundFileBrowse;
- QCheckBox* mSoundRepeat;
- QCheckBox* mCopyToKOrganizer;
- QCheckBox* mLateCancel;
- QComboBox* mRecurPeriod;
- QButtonGroup* mFeb29;
+ TQCheckBox* mCmdScript;
+ TQCheckBox* mCmdXterm;
+ TQCheckBox* mEmailBcc;
+ TQComboBox* mSound;
+ TQLabel* mSoundFileLabel;
+ TQLineEdit* mSoundFile;
+ TQPushButton* mSoundFileBrowse;
+ TQCheckBox* mSoundRepeat;
+ TQCheckBox* mCopyToKOrganizer;
+ TQCheckBox* mLateCancel;
+ TQComboBox* mRecurPeriod;
+ TQButtonGroup* mFeb29;
static int soundIndex(SoundPicker::Type);
static int recurIndex(RecurrenceEdit::RepeatType);
@@ -223,7 +223,7 @@ class ViewPrefTab : public PrefsTabBase
{
Q_OBJECT
public:
- ViewPrefTab(QVBox*);
+ ViewPrefTab(TQVBox*);
virtual void restore();
virtual void apply(bool syncToDisc);
@@ -236,16 +236,16 @@ class ViewPrefTab : public PrefsTabBase
void slotTooltipTimeToToggled(bool);
private:
- void setTooltip(int maxAlarms, bool time, bool timeTo, const QString& prefix);
+ void setTooltip(int maxAlarms, bool time, bool timeTo, const TQString& prefix);
- QCheckBox* mTooltipShowAlarms;
- QCheckBox* mTooltipMaxAlarms;
+ TQCheckBox* mTooltipShowAlarms;
+ TQCheckBox* mTooltipMaxAlarms;
SpinBox* mTooltipMaxAlarmCount;
- QCheckBox* mTooltipShowTime;
- QCheckBox* mTooltipShowTimeTo;
- QLineEdit* mTooltipTimeToPrefix;
- QLabel* mTooltipTimeToPrefixLabel;
- QCheckBox* mModalMessages;
+ TQCheckBox* mTooltipShowTime;
+ TQCheckBox* mTooltipShowTimeTo;
+ TQLineEdit* mTooltipTimeToPrefix;
+ TQLabel* mTooltipTimeToPrefixLabel;
+ TQCheckBox* mModalMessages;
SpinBox* mDaemonTrayCheckInterval;
};
@@ -255,7 +255,7 @@ class FontColourPrefTab : public PrefsTabBase
{
Q_OBJECT
public:
- FontColourPrefTab(QVBox*);
+ FontColourPrefTab(TQVBox*);
virtual void restore();
virtual void apply(bool syncToDisc);