summaryrefslogtreecommitdiffstats
path: root/libkdepim/kprefsdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/kprefsdialog.h')
-rw-r--r--libkdepim/kprefsdialog.h176
1 files changed, 88 insertions, 88 deletions
diff --git a/libkdepim/kprefsdialog.h b/libkdepim/kprefsdialog.h
index 7408d19eb..2b3d06c22 100644
--- a/libkdepim/kprefsdialog.h
+++ b/libkdepim/kprefsdialog.h
@@ -23,10 +23,10 @@
#ifndef KPREFSDIALOG_H
#define KPREFSDIALOG_H
-#include <qptrlist.h>
-#include <qlineedit.h>
-#include <qvaluelist.h>
-#include <qdatetimeedit.h>
+#include <tqptrlist.h>
+#include <tqlineedit.h>
+#include <tqvaluelist.h>
+#include <tqdatetimeedit.h>
#include <kdialogbase.h>
#include <kcmodule.h>
@@ -73,7 +73,7 @@ class KDE_EXPORT KPrefsWid : public QObject
/**
Return a list of widgets used by this control element.
*/
- virtual QValueList<QWidget *> widgets() const;
+ virtual TQValueList<TQWidget *> widgets() const;
signals:
/**
@@ -97,22 +97,22 @@ class KDE_EXPORT KPrefsWidBool : public KPrefsWid
@param item The KConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidBool( KConfigSkeleton::ItemBool *item, QWidget *parent );
+ KPrefsWidBool( KConfigSkeleton::ItemBool *item, TQWidget *parent );
/**
Return the QCheckbox used by this control element.
*/
- QCheckBox *checkBox();
+ TQCheckBox *checkBox();
void readConfig();
void writeConfig();
- QValueList<QWidget *> widgets() const;
+ TQValueList<TQWidget *> widgets() const;
private:
KConfigSkeleton::ItemBool *mItem;
- QCheckBox *mCheck;
+ TQCheckBox *mCheck;
};
/**
@@ -132,28 +132,28 @@ class KDE_EXPORT KPrefsWidInt : public KPrefsWid
@param item The KConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidInt( KConfigSkeleton::ItemInt *item, QWidget *parent );
+ KPrefsWidInt( KConfigSkeleton::ItemInt *item, TQWidget *parent );
/**
- Return QLabel used by this control element.
+ Return TQLabel used by this control element.
*/
- QLabel *label();
+ TQLabel *label();
/**
- Return the QSpinBox used by this control element.
+ Return the TQSpinBox used by this control element.
*/
- QSpinBox *spinBox();
+ TQSpinBox *spinBox();
void readConfig();
void writeConfig();
- QValueList<QWidget *> widgets() const;
+ TQValueList<TQWidget *> widgets() const;
private:
KConfigSkeleton::ItemInt *mItem;
- QLabel *mLabel;
- QSpinBox *mSpin;
+ TQLabel *mLabel;
+ TQSpinBox *mSpin;
};
/**
@@ -172,14 +172,14 @@ class KDE_EXPORT KPrefsWidTime : public KPrefsWid
@param item The KConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidTime( KConfigSkeleton::ItemDateTime *item, QWidget *parent );
+ KPrefsWidTime( KConfigSkeleton::ItemDateTime *item, TQWidget *parent );
/**
- Return QLabel used by this widget.
+ Return TQLabel used by this widget.
*/
- QLabel *label();
+ TQLabel *label();
/**
- Return QSpinBox used by this widget.
+ Return TQSpinBox used by this widget.
*/
KTimeEdit *timeEdit();
@@ -189,7 +189,7 @@ class KDE_EXPORT KPrefsWidTime : public KPrefsWid
private:
KConfigSkeleton::ItemDateTime *mItem;
- QLabel *mLabel;
+ TQLabel *mLabel;
KTimeEdit *mTimeEdit;
};
@@ -210,14 +210,14 @@ class KDE_EXPORT KPrefsWidDuration : public KPrefsWid
@param item The KConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidDuration( KConfigSkeleton::ItemDateTime *item, QWidget *parent );
+ KPrefsWidDuration( KConfigSkeleton::ItemDateTime *item, TQWidget *parent );
/**
- Return QLabel used by this widget.
+ Return TQLabel used by this widget.
*/
- QLabel *label();
+ TQLabel *label();
/**
- Return QSpinBox used by this widget.
+ Return TQSpinBox used by this widget.
*/
QTimeEdit *timeEdit();
@@ -227,7 +227,7 @@ class KDE_EXPORT KPrefsWidDuration : public KPrefsWid
private:
KConfigSkeleton::ItemDateTime *mItem;
- QLabel *mLabel;
+ TQLabel *mLabel;
QTimeEdit *mTimeEdit;
};
@@ -247,14 +247,14 @@ class KDE_EXPORT KPrefsWidDate : public KPrefsWid
@param item The KConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidDate( KConfigSkeleton::ItemDateTime *item, QWidget *parent );
+ KPrefsWidDate( KConfigSkeleton::ItemDateTime *item, TQWidget *parent );
/**
- Return QLabel used by this widget.
+ Return TQLabel used by this widget.
*/
- QLabel *label();
+ TQLabel *label();
/**
- Return QSpinBox used by this widget.
+ Return TQSpinBox used by this widget.
*/
KDateEdit *dateEdit();
@@ -264,7 +264,7 @@ class KDE_EXPORT KPrefsWidDate : public KPrefsWid
private:
KConfigSkeleton::ItemDateTime *mItem;
- QLabel *mLabel;
+ TQLabel *mLabel;
KDateEdit *mDateEdit;
};
@@ -286,16 +286,16 @@ class KDE_EXPORT KPrefsWidColor : public KPrefsWid
@param item The KConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidColor( KConfigSkeleton::ItemColor *item, QWidget *parent );
+ KPrefsWidColor( KConfigSkeleton::ItemColor *item, TQWidget *parent );
/**
Destruct color setting widget.
*/
~KPrefsWidColor();
/**
- Return QLabel for the button
+ Return TQLabel for the button
*/
- QLabel *label();
+ TQLabel *label();
/**
Return button opening the color dialog.
*/
@@ -307,7 +307,7 @@ class KDE_EXPORT KPrefsWidColor : public KPrefsWid
private:
KConfigSkeleton::ItemColor *mItem;
- QLabel *mLabel;
+ TQLabel *mLabel;
KColorButton *mButton;
};
@@ -330,24 +330,24 @@ class KDE_EXPORT KPrefsWidFont : public KPrefsWid
@param sampleText Sample text for previewing the selected font.
*/
KPrefsWidFont( KConfigSkeleton::ItemFont *item,
- QWidget *parent, const QString &sampleText );
+ TQWidget *parent, const TQString &sampleText );
/**
Destruct font setting widget.
*/
~KPrefsWidFont();
/**
- Return QLabel.
+ Return TQLabel.
*/
- QLabel *label();
+ TQLabel *label();
/**
- Return QFrame used as preview field.
+ Return TQFrame used as preview field.
*/
- QFrame *preview();
+ TQFrame *preview();
/**
Return button opening the font dialog.
*/
- QPushButton *button();
+ TQPushButton *button();
void readConfig();
void writeConfig();
@@ -358,9 +358,9 @@ class KDE_EXPORT KPrefsWidFont : public KPrefsWid
private:
KConfigSkeleton::ItemFont *mItem;
- QLabel *mLabel;
- QLabel *mPreview;
- QPushButton *mButton;
+ TQLabel *mLabel;
+ TQLabel *mPreview;
+ TQPushButton *mButton;
};
/**
@@ -384,7 +384,7 @@ class KDE_EXPORT KPrefsWidRadios : public KPrefsWid
@param item The KConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidRadios( KConfigSkeleton::ItemEnum *item, QWidget *parent );
+ KPrefsWidRadios( KConfigSkeleton::ItemEnum *item, TQWidget *parent );
virtual ~KPrefsWidRadios();
/**
@@ -393,23 +393,23 @@ class KDE_EXPORT KPrefsWidRadios : public KPrefsWid
@param text Text of the button.
@param whatsThis What's This help for the button.
*/
- void addRadio( const QString &text,
- const QString &whatsThis = QString::null );
+ void addRadio( const TQString &text,
+ const TQString &whatsThis = TQString::null );
/**
Return the box widget used by this widget.
*/
- QButtonGroup *groupBox();
+ TQButtonGroup *groupBox();
void readConfig();
void writeConfig();
- QValueList<QWidget *> widgets() const;
+ TQValueList<TQWidget *> widgets() const;
private:
KConfigSkeleton::ItemEnum *mItem;
- QButtonGroup *mBox;
+ TQButtonGroup *mBox;
};
/**
@@ -432,18 +432,18 @@ class KDE_EXPORT KPrefsWidCombo : public KPrefsWid
@param item The KConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidCombo( KConfigSkeleton::ItemEnum *item, QWidget *parent );
+ KPrefsWidCombo( KConfigSkeleton::ItemEnum *item, TQWidget *parent );
virtual ~KPrefsWidCombo();
void readConfig();
void writeConfig();
- QComboBox *comboBox();
- QValueList<QWidget *> widgets() const;
+ TQComboBox *comboBox();
+ TQValueList<TQWidget *> widgets() const;
private:
KConfigSkeleton::ItemEnum *mItem;
- QComboBox *mCombo;
+ TQComboBox *mCombo;
};
@@ -466,32 +466,32 @@ class KDE_EXPORT KPrefsWidString : public KPrefsWid
@param parent Parent widget.
@param echomode Describes how a line edit should display its contents.
*/
- KPrefsWidString( KConfigSkeleton::ItemString *item, QWidget *parent,
- QLineEdit::EchoMode echomode=QLineEdit::Normal );
+ KPrefsWidString( KConfigSkeleton::ItemString *item, TQWidget *parent,
+ TQLineEdit::EchoMode echomode=TQLineEdit::Normal );
/**
Destructor.
*/
virtual ~KPrefsWidString();
/**
- Return QLabel used by this widget.
+ Return TQLabel used by this widget.
*/
- QLabel *label();
+ TQLabel *label();
/**
- Return QLineEdit used by this widget.
+ Return TQLineEdit used by this widget.
*/
- QLineEdit *lineEdit();
+ TQLineEdit *lineEdit();
void readConfig();
void writeConfig();
- QValueList<QWidget *> widgets() const;
+ TQValueList<TQWidget *> widgets() const;
private:
KConfigSkeleton::ItemString *mItem;
- QLabel *mLabel;
- QLineEdit *mEdit;
+ TQLabel *mLabel;
+ TQLineEdit *mEdit;
};
@@ -514,31 +514,31 @@ class KDE_EXPORT KPrefsWidPath : public KPrefsWid
@param filter URLRequester filter
@param mode Describes how a line edit should display its contents.
*/
- KPrefsWidPath( KConfigSkeleton::ItemPath *item, QWidget *parent,
- const QString &filter = QString::null, uint mode = KFile::File );
+ KPrefsWidPath( KConfigSkeleton::ItemPath *item, TQWidget *parent,
+ const TQString &filter = TQString::null, uint mode = KFile::File );
/**
Destructor.
*/
virtual ~KPrefsWidPath();
/**
- Return QLabel used by this widget.
+ Return TQLabel used by this widget.
*/
- QLabel *label();
+ TQLabel *label();
/**
- Return QLineEdit used by this widget.
+ Return TQLineEdit used by this widget.
*/
KURLRequester *urlRequester();
void readConfig();
void writeConfig();
- QValueList<QWidget *> widgets() const;
+ TQValueList<TQWidget *> widgets() const;
private:
KConfigSkeleton::ItemPath *mItem;
- QLabel *mLabel;
+ TQLabel *mLabel;
KURLRequester *mURLRequester;
};
@@ -579,7 +579,7 @@ class KDE_EXPORT KPrefsWidManager
@param parent Parent widget.
*/
KPrefsWidBool *addWidBool( KConfigSkeleton::ItemBool *item,
- QWidget *parent );
+ TQWidget *parent );
/**
Register a @ref KPrefsWidInt object.
@@ -588,7 +588,7 @@ class KDE_EXPORT KPrefsWidManager
@param parent Parent widget.
*/
KPrefsWidInt *addWidInt( KConfigSkeleton::ItemInt *item,
- QWidget *parent );
+ TQWidget *parent );
/**
Register a @ref KPrefsWidDate object.
@@ -597,7 +597,7 @@ class KDE_EXPORT KPrefsWidManager
@param parent Parent widget.
*/
KPrefsWidDate *addWidDate( KConfigSkeleton::ItemDateTime *item,
- QWidget *parent );
+ TQWidget *parent );
/**
Register a @ref KPrefsWidTime object.
@@ -606,7 +606,7 @@ class KDE_EXPORT KPrefsWidManager
@param parent Parent widget.
*/
KPrefsWidTime *addWidTime( KConfigSkeleton::ItemDateTime *item,
- QWidget *parent );
+ TQWidget *parent );
/**
Register a @ref KPrefsWidDuration object.
@@ -615,7 +615,7 @@ class KDE_EXPORT KPrefsWidManager
@param parent Parent widget.
*/
KPrefsWidDuration *addWidDuration( KConfigSkeleton::ItemDateTime *item,
- QWidget *parent );
+ TQWidget *parent );
/**
Register a @ref KPrefsWidColor object.
@@ -624,7 +624,7 @@ class KDE_EXPORT KPrefsWidManager
@param parent Parent widget.
*/
KPrefsWidColor *addWidColor( KConfigSkeleton::ItemColor *item,
- QWidget *parent );
+ TQWidget *parent );
/**
Register a @ref KPrefsWidRadios object. The choices represented by the
@@ -634,7 +634,7 @@ class KDE_EXPORT KPrefsWidManager
@param parent Parent widget.
*/
KPrefsWidRadios *addWidRadios( KConfigSkeleton::ItemEnum *item,
- QWidget *parent );
+ TQWidget *parent );
/**
Register a @ref KPrefsWidCombo object. The choices represented by the
@@ -644,7 +644,7 @@ class KDE_EXPORT KPrefsWidManager
@param parent Parent widget.
*/
KPrefsWidCombo *addWidCombo( KConfigSkeleton::ItemEnum *item,
- QWidget *parent );
+ TQWidget *parent );
/**
Register a @ref KPrefsWidString object.
@@ -653,7 +653,7 @@ class KDE_EXPORT KPrefsWidManager
@param parent Parent widget.
*/
KPrefsWidString *addWidString( KConfigSkeleton::ItemString *item,
- QWidget *parent );
+ TQWidget *parent );
/**
Register a path @ref KPrefsWidPath object.
@@ -663,18 +663,18 @@ class KDE_EXPORT KPrefsWidManager
@param filter URLRequester filter
@param mode URLRequester mode
*/
- KPrefsWidPath *addWidPath ( KConfigSkeleton::ItemPath *item, QWidget *parent,
- const QString &filter = QString::null,
+ KPrefsWidPath *addWidPath ( KConfigSkeleton::ItemPath *item, TQWidget *parent,
+ const TQString &filter = TQString::null,
uint mode = KFile::File );
/**
- Register a password @ref KPrefsWidString object, with echomode set to QLineEdit::Password.
+ Register a password @ref KPrefsWidString object, with echomode set to TQLineEdit::Password.
@param item The KConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
KPrefsWidString *addWidPassword ( KConfigSkeleton::ItemString *item,
- QWidget *parent );
+ TQWidget *parent );
/**
Register a @ref KPrefsWidFont object.
@@ -685,7 +685,7 @@ class KDE_EXPORT KPrefsWidManager
@param sampleText Sample text for previewing the selected font.
*/
KPrefsWidFont *addWidFont( KConfigSkeleton::ItemFont *item,
- QWidget *parent, const QString &sampleText );
+ TQWidget *parent, const TQString &sampleText );
/** Set all widgets to default values. */
void setWidDefaults();
@@ -699,7 +699,7 @@ class KDE_EXPORT KPrefsWidManager
private:
KConfigSkeleton *mPrefs;
- QPtrList<KPrefsWid> mPrefsWids;
+ TQPtrList<KPrefsWid> mPrefsWids;
};
@@ -727,7 +727,7 @@ class KDE_EXPORT KPrefsDialog : public KDialogBase, public KPrefsWidManager
@param name Widget name.
@param modal true, if dialog has to be modal, false for non-modal.
*/
- KPrefsDialog( KConfigSkeleton *prefs, QWidget *parent = 0, char *name = 0,
+ KPrefsDialog( KConfigSkeleton *prefs, TQWidget *parent = 0, char *name = 0,
bool modal = false );
/**
Destructor.
@@ -772,7 +772,7 @@ class KDE_EXPORT KPrefsModule : public KCModule, public KPrefsWidManager
{
Q_OBJECT
public:
- KPrefsModule( KConfigSkeleton *, QWidget *parent = 0, const char *name = 0 );
+ KPrefsModule( KConfigSkeleton *, TQWidget *parent = 0, const char *name = 0 );
virtual void addWid( KPrefsWid * );