From 96603e8acb744f86139b900e45d030ad684b6a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 8 Apr 2016 03:06:39 +0200 Subject: Initial TQt conversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- dominoConfig/dominoconf.h | 634 +++++++++++++++++++++++----------------------- 1 file changed, 317 insertions(+), 317 deletions(-) (limited to 'dominoConfig/dominoconf.h') diff --git a/dominoConfig/dominoconf.h b/dominoConfig/dominoconf.h index 5f9915e..55312a2 100644 --- a/dominoConfig/dominoconf.h +++ b/dominoConfig/dominoconf.h @@ -31,7 +31,7 @@ DEALINGS IN THE SOFTWARE. #define DOMINO_CONF_H #include <../domino/domino.h> -#include +#include class DSpinBox; @@ -53,175 +53,175 @@ struct DSurface; class SchemeEntry { public: - SchemeEntry(const QString &_fileName, const QString &_schemeName, const bool &_deletable) + SchemeEntry(const TQString &_fileName, const TQString &_schemeName, const bool &_deletable) : fileName(_fileName), schemeName(_schemeName), deletable(_deletable) { } - QString getSchemeName() const { return schemeName; } - QString getFileName() const { return fileName; } + TQString getSchemeName() const { return schemeName; } + TQString getFileName() const { return fileName; } bool isDeletable() const { return deletable; } private: - QString fileName; - QString schemeName; + TQString fileName; + TQString schemeName; bool deletable; }; -class SchemeList : public QPtrList { +class SchemeList : public TQPtrList { public: SchemeList() { setAutoDelete(true); } }; -class DominoStyleConfig: public QWidget +class DominoStyleConfig: public TQWidget { Q_OBJECT public: - DominoStyleConfig(QWidget* parent); + DominoStyleConfig(TQWidget* parent); ~DominoStyleConfig(); - QFrame* frame3; - QListBox* listBox1; - QHeader* header1; + TQFrame* frame3; + TQListBox* listBox1; + TQHeader* header1; DominoKTabWidget* tabWidget2; - QWidget* tab1; - QGroupBox* groupBox22; - QLabel* textLabel1_2; + TQWidget* tab1; + TQGroupBox* groupBox22; + TQLabel* textLabel1_2; KColorButton* kColorButton27_2; - QGroupBox* groupBox10_2_2_2; - QPushButton* pushButton16; - QGroupBox* groupBox8_2_2_2; - QLabel* textLabel4_3_2_2_2; + TQGroupBox* groupBox10_2_2_2; + TQPushButton* pushButton16; + TQGroupBox* groupBox8_2_2_2; + TQLabel* textLabel4_3_2_2_2; DSpinBox* spinBox2_2_2_2_2; - QLabel* textLabel2_2_2_2_2; + TQLabel* textLabel2_2_2_2_2; KColorButton* kColorButton1_2_2_2_2; - QLabel* textLabel3_3_2_2_2; + TQLabel* textLabel3_3_2_2_2; DSpinBox* spinBox1_2_2_2_2; - QLabel* textLabel1_4_2_2_2; + TQLabel* textLabel1_4_2_2_2; KColorButton* kColorButton2_4_2_2_2; - QGroupBox* groupBox9_2_2_2; - QLabel* textLabel4_4_2_2_2; + TQGroupBox* groupBox9_2_2_2; + TQLabel* textLabel4_4_2_2_2; DSpinBox* spinBox2_3_2_2_2; - QLabel* textLabel3_4_2_2_2; + TQLabel* textLabel3_4_2_2_2; DSpinBox* spinBox1_3_2_2_2; KColorButton* kColorButton1_3_2_2_2; KColorButton* kColorButton2_5_2_2_2; - QLabel* textLabel1_5_2_2_2; - QLabel* textLabel2_3_2_2_2; - QLabel* textLabel7_4; - QComboBox* comboBox3_4; - QPushButton* pushButton4_4; - QWidget* tab2; - QGroupBox* groupBox22_2; - QGroupBox* groupBox8_2_2_2_2; - QLabel* textLabel4_3_2_2_2_2; + TQLabel* textLabel1_5_2_2_2; + TQLabel* textLabel2_3_2_2_2; + TQLabel* textLabel7_4; + TQComboBox* comboBox3_4; + TQPushButton* pushButton4_4; + TQWidget* tab2; + TQGroupBox* groupBox22_2; + TQGroupBox* groupBox8_2_2_2_2; + TQLabel* textLabel4_3_2_2_2_2; DSpinBox* spinBox2_2_2_2_2_2; - QLabel* textLabel2_2_2_2_2_2; + TQLabel* textLabel2_2_2_2_2_2; KColorButton* kColorButton1_2_2_2_2_2; - QLabel* textLabel3_3_2_2_2_2; + TQLabel* textLabel3_3_2_2_2_2; DSpinBox* spinBox1_2_2_2_2_2; - QLabel* textLabel1_4_2_2_2_2; + TQLabel* textLabel1_4_2_2_2_2; KColorButton* kColorButton2_4_2_2_2_2; - QGroupBox* groupBox9_2_2_2_2; - QLabel* textLabel4_4_2_2_2_2; + TQGroupBox* groupBox9_2_2_2_2; + TQLabel* textLabel4_4_2_2_2_2; DSpinBox* spinBox2_3_2_2_2_2; - QLabel* textLabel3_4_2_2_2_2; + TQLabel* textLabel3_4_2_2_2_2; DSpinBox* spinBox1_3_2_2_2_2; KColorButton* kColorButton1_3_2_2_2_2; KColorButton* kColorButton2_5_2_2_2_2; - QLabel* textLabel1_5_2_2_2_2; - QLabel* textLabel2_3_2_2_2_2; - QLabel* textLabel1_2_2; + TQLabel* textLabel1_5_2_2_2_2; + TQLabel* textLabel2_3_2_2_2_2; + TQLabel* textLabel1_2_2; KColorButton* kColorButton27_2_2; - QGroupBox* groupBox10_2_2_2_2; - QComboBox* comboBox17; + TQGroupBox* groupBox10_2_2_2_2; + TQComboBox* comboBox17; DSpinBox* spinBox44; - QLabel* textLabel7_4_2; - QComboBox* comboBox3_4_2; - QPushButton* pushButton4_4_2; - QWidget* tab3; - QGroupBox* groupBox22_2_2; - QGroupBox* groupBox8_2_2_2_2_4; - QLabel* textLabel4_3_2_2_2_2_4; + TQLabel* textLabel7_4_2; + TQComboBox* comboBox3_4_2; + TQPushButton* pushButton4_4_2; + TQWidget* tab3; + TQGroupBox* groupBox22_2_2; + TQGroupBox* groupBox8_2_2_2_2_4; + TQLabel* textLabel4_3_2_2_2_2_4; DSpinBox* spinBox2_2_2_2_2_2_4; - QLabel* textLabel2_2_2_2_2_2_4; + TQLabel* textLabel2_2_2_2_2_2_4; KColorButton* kColorButton1_2_2_2_2_2_4; - QLabel* textLabel3_3_2_2_2_2_4; + TQLabel* textLabel3_3_2_2_2_2_4; DSpinBox* spinBox1_2_2_2_2_2_4; - QLabel* textLabel1_4_2_2_2_2_4; + TQLabel* textLabel1_4_2_2_2_2_4; KColorButton* kColorButton2_4_2_2_2_2_4; - QGroupBox* groupBox9_2_2_2_2_4; - QLabel* textLabel4_4_2_2_2_2_4; + TQGroupBox* groupBox9_2_2_2_2_4; + TQLabel* textLabel4_4_2_2_2_2_4; DSpinBox* spinBox2_3_2_2_2_2_4; - QLabel* textLabel3_4_2_2_2_2_4; + TQLabel* textLabel3_4_2_2_2_2_4; DSpinBox* spinBox1_3_2_2_2_2_4; KColorButton* kColorButton1_3_2_2_2_2_4; KColorButton* kColorButton2_5_2_2_2_2_4; - QLabel* textLabel1_5_2_2_2_2_4; - QLabel* textLabel2_3_2_2_2_2_4; - QGroupBox* groupBox10_2_2_2_2_4; - QScrollBar* scrollBar5; - QScrollBar* scrollBar6; + TQLabel* textLabel1_5_2_2_2_2_4; + TQLabel* textLabel2_3_2_2_2_2_4; + TQGroupBox* groupBox10_2_2_2_2_4; + TQScrollBar* scrollBar5; + TQScrollBar* scrollBar6; KColorButton* kColorButton27_2_2_2; - QLabel* textLabel1_2_2_2; - QComboBox* comboBox7; - QLabel* textLabel7_4_2_3; - QComboBox* comboBox3_4_2_3; - QPushButton* pushButton4_4_2_3; - QWidget* tab4; - QGroupBox* groupBox22_2_2_3; + TQLabel* textLabel1_2_2_2; + TQComboBox* comboBox7; + TQLabel* textLabel7_4_2_3; + TQComboBox* comboBox3_4_2_3; + TQPushButton* pushButton4_4_2_3; + TQWidget* tab4; + TQGroupBox* groupBox22_2_2_3; KColorButton* kColorButton27_2_2_2_2; - QLabel* textLabel1_2_2_2_2; - QGroupBox* groupBox10_2_2_2_2_4_3; - QGroupBox* groupBox8_2_2_2_2_4_3; - QLabel* textLabel4_3_2_2_2_2_4_3; + TQLabel* textLabel1_2_2_2_2; + TQGroupBox* groupBox10_2_2_2_2_4_3; + TQGroupBox* groupBox8_2_2_2_2_4_3; + TQLabel* textLabel4_3_2_2_2_2_4_3; DSpinBox* spinBox2_2_2_2_2_2_4_3; - QLabel* textLabel2_2_2_2_2_2_4_3; + TQLabel* textLabel2_2_2_2_2_2_4_3; KColorButton* kColorButton1_2_2_2_2_2_4_3; - QLabel* textLabel3_3_2_2_2_2_4_3; + TQLabel* textLabel3_3_2_2_2_2_4_3; DSpinBox* spinBox1_2_2_2_2_2_4_3; - QLabel* textLabel1_4_2_2_2_2_4_3; + TQLabel* textLabel1_4_2_2_2_2_4_3; KColorButton* kColorButton2_4_2_2_2_2_4_3; - QGroupBox* groupBox9_2_2_2_2_4_3; - QLabel* textLabel4_4_2_2_2_2_4_3; + TQGroupBox* groupBox9_2_2_2_2_4_3; + TQLabel* textLabel4_4_2_2_2_2_4_3; DSpinBox* spinBox2_3_2_2_2_2_4_3; - QLabel* textLabel3_4_2_2_2_2_4_3; + TQLabel* textLabel3_4_2_2_2_2_4_3; DSpinBox* spinBox1_3_2_2_2_2_4_3; KColorButton* kColorButton1_3_2_2_2_2_4_3; KColorButton* kColorButton2_5_2_2_2_2_4_3; - QLabel* textLabel1_5_2_2_2_2_4_3; - QLabel* textLabel2_3_2_2_2_2_4_3; - QLabel* textLabel7_4_2_3_3; - QComboBox* comboBox3_4_2_3_3; - QPushButton* pushButton4_4_2_3_3; - QWidget* tab5; - QGroupBox* groupBox22_2_2_3_2; - QGroupBox* groupBox8_2_2_2_2_4_3_2; - QLabel* textLabel4_3_2_2_2_2_4_3_2; + TQLabel* textLabel1_5_2_2_2_2_4_3; + TQLabel* textLabel2_3_2_2_2_2_4_3; + TQLabel* textLabel7_4_2_3_3; + TQComboBox* comboBox3_4_2_3_3; + TQPushButton* pushButton4_4_2_3_3; + TQWidget* tab5; + TQGroupBox* groupBox22_2_2_3_2; + TQGroupBox* groupBox8_2_2_2_2_4_3_2; + TQLabel* textLabel4_3_2_2_2_2_4_3_2; DSpinBox* spinBox2_2_2_2_2_2_4_3_2; - QLabel* textLabel2_2_2_2_2_2_4_3_2; + TQLabel* textLabel2_2_2_2_2_2_4_3_2; KColorButton* kColorButton1_2_2_2_2_2_4_3_2; - QLabel* textLabel3_3_2_2_2_2_4_3_2; + TQLabel* textLabel3_3_2_2_2_2_4_3_2; DSpinBox* spinBox1_2_2_2_2_2_4_3_2; - QLabel* textLabel1_4_2_2_2_2_4_3_2; + TQLabel* textLabel1_4_2_2_2_2_4_3_2; KColorButton* kColorButton2_4_2_2_2_2_4_3_2; KColorButton* kColorButton27_2_2_2_3; - QLabel* textLabel1_2_2_2_3; - QGroupBox* groupBox10_2_2_2_2_4_3_2; + TQLabel* textLabel1_2_2_2_3; + TQGroupBox* groupBox10_2_2_2_2_4_3_2; PreviewRadioButton* radioButton2; PreviewCheckBox* checkBox2; - QGroupBox* groupBox9_2_2_2_2_4_3_2; - QLabel* textLabel4_4_2_2_2_2_4_3_2; + TQGroupBox* groupBox9_2_2_2_2_4_3_2; + TQLabel* textLabel4_4_2_2_2_2_4_3_2; DSpinBox* spinBox2_3_2_2_2_2_4_3_2; - QLabel* textLabel3_4_2_2_2_2_4_3_2; + TQLabel* textLabel3_4_2_2_2_2_4_3_2; DSpinBox* spinBox1_3_2_2_2_2_4_3_2; KColorButton* kColorButton1_3_2_2_2_2_4_3_2; KColorButton* kColorButton2_5_2_2_2_2_4_3_2; - QLabel* textLabel1_5_2_2_2_2_4_3_2; - QLabel* textLabel2_3_2_2_2_2_4_3_2; - QLabel* textLabel7_4_2_3_3_2; - QComboBox* comboBox3_4_2_3_3_2; - QPushButton* pushButton4_4_2_3_3_2; + TQLabel* textLabel1_5_2_2_2_2_4_3_2; + TQLabel* textLabel2_3_2_2_2_2_4_3_2; + TQLabel* textLabel7_4_2_3_3_2; + TQComboBox* comboBox3_4_2_3_3_2; + TQPushButton* pushButton4_4_2_3_3_2; // KTabWidget *prevTopTabWidget; // KTabWidget *prevBottomTabWidget; TabWidgetIndicator* prevBottomPage1; @@ -232,51 +232,51 @@ public: TabWidgetIndicator* prevTopPage3; PreviewTabBar* tabBarBottom; PreviewTabBar* tabBarTop; - QHBoxLayout* tabComboLayout; + TQHBoxLayout* tabComboLayout; // tab 3 - load/save // KTabWidget* tabWidget3; - QWidget* tab; - QGroupBox* groupBox_ls; - QListView* listView_ls; - QPushButton* loadButton; - QPushButton* saveButton; - QPushButton* deleteButton; - QPushButton* importButton; - QWidget* tab_2; + TQWidget* tab; + TQGroupBox* groupBox_ls; + TQListView* listView_ls; + TQPushButton* loadButton; + TQPushButton* saveButton; + TQPushButton* deleteButton; + TQPushButton* importButton; + TQWidget* tab_2; // focusIndicator - QGroupBox* indicateFocusFrame; - QCheckBox* indicateFocus; - QLabel* labelIndicatorColor; - QLabel* labelIndicatorBtnColor; + TQGroupBox* indicateFocusFrame; + TQCheckBox* indicateFocus; + TQLabel* labelIndicatorColor; + TQLabel* labelIndicatorBtnColor; IndicatorPrevWidget* indicatorPrevWidget; IndicatorPrevButton* indicatorPrevButton; - QLabel* labelIndicatorColorOpacity; - QLabel* labelIndicatorBtnColorOpacity; + TQLabel* labelIndicatorColorOpacity; + TQLabel* labelIndicatorBtnColorOpacity; - QGroupBox* gb1; - QGroupBox* gb2; - QGroupBox* gb3; + TQGroupBox* gb1; + TQGroupBox* gb2; + TQGroupBox* gb3; // text effect - QGroupBox* textEffectFrame; - QLabel* labelTextEffectColor; - QLabel* labelTextEffectButtonColor; + TQGroupBox* textEffectFrame; + TQLabel* labelTextEffectColor; + TQLabel* labelTextEffectButtonColor; TextEffectPrevWidget* textEffectPrevWidget; TextEffectPrevButton* textEffectPrevButton; - QLabel* labelTextEffectColorOpacity; - QLabel* labelTextEffectButtonColorOpacity; - QLabel* labelTextEffectPos; - QLabel* labelTextEffectButtonPos; + TQLabel* labelTextEffectColorOpacity; + TQLabel* labelTextEffectButtonColorOpacity; + TQLabel* labelTextEffectPos; + TQLabel* labelTextEffectButtonPos; - QCheckBox* drawButtonSunkenShadow; + TQCheckBox* drawButtonSunkenShadow; - QLabel* buttonTypLabel; - QLabel* labelButtonContourColors; - QPushButton* buttonContourPrevButton; - QLabel* labelPopupMenuOptions; + TQLabel* buttonTypLabel; + TQLabel* labelButtonContourColors; + TQPushButton* buttonContourPrevButton; + TQLabel* labelPopupMenuOptions; signals: void changed(bool); @@ -290,54 +290,54 @@ protected slots: void updateChanged(); virtual void languageChange(); void userLoadScrollBarConfig(); - void testCanDecode(const QDragMoveEvent * e, bool & accept); + void testCanDecode(const TQDragMoveEvent * e, bool & accept); private slots: - void btnPv1(const QColor&); - void btnPv2(const QColor&); - void btnPv3(const QColor&); - void btnPv4(const QColor&); - void btnPv5(const QColor&); + void btnPv1(const TQColor&); + void btnPv2(const TQColor&); + void btnPv3(const TQColor&); + void btnPv4(const TQColor&); + void btnPv5(const TQColor&); void btnPv6(int); void btnPv7(int); void btnPv8(int); void btnPv9(int); - void hPv1(const QColor&); - void hPv2(const QColor&); - void hPv3(const QColor&); - void hPv4(const QColor&); - void hPv5(const QColor&); + void hPv1(const TQColor&); + void hPv2(const TQColor&); + void hPv3(const TQColor&); + void hPv4(const TQColor&); + void hPv5(const TQColor&); void hPv6(int); void hPv7(int); void hPv8(int); void hPv9(int); - void chbPv1(const QColor&); - void chbPv2(const QColor&); - void chbPv3(const QColor&); - void chbPv4(const QColor&); - void chbPv5(const QColor&); + void chbPv1(const TQColor&); + void chbPv2(const TQColor&); + void chbPv3(const TQColor&); + void chbPv4(const TQColor&); + void chbPv5(const TQColor&); void chbPv6(int); void chbPv7(int); void chbPv8(int); void chbPv9(int); - void sbPv1(const QColor&); - void sbPv2(const QColor&); - void sbPv3(const QColor&); - void sbPv4(const QColor&); - void sbPv5(const QColor&); + void sbPv1(const TQColor&); + void sbPv2(const TQColor&); + void sbPv3(const TQColor&); + void sbPv4(const TQColor&); + void sbPv5(const TQColor&); void sbPv6(int); void sbPv7(int); void sbPv8(int); void sbPv9(int); - void tabPv1(const QColor&col); - void tabPv2(const QColor&col); - void tabPv3(const QColor&col); - void tabPv4(const QColor&col); - void tabPv5(const QColor&col); + void tabPv1(const TQColor&col); + void tabPv2(const TQColor&col); + void tabPv3(const TQColor&col); + void tabPv4(const TQColor&col); + void tabPv5(const TQColor&col); void tabPv6(int); void tabPv7(int); void tabPv8(int); @@ -348,7 +348,7 @@ private slots: void slotSave(); void slotDelete(); void slotImport(); - void slotDelPerm(QListViewItem*); + void slotDelPerm(TQListViewItem*); void scrollBar1GradientChanged(); void scrollBar2GradientChanged(); void scrollBarNumGradientsChanged(int g=0); @@ -390,43 +390,43 @@ protected: bool hasCompositeExtension; - QVBoxLayout* frame3Layout; - QVBoxLayout* layout1; - QGroupBox* grFrame; - QLabel* grValueLabel; + TQVBoxLayout* frame3Layout; + TQVBoxLayout* layout1; + TQGroupBox* grFrame; + TQLabel* grValueLabel; //We store settings directly in widgets to //avoid the hassle of sync'ing things - QCheckBox* animateProgressBar; - QCheckBox* drawTriangularExpander; - QCheckBox* customCheckMarkColor; + TQCheckBox* animateProgressBar; + TQCheckBox* drawTriangularExpander; + TQCheckBox* customCheckMarkColor; KColorButton* checkMarkColor; - QCheckBox* customToolTipColor; + TQCheckBox* customToolTipColor; KColorButton* toolTipColor; - QCheckBox* highlightToolBtnIcons; - QCheckBox* toolBtnAsBtn; + TQCheckBox* highlightToolBtnIcons; + TQCheckBox* toolBtnAsBtn; - QLabel* labelRubberOptions; - QRadioButton* argbRubber; - QRadioButton* lineRubber; - QRadioButton* distRubber; + TQLabel* labelRubberOptions; + TQRadioButton* argbRubber; + TQRadioButton* lineRubber; + TQRadioButton* distRubber; int rubberBandType; - QLabel* labelArgbRubberColor; - QLabel* labelArgbRubberOpacity; + TQLabel* labelArgbRubberColor; + TQLabel* labelArgbRubberOpacity; KColorButton* argbRubberColor; DSpinBox* argbRubberOpacity; - QCheckBox* smoothScrolling; + TQCheckBox* smoothScrolling; DSpinBox* buttonHeightAdjustment; - QLabel* buttonHeightAdjustmentLabel; - QCheckBox* customPopupMenuColor; + TQLabel* buttonHeightAdjustmentLabel; + TQCheckBox* customPopupMenuColor; KColorButton* popupMenuColor; - QCheckBox* centerTabs; - QCheckBox* customSelMenuItemColor; + TQCheckBox* centerTabs; + TQCheckBox* customSelMenuItemColor; KColorButton* selMenuItemColor; - QCheckBox* drawPopupMenuGradient; - QCheckBox* indentPopupMenuItems; + TQCheckBox* drawPopupMenuGradient; + TQCheckBox* indentPopupMenuItems; //Original settings, for accurate dirtiness tracking bool origAnimProgressBar; @@ -435,40 +435,40 @@ protected: bool origHighlightToolBtnIcons; bool origCustomCheckMarkColor; - QColor origCheckMarkColor; + TQColor origCheckMarkColor; bool origTintGroupBoxBackground; int origGroupBoxBrightness; bool origCustomGroupBoxBackgroundColor; - QColor origGroupBoxBackgroundColor; + TQColor origGroupBoxBackgroundColor; bool origCustomToolTipColor; - QColor origToolTipColor; + TQColor origToolTipColor; int origRubberBandType; - QColor origArgbRubberColor; + TQColor origArgbRubberColor; int origArgbRubberOpacity; bool origSmoothScrolling; int origButtonHeightAdjustment; int origButtonContourType; bool origCustomPopupMenuColor; - QColor origPopupMenuColor; + TQColor origPopupMenuColor; bool origCustomSelMenuItemColor; - QColor origSelMenuItemColor; + TQColor origSelMenuItemColor; bool origDrawPopupMenuGradient; bool origIndentPopupMenuItems; bool origCenterTabs; bool origIndicateFocus; - QColor origIndicatorColor; - QColor origIndicatorBtnColor; + TQColor origIndicatorColor; + TQColor origIndicatorBtnColor; int origIndicatorOpacity; int origIndicatorBtnOpacity; bool origDrawUnderline; int origTextEffectMode; - QColor origTextEffectColor; - QColor origTextEffectButtonColor; + TQColor origTextEffectColor; + TQColor origTextEffectButtonColor; bool origDrawTextEffect; int origTextEffectOpacity; int origTextEffectButtonOpacity; @@ -477,153 +477,153 @@ protected: bool origDrawButtonSunkenShadow; - QColor origButtonContourColor; - QColor origButtonDefaultButtonContourColor; - QColor origButtonMouseOverContourColor; - QColor origButtonPressedContourColor; + TQColor origButtonContourColor; + TQColor origButtonDefaultButtonContourColor; + TQColor origButtonMouseOverContourColor; + TQColor origButtonPressedContourColor; int konqTabBarContrast; - QString currentConfig; - QLabel* currentConfigLabel; + TQString currentConfig; + TQLabel* currentConfigLabel; SchemeList* schemeList; bool configLoaded; DSurface* currentScrollBarSurface; DSurface* currentTabSurface; - void loadConfig(const QString &name); - void saveConfig(const QString &fileName, const QString &schemeName); + void loadConfig(const TQString &name); + void saveConfig(const TQString &fileName, const TQString &schemeName); void getConfigSchemes(); //////////////////////////////////////////////// form: //protected: - QVBoxLayout* tab1Layout; - QGridLayout* groupBox22Layout; - QSpacerItem* spacer6; - QSpacerItem* spacer3; - QSpacerItem* spacer43; - QSpacerItem* spacer46; - QSpacerItem* spacer2; - QVBoxLayout* groupBox10_2_2_2Layout; - QGridLayout* groupBox8_2_2_2Layout; - QGridLayout* groupBox9_2_2_2Layout; - QHBoxLayout* layout9; - QSpacerItem* spacer7; - QVBoxLayout* tab2Layout; - QGridLayout* groupBox22_2Layout; - QSpacerItem* spacer46_2; - QSpacerItem* spacer43_2; - QSpacerItem* spacer6_2; - QSpacerItem* spacer2_2; - QSpacerItem* spacer3_2; - QGridLayout* groupBox8_2_2_2_2Layout; - QGridLayout* groupBox9_2_2_2_2Layout; - QVBoxLayout* groupBox10_2_2_2_2Layout; - QHBoxLayout* layout9_2; - QSpacerItem* spacer7_2; - QVBoxLayout* tab3Layout; - QGridLayout* groupBox22_2_2Layout; - QSpacerItem* spacer46_2_2; - QSpacerItem* spacer43_2_2; - QSpacerItem* spacer3_2_2; - QSpacerItem* spacer6_2_2; - QSpacerItem* spacer2_2_2; - QGridLayout* groupBox8_2_2_2_2_4Layout; - QGridLayout* groupBox9_2_2_2_2_4Layout; - QGridLayout* groupBox10_2_2_2_2_4Layout; - QSpacerItem* spacer35; - QHBoxLayout* layout6; - QSpacerItem* spacer7_2_3; - QVBoxLayout* tab4Layout; - QGridLayout* groupBox22_2_2_3Layout; - QSpacerItem* spacer3_2_2_2; - QSpacerItem* spacer6_2_2_2; - QSpacerItem* spacer2_2_2_2; - QSpacerItem* spacer46_2_2_2; - QSpacerItem* spacer43_2_2_2; - QVBoxLayout* groupBox10_2_2_2_2_4_3Layout; - QGridLayout* groupBox8_2_2_2_2_4_3Layout; - QGridLayout* groupBox9_2_2_2_2_4_3Layout; - QHBoxLayout* layout21; - QSpacerItem* spacer7_2_3_3; - QVBoxLayout* tab5Layout; - QGridLayout* groupBox22_2_2_3_2Layout; - QSpacerItem* spacer3_2_2_3; - QSpacerItem* spacer6_2_2_3; - QSpacerItem* spacer2_2_2_3; - QSpacerItem* spacer46_2_2_3; - QSpacerItem* spacer43_2_2_2_2; - QGridLayout* groupBox8_2_2_2_2_4_3_2Layout; - QVBoxLayout* groupBox10_2_2_2_2_4_3_2Layout; - QGridLayout* groupBox9_2_2_2_2_4_3_2Layout; - QHBoxLayout* layout22; - QSpacerItem* spacer7_2_3_3_2; + TQVBoxLayout* tab1Layout; + TQGridLayout* groupBox22Layout; + TQSpacerItem* spacer6; + TQSpacerItem* spacer3; + TQSpacerItem* spacer43; + TQSpacerItem* spacer46; + TQSpacerItem* spacer2; + TQVBoxLayout* groupBox10_2_2_2Layout; + TQGridLayout* groupBox8_2_2_2Layout; + TQGridLayout* groupBox9_2_2_2Layout; + TQHBoxLayout* layout9; + TQSpacerItem* spacer7; + TQVBoxLayout* tab2Layout; + TQGridLayout* groupBox22_2Layout; + TQSpacerItem* spacer46_2; + TQSpacerItem* spacer43_2; + TQSpacerItem* spacer6_2; + TQSpacerItem* spacer2_2; + TQSpacerItem* spacer3_2; + TQGridLayout* groupBox8_2_2_2_2Layout; + TQGridLayout* groupBox9_2_2_2_2Layout; + TQVBoxLayout* groupBox10_2_2_2_2Layout; + TQHBoxLayout* layout9_2; + TQSpacerItem* spacer7_2; + TQVBoxLayout* tab3Layout; + TQGridLayout* groupBox22_2_2Layout; + TQSpacerItem* spacer46_2_2; + TQSpacerItem* spacer43_2_2; + TQSpacerItem* spacer3_2_2; + TQSpacerItem* spacer6_2_2; + TQSpacerItem* spacer2_2_2; + TQGridLayout* groupBox8_2_2_2_2_4Layout; + TQGridLayout* groupBox9_2_2_2_2_4Layout; + TQGridLayout* groupBox10_2_2_2_2_4Layout; + TQSpacerItem* spacer35; + TQHBoxLayout* layout6; + TQSpacerItem* spacer7_2_3; + TQVBoxLayout* tab4Layout; + TQGridLayout* groupBox22_2_2_3Layout; + TQSpacerItem* spacer3_2_2_2; + TQSpacerItem* spacer6_2_2_2; + TQSpacerItem* spacer2_2_2_2; + TQSpacerItem* spacer46_2_2_2; + TQSpacerItem* spacer43_2_2_2; + TQVBoxLayout* groupBox10_2_2_2_2_4_3Layout; + TQGridLayout* groupBox8_2_2_2_2_4_3Layout; + TQGridLayout* groupBox9_2_2_2_2_4_3Layout; + TQHBoxLayout* layout21; + TQSpacerItem* spacer7_2_3_3; + TQVBoxLayout* tab5Layout; + TQGridLayout* groupBox22_2_2_3_2Layout; + TQSpacerItem* spacer3_2_2_3; + TQSpacerItem* spacer6_2_2_3; + TQSpacerItem* spacer2_2_2_3; + TQSpacerItem* spacer46_2_2_3; + TQSpacerItem* spacer43_2_2_2_2; + TQGridLayout* groupBox8_2_2_2_2_4_3_2Layout; + TQVBoxLayout* groupBox10_2_2_2_2_4_3_2Layout; + TQGridLayout* groupBox9_2_2_2_2_4_3_2Layout; + TQHBoxLayout* layout22; + TQSpacerItem* spacer7_2_3_3_2; // tab 3 - load/save - QVBoxLayout* tab_lsLayout; - QHBoxLayout* groupBox_lsLayout; - QVBoxLayout* layout8; - QSpacerItem* spacer32; + TQVBoxLayout* tab_lsLayout; + TQHBoxLayout* groupBox_lsLayout; + TQVBoxLayout* layout8; + TQSpacerItem* spacer32; }; -class DSpinBox : public QSpinBox +class DSpinBox : public TQSpinBox { public: - DSpinBox(QWidget *parent, const char* name=0): QSpinBox(parent, name){}; - DSpinBox( int minValue, int maxValue, int step = 1, QWidget* parent=0, const char* name=0 ): QSpinBox(minValue, maxValue, step, parent, name){}; + DSpinBox(TQWidget *parent, const char* name=0): TQSpinBox(parent, name){}; + DSpinBox( int minValue, int maxValue, int step = 1, TQWidget* parent=0, const char* name=0 ): TQSpinBox(minValue, maxValue, step, parent, name){}; void setAlignRight() { - this->editor()->setAlignment(Qt::AlignRight); + this->editor()->setAlignment(TQt::AlignRight); } - QSpinWidget* spinWidget() { - return static_cast(editor()->parentWidget()); + TQSpinWidget* spinWidget() { + return static_cast(editor()->parentWidget()); } }; -class PreviewCheckBox : public QCheckBox +class PreviewCheckBox : public TQCheckBox { public: - PreviewCheckBox(QWidget *parent, const char * name = 0 ): QCheckBox( parent, name){}; - void paintEvent(QPaintEvent *event); - void drawButton(QPainter *paint); + PreviewCheckBox(TQWidget *parent, const char * name = 0 ): TQCheckBox( parent, name){}; + void paintEvent(TQPaintEvent *event); + void drawButton(TQPainter *paint); }; -class PreviewRadioButton : public QRadioButton +class PreviewRadioButton : public TQRadioButton { public: - PreviewRadioButton(QWidget *parent, const char * name = 0 ): QRadioButton( parent, name){}; - void paintEvent(QPaintEvent *event); - void drawButton(QPainter *paint); + PreviewRadioButton(TQWidget *parent, const char * name = 0 ): TQRadioButton( parent, name){}; + void paintEvent(TQPaintEvent *event); + void drawButton(TQPainter *paint); }; -class PreviewTabBar : public QTabBar +class PreviewTabBar : public TQTabBar { public: - PreviewTabBar(QWidget *parent, const char * name = 0 ): QTabBar( parent, name){}; - void mousePressEvent(QMouseEvent* event); - void paintEvent(QPaintEvent *event); + PreviewTabBar(TQWidget *parent, const char * name = 0 ): TQTabBar( parent, name){}; + void mousePressEvent(TQMouseEvent* event); + void paintEvent(TQPaintEvent *event); }; -class IndicatorPrevButton : public QPushButton +class IndicatorPrevButton : public TQPushButton { public: - IndicatorPrevButton(QWidget *parent, const char * name = 0 ): QPushButton( parent, name){}; - void paintEvent(QPaintEvent *event); + IndicatorPrevButton(TQWidget *parent, const char * name = 0 ): TQPushButton( parent, name){}; + void paintEvent(TQPaintEvent *event); }; -class IndicatorPrevWidget : public QPushButton /*QWidget*/ +class IndicatorPrevWidget : public TQPushButton /*TQWidget*/ { public: - IndicatorPrevWidget(QWidget *parent, const char * name = 0) : QPushButton( parent, name){}; - void paintEvent(QPaintEvent *event); + IndicatorPrevWidget(TQWidget *parent, const char * name = 0) : TQPushButton( parent, name){}; + void paintEvent(TQPaintEvent *event); }; class DominoKTabWidget : public KTabWidget @@ -631,7 +631,7 @@ class DominoKTabWidget : public KTabWidget Q_OBJECT friend class DominoStyleConfig; public: - DominoKTabWidget( QWidget* parent=0, const char* name=0 ) : KTabWidget( parent, name ) {} + DominoKTabWidget( TQWidget* parent=0, const char* name=0 ) : KTabWidget( parent, name ) {} protected slots: void wheelDelta( int ) {}; }; @@ -641,29 +641,29 @@ class DominoKTabPrevWidget : public KTabWidget friend class DominoStyleConfig; friend class TabWidgetIndicator; public: - DominoKTabPrevWidget( QWidget* parent=0, const char* name=0 ) : KTabWidget( parent, name ) {} + DominoKTabPrevWidget( TQWidget* parent=0, const char* name=0 ) : KTabWidget( parent, name ) {} }; -class TabWidgetIndicator : public QWidget +class TabWidgetIndicator : public TQWidget { friend class DominoStyleConfig; public: - TabWidgetIndicator( QWidget* parent=0, const char* name=0 ) : QWidget( parent, name ) {} - void paintEvent(QPaintEvent *event); + TabWidgetIndicator( TQWidget* parent=0, const char* name=0 ) : TQWidget( parent, name ) {} + void paintEvent(TQPaintEvent *event); }; -class TextEffectPrevButton : public QPushButton +class TextEffectPrevButton : public TQPushButton { public: - TextEffectPrevButton(QWidget *parent, const char * name = 0 ): QPushButton( parent, name){}; - void paintEvent(QPaintEvent *event); + TextEffectPrevButton(TQWidget *parent, const char * name = 0 ): TQPushButton( parent, name){}; + void paintEvent(TQPaintEvent *event); }; -class TextEffectPrevWidget : public QWidget +class TextEffectPrevWidget : public TQWidget { public: - TextEffectPrevWidget(QWidget *parent, const char * name = 0, uint flags = 0 ): QWidget( parent, name, flags){}; - void paintEvent(QPaintEvent *event); + TextEffectPrevWidget(TQWidget *parent, const char * name = 0, uint flags = 0 ): TQWidget( parent, name, flags){}; + void paintEvent(TQPaintEvent *event); }; class PreviewStyle : public DominoStyle @@ -687,40 +687,40 @@ DSurface origCheckItemSurface; // global bool initialized; -QComboBox* indicatorModeCombo; +TQComboBox* indicatorModeCombo; KColorButton* indicatorBtnColor; KColorButton* indicatorColor; -QString indicatorPreviewText; -QSpinBox* indicatorOpacity; -QSpinBox* indicatorBtnOpacity; +TQString indicatorPreviewText; +TQSpinBox* indicatorOpacity; +TQSpinBox* indicatorBtnOpacity; -QCheckBox* tintGroupBoxBackground; -QCheckBox* customGroupBoxBackgroundColor; +TQCheckBox* tintGroupBoxBackground; +TQCheckBox* customGroupBoxBackgroundColor; KColorButton* groupBoxBackgroundColor; -QSlider* grSlider; +TQSlider* grSlider; // text effect -QComboBox* textEffectModeCombo; -QCheckBox* drawTextEffect; +TQComboBox* textEffectModeCombo; +TQCheckBox* drawTextEffect; KColorButton* textEffectColor; KColorButton* textEffectButtonColor; -QString textEffectPreviewText; -QSpinBox* textEffectOpacity; -QSpinBox* textEffectButtonOpacity; +TQString textEffectPreviewText; +TQSpinBox* textEffectOpacity; +TQSpinBox* textEffectButtonOpacity; -QComboBox* textEffectPos; -QComboBox* textEffectButtonPos; +TQComboBox* textEffectPos; +TQComboBox* textEffectButtonPos; // button contour colors -QComboBox* buttonContourType; +TQComboBox* buttonContourType; KColorButton* buttonContourColor; KColorButton* buttonDefaultButtonContourColor; KColorButton* buttonMouseOverContourColor; KColorButton* buttonPressedContourColor; -QComboBox* tabPosCombo; -QComboBox* tabStateCombo; +TQComboBox* tabPosCombo; +TQComboBox* tabStateCombo; DominoKTabPrevWidget *prevTopTabWidget; DominoKTabPrevWidget *prevBottomTabWidget; -- cgit v1.2.1