diff options
Diffstat (limited to 'atlantikdesigner')
-rw-r--r-- | atlantikdesigner/designer/designer.cpp | 4 | ||||
-rw-r--r-- | atlantikdesigner/designer/group.cpp | 14 | ||||
-rw-r--r-- | atlantikdesigner/designer/group.h | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/atlantikdesigner/designer/designer.cpp b/atlantikdesigner/designer/designer.cpp index 3f39fb6..9f05f61 100644 --- a/atlantikdesigner/designer/designer.cpp +++ b/atlantikdesigner/designer/designer.cpp @@ -76,10 +76,10 @@ AtlanticDesigner::AtlanticDesigner(TQWidget *parent, const char *name) KConfig *config = kapp->config(); config->setGroup("General"); - TQColor defaultColor = tqcolorGroup().background(); + TQColor defaultColor = colorGroup().background(); defaultBg = config->readColorEntry("alternateBackground", &defaultColor); config->setGroup("WM"); - defaultColor = tqcolorGroup().dark(); + defaultColor = colorGroup().dark(); defaultFg = config->readColorEntry("activeBackground", &defaultColor); // these must match up to the ones in editor.cpp! diff --git a/atlantikdesigner/designer/group.cpp b/atlantikdesigner/designer/group.cpp index b3da81f..679a4ac 100644 --- a/atlantikdesigner/designer/group.cpp +++ b/atlantikdesigner/designer/group.cpp @@ -38,16 +38,16 @@ GroupEditor::GroupEditor(ConfigEstateGroupList *newList, TQWidget *parent) connect(groups, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(selectionChanged())); TQVBoxLayout *vtqlayout = new TQVBoxLayout(htqlayout, spacingHint()); - tqcolorGroupBox = new TQVGroupBox(i18n("&Colors"), page); - vtqlayout->addWidget(tqcolorGroupBox); + colorGroupBox = new TQVGroupBox(i18n("&Colors"), page); + vtqlayout->addWidget(colorGroupBox); - (void) new TQLabel(i18n("Foreground:"), tqcolorGroupBox); - fgButton = new KColorButton(tqcolorGroupBox, "Foreground Button"); + (void) new TQLabel(i18n("Foreground:"), colorGroupBox); + fgButton = new KColorButton(colorGroupBox, "Foreground Button"); connect(fgButton, TQT_SIGNAL(changed(const TQColor &)), this, TQT_SLOT(fgChanged(const TQColor &))); connect(fgButton, TQT_SIGNAL(changed(const TQColor &)), this, TQT_SIGNAL(changed())); - (void) new TQLabel(i18n("Background:"), tqcolorGroupBox); - bgButton = new KColorButton(tqcolorGroupBox, "Background Button"); + (void) new TQLabel(i18n("Background:"), colorGroupBox); + bgButton = new KColorButton(colorGroupBox, "Background Button"); connect(bgButton, TQT_SIGNAL(changed(const TQColor &)), this, TQT_SLOT(bgChanged(const TQColor &))); connect(bgButton, TQT_SIGNAL(changed(const TQColor &)), this, TQT_SIGNAL(changed())); @@ -233,7 +233,7 @@ void GroupEditor::slotOk() void GroupEditor::selectionChanged() { bool issel = groups->currentItem() >= 0; - tqcolorGroupBox->setEnabled(issel); + colorGroupBox->setEnabled(issel); pricesGroupBox->setEnabled(issel); dynamicGroupBox->setEnabled(issel); removeB->setEnabled(issel); diff --git a/atlantikdesigner/designer/group.h b/atlantikdesigner/designer/group.h index 606189b..87086f0 100644 --- a/atlantikdesigner/designer/group.h +++ b/atlantikdesigner/designer/group.h @@ -86,7 +86,7 @@ class GroupEditor : public KDialogBase TQWidget *mathWidget; TQSpinBox *housePrice; TQSpinBox *globalPrice; - TQVGroupBox *tqcolorGroupBox; + TQVGroupBox *colorGroupBox; TQVGroupBox *pricesGroupBox; TQVGroupBox *dynamicGroupBox; KPushButton *removeB; |