summaryrefslogtreecommitdiffstats
path: root/style/config
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:42 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:42 -0600
commit3efcc926af0b38ffbd494fe8adfe230ef0957886 (patch)
tree80909676fef71a205c4b670c09f5e2d452693d64 /style/config
parentfefd7618681c12635dfc1fd256d385dd44f687c3 (diff)
downloadtde-style-lipstik-3efcc926af0b38ffbd494fe8adfe230ef0957886.tar.gz
tde-style-lipstik-3efcc926af0b38ffbd494fe8adfe230ef0957886.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit fefd7618681c12635dfc1fd256d385dd44f687c3.
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 305204f..08785ce 100644
--- a/style/config/lipstikconf.cpp
+++ b/style/config/lipstikconf.cpp
@@ -29,7 +29,7 @@ DEALINGS IN THE SOFTWARE.
*/
#include <tqcheckbox.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqhbox.h>
#include <tqsettings.h>
#include <tqcolor.h>
@@ -56,20 +56,20 @@ extern "C"
LipstikStyleConfig::LipstikStyleConfig(TQWidget* parent): TQWidget(parent)
{
- TQVBoxLayout* layout = new TQVBoxLayout(this, 0, 0);
+ TQVBoxLayout* tqlayout = 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);
- layout->addWidget(tabWidget);
+ tqlayout->addWidget(tabWidget);
///Init tab1
TQWidget *page1 = new TQWidget(tabWidget);
- layout = new TQVBoxLayout(page1);
+ tqlayout = new TQVBoxLayout(page1);
tabWidget->insertTab(page1, i18n("Configuration"));
- layout->addLayout(tabLayout);
+ tqlayout->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->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
+ menuColorBox->tqlayout()->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->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
+ hbox1->tqlayout()->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->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
+ hbox2->tqlayout()->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->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
+ hbox3->tqlayout()->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->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
+ hbox4->tqlayout()->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;
- layout = new TQVBoxLayout(page2, 10, -1);
+ tqlayout = 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."));
- 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);
+ 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);
///Populate!
TQSettings s;