-rw-r--r-- | libkdepim/kprefsdialog.h | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/libkdepim/kprefsdialog.h b/libkdepim/kprefsdialog.h index dceab01..ad13b78 100644 --- a/libkdepim/kprefsdialog.h +++ b/libkdepim/kprefsdialog.h @@ -46,7 +46,7 @@ class QButtonGroup; This class provides the interface for the preferences widgets used by KPrefsDialog. */ -class KPrefsWid +class KPrefsDialogWid { public: /** @@ -67,7 +67,7 @@ class KPrefsWid This class provides a widget for configuring bool values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management. */ -class KPrefsWidBool : public KPrefsWid +class KPrefsDialogWidBool : public KPrefsDialogWid { public: /** @@ -77,7 +77,7 @@ class KPrefsWidBool : public KPrefsWid @param reference Pointer to variable read and written by this widget. @param parent Parent widget. */ - KPrefsWidBool(const QString &text,bool *reference,QWidget *parent); + KPrefsDialogWidBool(const QString &text,bool *reference,QWidget *parent); /** Return the QCheckbox used by this widget. @@ -99,7 +99,7 @@ class KPrefsWidBool : public KPrefsWid This class provides a widget for configuring time values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management. */ -class KPrefsWidTime : public KPrefsWid +class KPrefsDialogWidTime : public KPrefsDialogWid { public: /** @@ -109,7 +109,7 @@ class KPrefsWidTime : public KPrefsWid @param reference Pointer to variable read and written by this widget. @param parent Parent widget. */ - KPrefsWidTime(const QString &text,int *reference,QWidget *parent); + KPrefsDialogWidTime(const QString &text,int *reference,QWidget *parent); /** Return QLabel used by this widget. @@ -136,7 +136,7 @@ class KPrefsWidTime : public KPrefsWid This class provides a widget for configuring color values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management. */ -class KPrefsWidColor : public QObject, public KPrefsWid +class KPrefsDialogWidColor : public QObject, public KPrefsDialogWid { Q_OBJECT public: @@ -148,11 +148,11 @@ class KPrefsWidColor : public QObject, public KPrefsWid @param reference Pointer to variable read and written by this widget. @param parent Parent widget. */ - KPrefsWidColor(const QString &text,QColor *reference,QWidget *parent); + KPrefsDialogWidColor(const QString &text,QColor *reference,QWidget *parent); /** Destruct color setting widget. */ - ~KPrefsWidColor(); + ~KPrefsDialogWidColor(); /** Return QLabel for the button @@ -179,7 +179,7 @@ class KPrefsWidColor : public QObject, public KPrefsWid This class provides a widget for configuring font values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management. */ -class KPrefsWidFont : public QObject, public KPrefsWid +class KPrefsDialogWidFont : public QObject, public KPrefsDialogWid { Q_OBJECT public: @@ -191,12 +191,12 @@ class KPrefsWidFont : public QObject, public KPrefsWid @param reference Pointer to variable read and written by this widget. @param parent Parent widget. */ - KPrefsWidFont(const QString &sampleText,const QString &labelText, + KPrefsDialogWidFont(const QString &sampleText,const QString &labelText, QFont *reference,QWidget *parent); /** Destruct font setting widget. */ - ~KPrefsWidFont(); + ~KPrefsDialogWidFont(); /** Return label. @@ -235,7 +235,7 @@ class KPrefsWidFont : public QObject, public KPrefsWid radio button. The position of the button is defined by the sequence of @ref addRadio() calls, starting with 0. */ -class KPrefsWidRadios : public KPrefsWid +class KPrefsDialogWidRadios : public KPrefsDialogWid { public: /** @@ -246,8 +246,8 @@ class KPrefsWidRadios : public KPrefsWid @param reference Pointer to variable read and written by this widget. @param parent Parent widget. */ - KPrefsWidRadios(const QString &text,int *reference,QWidget *parent); - virtual ~KPrefsWidRadios(); + KPrefsDialogWidRadios(const QString &text,int *reference,QWidget *parent); + virtual ~KPrefsDialogWidRadios(); /** Add a radio button. @@ -277,7 +277,7 @@ class KPrefsWidRadios : public KPrefsWid This class provides a widget for configuring string values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management. */ -class KPrefsWidString : public KPrefsWid +class KPrefsDialogWidString : public KPrefsDialogWid { public: /** @@ -287,11 +287,11 @@ class KPrefsWidString : public KPrefsWid @param reference Pointer to variable read and written by this widget. @param parent Parent widget. */ - KPrefsWidString(const QString &text,QString *reference,QWidget *parent,QLineEdit::EchoMode echomode=QLineEdit::Normal); + KPrefsDialogWidString(const QString &text,QString *reference,QWidget *parent,QLineEdit::EchoMode echomode=QLineEdit::Normal); /** Destructor. */ - virtual ~KPrefsWidString(); + virtual ~KPrefsDialogWidString(); /** Return label used by this widget. @@ -320,7 +320,7 @@ class KPrefsWidString : public KPrefsWid subclass it and add the code to create the actual configuration widgets and do the layout management. - KPrefsDialog provides functions to add subclasses of @ref KPrefsWid. For + KPrefsDialog provides functions to add subclasses of @ref KPrefsDialogWid. For these widgets the reading, writing and setting to default values is handled automatically. Custom widgets have to be handled in the functions @ref usrReadConfig() and @ref usrWriteConfig(). @@ -344,66 +344,66 @@ class KPrefsDialog : public KDialogBase virtual ~KPrefsDialog(); /** - Register a custom KPrefsWid object. + Register a custom KPrefsDialogWid object. */ - void addWid(KPrefsWid *); + void addWid(KPrefsDialogWid *); /** - Register a @ref KPrefsWidBool object. + Register a @ref KPrefsDialogWidBool object. @param text Text of bool widget. @param reference Reference to variable storing the setting. @param parent Parent widget. */ - KPrefsWidBool *addWidBool(const QString &text,bool *reference,QWidget *parent); + KPrefsDialogWidBool *addWidBool(const QString &text,bool *reference,QWidget *parent); /** - Register a @ref KPrefsWidTime object. + Register a @ref KPrefsDialogWidTime object. @param text Text of time widget. @param reference Reference to variable storing the setting. @param parent Parent widget. */ - KPrefsWidTime *addWidTime(const QString &text,int *reference,QWidget *parent); + KPrefsDialogWidTime *addWidTime(const QString &text,int *reference,QWidget *parent); /** - Register a @ref KPrefsWidColor object. + Register a @ref KPrefsDialogWidColor object. @param text Text of color widget. @param reference Reference to variable storing the setting. @param parent Parent widget. */ - KPrefsWidColor *addWidColor(const QString &text,QColor *reference,QWidget *parent); + KPrefsDialogWidColor *addWidColor(const QString &text,QColor *reference,QWidget *parent); /** - Register a @ref KPrefsWidRadios object. + Register a @ref KPrefsDialogWidRadios object. @param text Text of radio button box widget. @param reference Reference to variable storing the setting. @param parent Parent widget. */ - KPrefsWidRadios *addWidRadios(const QString &text,int *reference,QWidget *parent); + KPrefsDialogWidRadios *addWidRadios(const QString &text,int *reference,QWidget *parent); /** - Register a @ref KPrefsWidString object. + Register a @ref KPrefsDialogWidString object. @param text Text of string widget. @param reference Reference to variable storing the setting. @param parent Parent widget. */ - KPrefsWidString *addWidString(const QString &text,QString *reference,QWidget *parent); + KPrefsDialogWidString *addWidString(const QString &text,QString *reference,QWidget *parent); /** - Register a password @ref KPrefsWidString object, with echomode set to QLineEdit::Password. + Register a password @ref KPrefsDialogWidString object, with echomode set to QLineEdit::Password. @param text Text of string widget. @param reference Reference to variable storing the setting. @param parent Parent widget. */ - KPrefsWidString *addWidPassword (const QString &text,QString *reference,QWidget *parent); + KPrefsDialogWidString *addWidPassword (const QString &text,QString *reference,QWidget *parent); /** - Register a @ref KPrefsWidFont object. + Register a @ref KPrefsDialogWidFont object. @param sampleText Sample text of font widget. @param buttonText Button text of font widget. @param reference Reference to variable storing the setting. @param parent Parent widget. */ - KPrefsWidFont *addWidFont(const QString &sampleText,const QString &buttonText, + KPrefsDialogWidFont *addWidFont(const QString &sampleText,const QString &buttonText, QFont *reference,QWidget *parent); public slots: @@ -440,7 +440,7 @@ class KPrefsDialog : public KDialogBase private: KPrefs *mPrefs; - QPtrList<KPrefsWid> mPrefsWids; + QPtrList<KPrefsDialogWid> mPrefsWids; }; #endif |