diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:07:15 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-21 14:07:15 -0600 |
commit | 03d6e3015a4e4b43ac051291557dc60cc1af0f65 (patch) | |
tree | d4be5571c66632edfcb271f68f28086654231895 /style/config | |
parent | ebbc782c300cff5174c74d5018a9d36ce4ab72f2 (diff) | |
download | tde-style-lipstik-03d6e3015a4e4b43ac051291557dc60cc1af0f65.tar.gz tde-style-lipstik-03d6e3015a4e4b43ac051291557dc60cc1af0f65.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'style/config')
-rw-r--r-- | style/config/lipstikconf.cpp | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/style/config/lipstikconf.cpp b/style/config/lipstikconf.cpp index 08785ce..5e67d9f 100644 --- a/style/config/lipstikconf.cpp +++ b/style/config/lipstikconf.cpp @@ -56,20 +56,20 @@ extern "C" LipstikStyleConfig::LipstikStyleConfig(TQWidget* parent): TQWidget(parent) { - TQVBoxLayout* tqlayout = new TQVBoxLayout(this, 0, 0); + TQVBoxLayout* layout = new TQVBoxLayout(this, 0, 0); TQGridLayout* tabLayout = new TQGridLayout(this, 2, 1, 10); KGlobal::locale()->insertCatalogue("kstyle_lipstik_config"); ///Init tabs TQTabWidget *tabWidget = new TQTabWidget(this); - tqlayout->addWidget(tabWidget); + layout->addWidget(tabWidget); ///Init tab1 TQWidget *page1 = new TQWidget(tabWidget); - tqlayout = new TQVBoxLayout(page1); + layout = new TQVBoxLayout(page1); tabWidget->insertTab(page1, i18n("Configuration")); - tqlayout->addLayout(tabLayout); + layout->addLayout(tabLayout); ///General group TQVGroupBox *generalGrp = new TQVGroupBox(i18n("General"), page1); @@ -110,7 +110,7 @@ LipstikStyleConfig::LipstikStyleConfig(TQWidget* parent): TQWidget(parent) flatStripe = new TQCheckBox(i18n("Flatten Stripe"), menusGrp); customMenuStripeColor = new TQCheckBox(i18n("Custom Stripe color :"), menusGrp); TQHBox *menuColorBox = new TQHBox(menusGrp); - menuColorBox->tqlayout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) ); + menuColorBox->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) ); menuStripeColor = new KColorButton(menuColorBox); @@ -171,22 +171,22 @@ LipstikStyleConfig::LipstikStyleConfig(TQWidget* parent): TQWidget(parent) customFocusHighlightColor = new TQCheckBox(i18n("Input fields highlight :"), otherGrp); TQHBox *hbox1 = new TQHBox(otherGrp); - hbox1->tqlayout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) ); + hbox1->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) ); focusHighlightColor = new KColorButton(hbox1); customOverHighlightColor = new TQCheckBox(i18n("Mouse hover highlight :"), otherGrp); TQHBox *hbox2 = new TQHBox(otherGrp); - hbox2->tqlayout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) ); + hbox2->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) ); overHighlightColor = new KColorButton(hbox2); customCheckMarkColor = new TQCheckBox(i18n("Checkmark/Radiobuttons :"), otherGrp); TQHBox *hbox3 = new TQHBox(otherGrp); - hbox3->tqlayout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) ); + hbox3->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) ); checkMarkColor = new KColorButton(hbox3); customTabHighlightColor = new TQCheckBox(i18n("Active tab highlight :"), otherGrp); TQHBox *hbox4 = new TQHBox(otherGrp); - hbox4->tqlayout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) ); + hbox4->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) ); tabHighlightColor = new KColorButton(hbox4); tabLayout->addWidget(otherGrp,1,2,0); @@ -211,7 +211,7 @@ LipstikStyleConfig::LipstikStyleConfig(TQWidget* parent): TQWidget(parent) TQLabel* pcbsdLabel; TQLabel* othersLabel; - tqlayout = new TQVBoxLayout(page2, 10, -1); + layout = new TQVBoxLayout(page2, 10, -1); tabWidget->insertTab(page2, i18n("About")); @@ -267,29 +267,29 @@ LipstikStyleConfig::LipstikStyleConfig(TQWidget* parent): TQWidget(parent) othersLabel = new TQLabel(page2); othersLabel->setText(i18n("Special thanks to Dominique and all the kde-look.org users.")); - tqlayout->add(lipstikLabel); - tqlayout->add(authorLabel); - tqlayout->add(authorAddressLabel); - tqlayout->add(authorWebLabel); - - tqlayout->addSpacing(10); - tqlayout->add(plastikLabel); - - tqlayout->addSpacing(10); - tqlayout->add(alsoLabel); - tqlayout->add(cuLabel); - tqlayout->add(dnLabel); - tqlayout->add(pqLabel); - tqlayout->add(cxLabel); - tqlayout->add(kpLabel); - tqlayout->add(blLabel); - tqlayout->add(ksLabel); - tqlayout->add(peLabel); - - tqlayout->addSpacing(10); - tqlayout->add(bastianLabel); - tqlayout->add(pcbsdLabel); - tqlayout->add(othersLabel); + layout->add(lipstikLabel); + layout->add(authorLabel); + layout->add(authorAddressLabel); + layout->add(authorWebLabel); + + layout->addSpacing(10); + layout->add(plastikLabel); + + layout->addSpacing(10); + layout->add(alsoLabel); + layout->add(cuLabel); + layout->add(dnLabel); + layout->add(pqLabel); + layout->add(cxLabel); + layout->add(kpLabel); + layout->add(blLabel); + layout->add(ksLabel); + layout->add(peLabel); + + layout->addSpacing(10); + layout->add(bastianLabel); + layout->add(pcbsdLabel); + layout->add(othersLabel); ///Populate! TQSettings s; |