summaryrefslogtreecommitdiffstats
path: root/libtdepim/kprefsdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/kprefsdialog.h')
-rw-r--r--libtdepim/kprefsdialog.h126
1 files changed, 63 insertions, 63 deletions
diff --git a/libtdepim/kprefsdialog.h b/libtdepim/kprefsdialog.h
index 4ef604ee2..eebdb9394 100644
--- a/libtdepim/kprefsdialog.h
+++ b/libtdepim/kprefsdialog.h
@@ -95,10 +95,10 @@ class KDE_EXPORT KPrefsWidBool : public KPrefsWid
/**
Create a bool value control element consisting of a TQCheckbox.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidBool( KConfigSkeleton::ItemBool *item, TQWidget *parent );
+ KPrefsWidBool( TDEConfigSkeleton::ItemBool *item, TQWidget *parent );
/**
Return the TQCheckbox used by this control element.
@@ -111,7 +111,7 @@ class KDE_EXPORT KPrefsWidBool : public KPrefsWid
TQValueList<TQWidget *> widgets() const;
private:
- KConfigSkeleton::ItemBool *mItem;
+ TDEConfigSkeleton::ItemBool *mItem;
TQCheckBox *mCheck;
};
@@ -130,10 +130,10 @@ class KDE_EXPORT KPrefsWidInt : public KPrefsWid
Create a integer value control element consisting of a label and a
spinbox.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidInt( KConfigSkeleton::ItemInt *item, TQWidget *parent );
+ KPrefsWidInt( TDEConfigSkeleton::ItemInt *item, TQWidget *parent );
/**
Return TQLabel used by this control element.
@@ -151,7 +151,7 @@ class KDE_EXPORT KPrefsWidInt : public KPrefsWid
TQValueList<TQWidget *> widgets() const;
private:
- KConfigSkeleton::ItemInt *mItem;
+ TDEConfigSkeleton::ItemInt *mItem;
TQLabel *mLabel;
TQSpinBox *mSpin;
@@ -170,10 +170,10 @@ class KDE_EXPORT KPrefsWidTime : public KPrefsWid
/**
Create a time value control element consisting of a label and a spinbox.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidTime( KConfigSkeleton::ItemDateTime *item, TQWidget *parent );
+ KPrefsWidTime( TDEConfigSkeleton::ItemDateTime *item, TQWidget *parent );
/**
Return TQLabel used by this widget.
@@ -188,7 +188,7 @@ class KDE_EXPORT KPrefsWidTime : public KPrefsWid
void writeConfig();
private:
- KConfigSkeleton::ItemDateTime *mItem;
+ TDEConfigSkeleton::ItemDateTime *mItem;
TQLabel *mLabel;
KTimeEdit *mTimeEdit;
@@ -208,10 +208,10 @@ class KDE_EXPORT KPrefsWidDuration : public KPrefsWid
Create a duration value control element consisting of a label and a
spinbox.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidDuration( KConfigSkeleton::ItemDateTime *item, TQWidget *parent );
+ KPrefsWidDuration( TDEConfigSkeleton::ItemDateTime *item, TQWidget *parent );
/**
Return TQLabel used by this widget.
@@ -226,7 +226,7 @@ class KDE_EXPORT KPrefsWidDuration : public KPrefsWid
void writeConfig();
private:
- KConfigSkeleton::ItemDateTime *mItem;
+ TDEConfigSkeleton::ItemDateTime *mItem;
TQLabel *mLabel;
TQTimeEdit *mTimeEdit;
@@ -245,10 +245,10 @@ class KDE_EXPORT KPrefsWidDate : public KPrefsWid
/**
Create a time value control element consisting of a label and a date box.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidDate( KConfigSkeleton::ItemDateTime *item, TQWidget *parent );
+ KPrefsWidDate( TDEConfigSkeleton::ItemDateTime *item, TQWidget *parent );
/**
Return TQLabel used by this widget.
@@ -263,7 +263,7 @@ class KDE_EXPORT KPrefsWidDate : public KPrefsWid
void writeConfig();
private:
- KConfigSkeleton::ItemDateTime *mItem;
+ TDEConfigSkeleton::ItemDateTime *mItem;
TQLabel *mLabel;
KDateEdit *mDateEdit;
@@ -285,10 +285,10 @@ class KDE_EXPORT KPrefsWidColor : public KPrefsWid
Create a color value control element consisting of a test field and a
button for opening a color dialog.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidColor( KConfigSkeleton::ItemColor *item, TQWidget *parent );
+ KPrefsWidColor( TDEConfigSkeleton::ItemColor *item, TQWidget *parent );
/**
Destruct color setting widget.
*/
@@ -307,7 +307,7 @@ class KDE_EXPORT KPrefsWidColor : public KPrefsWid
void writeConfig();
private:
- KConfigSkeleton::ItemColor *mItem;
+ TDEConfigSkeleton::ItemColor *mItem;
TQLabel *mLabel;
KColorButton *mButton;
@@ -328,11 +328,11 @@ class KDE_EXPORT KPrefsWidFont : public KPrefsWid
Create a font value control element consisting of a test field and a
button for opening a font dialog.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
@param sampleText Sample text for previewing the selected font.
*/
- KPrefsWidFont( KConfigSkeleton::ItemFont *item,
+ KPrefsWidFont( TDEConfigSkeleton::ItemFont *item,
TQWidget *parent, const TQString &sampleText );
/**
Destruct font setting widget.
@@ -359,7 +359,7 @@ class KDE_EXPORT KPrefsWidFont : public KPrefsWid
void selectFont();
private:
- KConfigSkeleton::ItemFont *mItem;
+ TDEConfigSkeleton::ItemFont *mItem;
TQLabel *mLabel;
TQLabel *mPreview;
@@ -384,10 +384,10 @@ class KDE_EXPORT KPrefsWidRadios : public KPrefsWid
Create a control element for selection of an option. It consists of a box
with several radio buttons.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidRadios( KConfigSkeleton::ItemEnum *item, TQWidget *parent );
+ KPrefsWidRadios( TDEConfigSkeleton::ItemEnum *item, TQWidget *parent );
virtual ~KPrefsWidRadios();
/**
@@ -410,7 +410,7 @@ class KDE_EXPORT KPrefsWidRadios : public KPrefsWid
TQValueList<TQWidget *> widgets() const;
private:
- KConfigSkeleton::ItemEnum *mItem;
+ TDEConfigSkeleton::ItemEnum *mItem;
TQButtonGroup *mBox;
};
@@ -432,10 +432,10 @@ class KDE_EXPORT KPrefsWidCombo : public KPrefsWid
Create a control element for selection of an option. It consists of a
combo box.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidCombo( KConfigSkeleton::ItemEnum *item, TQWidget *parent );
+ KPrefsWidCombo( TDEConfigSkeleton::ItemEnum *item, TQWidget *parent );
virtual ~KPrefsWidCombo();
void readConfig();
@@ -445,7 +445,7 @@ class KDE_EXPORT KPrefsWidCombo : public KPrefsWid
TQValueList<TQWidget *> widgets() const;
private:
- KConfigSkeleton::ItemEnum *mItem;
+ TDEConfigSkeleton::ItemEnum *mItem;
TQComboBox *mCombo;
};
@@ -465,11 +465,11 @@ class KDE_EXPORT KPrefsWidString : public KPrefsWid
Create a string value control element consisting of a test label and a
line edit.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
@param echomode Describes how a line edit should display its contents.
*/
- KPrefsWidString( KConfigSkeleton::ItemString *item, TQWidget *parent,
+ KPrefsWidString( TDEConfigSkeleton::ItemString *item, TQWidget *parent,
TQLineEdit::EchoMode echomode=TQLineEdit::Normal );
/**
Destructor.
@@ -491,7 +491,7 @@ class KDE_EXPORT KPrefsWidString : public KPrefsWid
TQValueList<TQWidget *> widgets() const;
private:
- KConfigSkeleton::ItemString *mItem;
+ TDEConfigSkeleton::ItemString *mItem;
TQLabel *mLabel;
TQLineEdit *mEdit;
@@ -512,12 +512,12 @@ class KDE_EXPORT KPrefsWidPath : public KPrefsWid
Create a string value control element consisting of a test label and a
line edit.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
@param filter URLRequester filter
@param mode Describes how a line edit should display its contents.
*/
- KPrefsWidPath( KConfigSkeleton::ItemPath *item, TQWidget *parent,
+ KPrefsWidPath( TDEConfigSkeleton::ItemPath *item, TQWidget *parent,
const TQString &filter = TQString(), uint mode = KFile::File );
/**
Destructor.
@@ -539,7 +539,7 @@ class KDE_EXPORT KPrefsWidPath : public KPrefsWid
TQValueList<TQWidget *> widgets() const;
private:
- KConfigSkeleton::ItemPath *mItem;
+ TDEConfigSkeleton::ItemPath *mItem;
TQLabel *mLabel;
KURLRequester *mURLRequester;
@@ -562,13 +562,13 @@ class KDE_EXPORT KPrefsWidManager
@param prefs KPrefs object used to access te configuration.
*/
- KPrefsWidManager( KConfigSkeleton *prefs );
+ KPrefsWidManager( TDEConfigSkeleton *prefs );
/**
Destructor.
*/
virtual ~KPrefsWidManager();
- KConfigSkeleton *prefs() const { return mPrefs; }
+ TDEConfigSkeleton *prefs() const { return mPrefs; }
/**
Register a custom KPrefsWid object.
@@ -578,116 +578,116 @@ class KDE_EXPORT KPrefsWidManager
/**
Register a @ref KPrefsWidBool object.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidBool *addWidBool( KConfigSkeleton::ItemBool *item,
+ KPrefsWidBool *addWidBool( TDEConfigSkeleton::ItemBool *item,
TQWidget *parent );
/**
Register a @ref KPrefsWidInt object.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidInt *addWidInt( KConfigSkeleton::ItemInt *item,
+ KPrefsWidInt *addWidInt( TDEConfigSkeleton::ItemInt *item,
TQWidget *parent );
/**
Register a @ref KPrefsWidDate object.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidDate *addWidDate( KConfigSkeleton::ItemDateTime *item,
+ KPrefsWidDate *addWidDate( TDEConfigSkeleton::ItemDateTime *item,
TQWidget *parent );
/**
Register a @ref KPrefsWidTime object.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidTime *addWidTime( KConfigSkeleton::ItemDateTime *item,
+ KPrefsWidTime *addWidTime( TDEConfigSkeleton::ItemDateTime *item,
TQWidget *parent );
/**
Register a @ref KPrefsWidDuration object.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidDuration *addWidDuration( KConfigSkeleton::ItemDateTime *item,
+ KPrefsWidDuration *addWidDuration( TDEConfigSkeleton::ItemDateTime *item,
TQWidget *parent );
/**
Register a @ref KPrefsWidColor object.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidColor *addWidColor( KConfigSkeleton::ItemColor *item,
+ KPrefsWidColor *addWidColor( TDEConfigSkeleton::ItemColor *item,
TQWidget *parent );
/**
Register a @ref KPrefsWidRadios object. The choices represented by the
given item object are automatically added as radio buttons.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidRadios *addWidRadios( KConfigSkeleton::ItemEnum *item,
+ KPrefsWidRadios *addWidRadios( TDEConfigSkeleton::ItemEnum *item,
TQWidget *parent );
/**
Register a @ref KPrefsWidCombo object. The choices represented by the
given item object are automatically added to the combo box.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidCombo *addWidCombo( KConfigSkeleton::ItemEnum *item,
+ KPrefsWidCombo *addWidCombo( TDEConfigSkeleton::ItemEnum *item,
TQWidget *parent );
/**
Register a @ref KPrefsWidString object.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidString *addWidString( KConfigSkeleton::ItemString *item,
+ KPrefsWidString *addWidString( TDEConfigSkeleton::ItemString *item,
TQWidget *parent );
/**
Register a path @ref KPrefsWidPath object.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
@param filter URLRequester filter
@param mode URLRequester mode
*/
- KPrefsWidPath *addWidPath ( KConfigSkeleton::ItemPath *item, TQWidget *parent,
+ KPrefsWidPath *addWidPath ( TDEConfigSkeleton::ItemPath *item, TQWidget *parent,
const TQString &filter = TQString(),
uint mode = KFile::File );
/**
Register a password @ref KPrefsWidString object, with echomode set to TQLineEdit::Password.
- @param item The KConfigSkeletonItem representing the preferences entry.
+ @param item The TDEConfigSkeletonItem representing the preferences entry.
@param parent Parent widget.
*/
- KPrefsWidString *addWidPassword ( KConfigSkeleton::ItemString *item,
+ KPrefsWidString *addWidPassword ( TDEConfigSkeleton::ItemString *item,
TQWidget *parent );
/**
Register a @ref KPrefsWidFont object.
- @param item The KConfigSkeletonItem representing the preferences
+ @param item The TDEConfigSkeletonItem representing the preferences
entry.
@param parent Parent widget.
@param sampleText Sample text for previewing the selected font.
*/
- KPrefsWidFont *addWidFont( KConfigSkeleton::ItemFont *item,
+ KPrefsWidFont *addWidFont( TDEConfigSkeleton::ItemFont *item,
TQWidget *parent, const TQString &sampleText );
/** Set all widgets to default values. */
@@ -700,7 +700,7 @@ class KDE_EXPORT KPrefsWidManager
void writeWidConfig();
private:
- KConfigSkeleton *mPrefs;
+ TDEConfigSkeleton *mPrefs;
TQPtrList<KPrefsWid> mPrefsWids;
};
@@ -731,7 +731,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, TQWidget *parent = 0, char *name = 0,
+ KPrefsDialog( TDEConfigSkeleton *prefs, TQWidget *parent = 0, char *name = 0,
bool modal = false );
/**
Destructor.
@@ -772,12 +772,12 @@ class KDE_EXPORT KPrefsDialog : public KDialogBase, public KPrefsWidManager
};
-class KDE_EXPORT KPrefsModule : public KCModule, public KPrefsWidManager
+class KDE_EXPORT KPrefsModule : public TDECModule, public KPrefsWidManager
{
Q_OBJECT
public:
- KPrefsModule( KConfigSkeleton *, TQWidget *parent = 0, const char *name = 0 );
+ KPrefsModule( TDEConfigSkeleton *, TQWidget *parent = 0, const char *name = 0 );
virtual void addWid( KPrefsWid * );