From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/style/kcmstyle.h | 114 +++++++++++++++++++++++----------------------- 1 file changed, 57 insertions(+), 57 deletions(-) (limited to 'kcontrol/style/kcmstyle.h') 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 -#include +#include +#include #include @@ -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 styleEntries; - QMap nameToStyleKey; + TQDict styleEntries; + TQMap 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 -- cgit v1.2.1