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/style/kcmstyle.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/style/kcmstyle.h')
-rw-r--r-- | kcontrol/style/kcmstyle.h | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/kcontrol/style/kcmstyle.h b/kcontrol/style/kcmstyle.h index 6f6da6d1c..17d3cfdfa 100644 --- a/kcontrol/style/kcmstyle.h +++ b/kcontrol/style/kcmstyle.h @@ -27,8 +27,8 @@ #ifndef __KCMSTYLE_H #define __KCMSTYLE_H -#include <qstring.h> -#include <qtimer.h> +#include <tqstring.h> +#include <tqtimer.h> #include <kcmodule.h> @@ -53,9 +53,9 @@ class StyleConfigDialog; class WidgetPreview; struct StyleEntry { - QString name; - QString desc; - QString configPage; + TQString name; + TQString desc; + TQString configPage; bool hidden; }; @@ -64,7 +64,7 @@ class KCMStyle : public KCModule Q_OBJECT public: - KCMStyle( QWidget* parent = 0, const char* name = 0 ); + KCMStyle( TQWidget* parent = 0, const char* name = 0 ); ~KCMStyle(); virtual void load(); @@ -73,9 +73,9 @@ public: virtual void defaults(); protected: - bool findStyle( const QString& str, int& combobox_item ); - void switchStyle(const QString& styleName, bool force = false); - void setStyleRecursive(QWidget* w, QStyle* s); + bool findStyle( const TQString& str, int& combobox_item ); + void switchStyle(const TQString& styleName, bool force = false); + void setStyleRecursive(TQWidget* w, TQStyle* s); void loadStyle( KConfig& config ); void loadEffects( KConfig& config ); @@ -96,68 +96,68 @@ protected slots: void menuEffectTypeChanged(); private: - QString currentStyle(); + TQString currentStyle(); bool m_bEffectsDirty, m_bStyleDirty, m_bToolbarsDirty; - QDict<StyleEntry> styleEntries; - QMap <QString,QString> nameToStyleKey; + TQDict<StyleEntry> styleEntries; + TQMap <TQString,TQString> nameToStyleKey; - QVBoxLayout* mainLayout; - QTabWidget* tabWidget; - QWidget *page1, *page2, *page3; - QVBoxLayout* page1Layout; - QVBoxLayout* page2Layout; - QVBoxLayout* page3Layout; + TQVBoxLayout* mainLayout; + TQTabWidget* tabWidget; + TQWidget *page1, *page2, *page3; + TQVBoxLayout* page1Layout; + TQVBoxLayout* page2Layout; + TQVBoxLayout* page3Layout; // Page1 widgets - QGroupBox* gbWidgetStyle; - QVBoxLayout* gbWidgetStyleLayout; - QHBoxLayout* hbLayout; + TQGroupBox* gbWidgetStyle; + TQVBoxLayout* gbWidgetStyleLayout; + TQHBoxLayout* hbLayout; KComboBox* cbStyle; - QPushButton* pbConfigStyle; - QLabel* lblStyleDesc; + TQPushButton* pbConfigStyle; + TQLabel* lblStyleDesc; StylePreview* stylePreview; - QStyle* appliedStyle; - QPalette palette; + TQStyle* appliedStyle; + TQPalette palette; // Page2 widgets - QCheckBox* cbEnableEffects; - - QFrame* containerFrame; - QGridLayout* containerLayout; - QComboBox* comboTooltipEffect; - QComboBox* comboRubberbandEffect; - QComboBox* comboComboEffect; - QComboBox* comboMenuEffect; - QComboBox* comboMenuHandle; - - QLabel* lblTooltipEffect; - QLabel* lblRubberbandEffect; - QLabel* lblComboEffect; - QLabel* lblMenuEffect; - QLabel* lblMenuHandle; - QSpacerItem* comboSpacer; - - QFrame* menuContainer; - QGridLayout* menuContainerLayout; + TQCheckBox* cbEnableEffects; + + TQFrame* containerFrame; + TQGridLayout* containerLayout; + TQComboBox* comboTooltipEffect; + TQComboBox* comboRubberbandEffect; + TQComboBox* comboComboEffect; + TQComboBox* comboMenuEffect; + TQComboBox* comboMenuHandle; + + TQLabel* lblTooltipEffect; + TQLabel* lblRubberbandEffect; + TQLabel* lblComboEffect; + TQLabel* lblMenuEffect; + TQLabel* lblMenuHandle; + TQSpacerItem* comboSpacer; + + TQFrame* menuContainer; + TQGridLayout* menuContainerLayout; MenuPreview* menuPreview; - QVBox* sliderBox; - QSlider* slOpacity; - QComboBox* comboMenuEffectType; - QLabel* lblMenuEffectType; - QLabel* lblMenuOpacity; - QCheckBox* cbMenuShadow; + TQVBox* sliderBox; + TQSlider* slOpacity; + TQComboBox* comboMenuEffectType; + TQLabel* lblMenuEffectType; + TQLabel* lblMenuOpacity; + TQCheckBox* cbMenuShadow; // Page3 widgets - QGroupBox* gbVisualAppearance; + TQGroupBox* gbVisualAppearance; - QCheckBox* cbHoverButtons; - QCheckBox* cbTransparentToolbars; - QCheckBox* cbEnableTooltips; - QComboBox* comboToolbarIcons; + TQCheckBox* cbHoverButtons; + TQCheckBox* cbTransparentToolbars; + TQCheckBox* cbEnableTooltips; + TQComboBox* comboToolbarIcons; - QCheckBox* cbIconsOnButtons; - QCheckBox* cbTearOffHandles; + TQCheckBox* cbIconsOnButtons; + TQCheckBox* cbTearOffHandles; }; #endif // __KCMSTYLE_H |