diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /ksim/themeprefs.h | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksim/themeprefs.h')
-rw-r--r-- | ksim/themeprefs.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/ksim/themeprefs.h b/ksim/themeprefs.h index 8ae569e..a0a4f2b 100644 --- a/ksim/themeprefs.h +++ b/ksim/themeprefs.h @@ -21,7 +21,7 @@ #define THEMEIMPL_H #include <kurl.h> -#include <qwidget.h> +#include <tqwidget.h> class QListViewItem; class QGridLayout; @@ -41,7 +41,7 @@ namespace KSim { public: ThemeInfo() : name(0), url(0), alternatives(0) {} - ThemeInfo(const QString &name, const KURL &url, int alts=0) + ThemeInfo(const TQString &name, const KURL &url, int alts=0) : name(name), url(url), alternatives(alts) {} bool operator==(const ThemeInfo &rhs) const @@ -66,18 +66,18 @@ namespace KSim return *this; } - QString name; + TQString name; KURL url; int alternatives; }; - typedef QValueList<ThemeInfo> ThemeInfoList; + typedef TQValueList<ThemeInfo> ThemeInfoList; class ThemePrefs : public QWidget { Q_OBJECT public: - ThemePrefs(QWidget *parent, const char *name=0); + ThemePrefs(TQWidget *parent, const char *name=0); ~ThemePrefs(); public slots: @@ -87,12 +87,12 @@ namespace KSim private slots: void setCurrentTheme(const ThemeInfo &); void setThemeAlts(int); - void openURL(const QString &); + void openURL(const TQString &); void insertItems(const ThemeInfoList &); void clear(); void completed(); - void selectItem(QListViewItem *item); - void readThemes(const QString &); + void selectItem(TQListViewItem *item); + void readThemes(const TQString &); void showFontDialog(int); private: @@ -100,16 +100,16 @@ namespace KSim KURLLabel *m_urlLabel; KIntSpinBox *m_altTheme; KComboBox *m_fontsCombo; - QLabel *m_label; - QLabel *m_authorLabel; + TQLabel *m_label; + TQLabel *m_authorLabel; KSqueezedTextLabel *m_authLabel; - QLabel *m_alternateLabel; - QLabel *m_fontLabel; + TQLabel *m_alternateLabel; + TQLabel *m_fontLabel; KSeparator *m_line; ThemeInfo m_currentTheme; - QFont m_font; + TQFont m_font; ThemeInfoList m_themeList; - QGridLayout *m_themeLayout; + TQGridLayout *m_themeLayout; }; } #endif |