summaryrefslogtreecommitdiffstats
path: root/style/config
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:33:58 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:33:58 -0600
commitfefd7618681c12635dfc1fd256d385dd44f687c3 (patch)
treec4479a13b4a51ebc1ce04ca762fe9f6081a09fc0 /style/config
parentedf786fd79b09338b7ec475f1ad39fb647338430 (diff)
downloadtde-style-lipstik-fefd7618681c12635dfc1fd256d385dd44f687c3.tar.gz
tde-style-lipstik-fefd7618681c12635dfc1fd256d385dd44f687c3.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'style/config')
-rw-r--r--style/config/lipstikconf.cpp68
1 files changed, 34 insertions, 34 deletions
diff --git a/style/config/lipstikconf.cpp b/style/config/lipstikconf.cpp
index 08785ce..305204f 100644
--- a/style/config/lipstikconf.cpp
+++ b/style/config/lipstikconf.cpp
@@ -29,7 +29,7 @@ DEALINGS IN THE SOFTWARE.
*/
#include <tqcheckbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqhbox.h>
#include <tqsettings.h>
#include <tqcolor.h>
@@ -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;