diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/background/bgadvanced.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/background/bgadvanced.h')
-rw-r--r-- | kcontrol/background/bgadvanced.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/kcontrol/background/bgadvanced.h b/kcontrol/background/bgadvanced.h index 6ede665a1..8c2a0b801 100644 --- a/kcontrol/background/bgadvanced.h +++ b/kcontrol/background/bgadvanced.h @@ -23,9 +23,9 @@ #ifndef BGADVANCED_H #define BGADVANCED_H -#include <qdict.h> -#include <qlistview.h> -#include <qstringlist.h> +#include <tqdict.h> +#include <tqlistview.h> +#include <tqstringlist.h> #include <kdialogbase.h> @@ -40,14 +40,14 @@ class BGAdvancedDialog : public KDialogBase { Q_OBJECT public: - BGAdvancedDialog(KBackgroundRenderer *_r, QWidget *parent, bool m_multidesktop); + BGAdvancedDialog(KBackgroundRenderer *_r, TQWidget *parent, bool m_multidesktop); void setCacheSize(int s); int cacheSize(); - QColor textColor(); - void setTextColor(const QColor &color); - QColor textBackgroundColor(); - void setTextBackgroundColor(const QColor &color); + TQColor textColor(); + void setTextColor(const TQColor &color); + TQColor textBackgroundColor(); + void setTextBackgroundColor(const TQColor &color); bool shadowEnabled(); void setShadowEnabled(bool enabled); void setTextLines(int lines); @@ -59,7 +59,7 @@ public: void makeReadOnly(); - QString backgroundProgram() const; + TQString backgroundProgram() const; int backgroundMode() const; public slots: @@ -68,13 +68,13 @@ public slots: void slotModify(); protected: - void addProgram(const QString &name); - void removeProgram(const QString &name); - void selectProgram(const QString &name); + void addProgram(const TQString &name); + void removeProgram(const TQString &name); + void selectProgram(const TQString &name); protected slots: - void slotProgramItemClicked(QListViewItem *item); - void slotProgramItemDoubleClicked(QListViewItem *item); + void slotProgramItemClicked(TQListViewItem *item); + void slotProgramItemDoubleClicked(TQListViewItem *item); void slotProgramChanged(); void slotEnableProgram(bool b); @@ -83,9 +83,9 @@ private: BGAdvancedBase *dlg; - QWidget *m_pMonitor; - QDict<QListViewItem> m_programItems; - QString m_selectedProgram; + TQWidget *m_pMonitor; + TQDict<TQListViewItem> m_programItems; + TQString m_selectedProgram; int m_oldBackgroundMode; int m_backgroundMode; }; @@ -98,21 +98,21 @@ class KProgramEditDialog: public KDialogBase Q_OBJECT public: - KProgramEditDialog(const QString &program=QString::null, QWidget *parent=0L, + KProgramEditDialog(const TQString &program=TQString::null, TQWidget *parent=0L, char *name=0L); /** The program name is here in case the user changed it */ - QString program()const; + TQString program()const; public slots: void slotOk(); private: - QString m_Program; - QLineEdit *m_NameEdit, *m_CommentEdit; - QLineEdit *m_ExecEdit, *m_CommandEdit; - QLineEdit *m_PreviewEdit; - QSpinBox *m_RefreshEdit; + TQString m_Program; + TQLineEdit *m_NameEdit, *m_CommentEdit; + TQLineEdit *m_ExecEdit, *m_CommandEdit; + TQLineEdit *m_PreviewEdit; + TQSpinBox *m_RefreshEdit; KBackgroundProgram *m_Prog; }; |