summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-06 12:58:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-06 12:58:35 +0900
commit936a0c73f552cce101c9aa5ec64800fad86542a2 (patch)
treed0a1d1bd72fbbbb35917113916e7b362206ae8c3
parent81589f93590dc8daa7a1209fc4b1df60b5132477 (diff)
downloadtde-style-baghira-936a0c73.tar.gz
tde-style-baghira-936a0c73.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--bab/main.cpp26
-rw-r--r--bab/styleconfdialog.cpp6
-rw-r--r--config/colordialog.cpp10
-rw-r--r--config/colorpicker.cpp6
-rw-r--r--config/tdestyle_baghira_config.cpp204
-rw-r--r--deco/baghiraclient.cpp36
-rw-r--r--deco/config/baghiraconfig.cpp218
-rw-r--r--deco/config/colorpicker.cpp12
-rw-r--r--deco/config/new/baghiraconfig.cpp218
-rw-r--r--kickermenu-3.3/menuapplet.cpp22
-rw-r--r--kickermenu/menuapplet.cpp20
-rw-r--r--sessionapplet/usermanager.cpp10
-rw-r--r--sidebar/baghirasidebar.cpp4
-rw-r--r--sidebar/dndlistbox.cpp22
-rw-r--r--sidebar/linkview.cpp16
-rw-r--r--starter/menu.cpp102
-rw-r--r--starter/starter.cpp18
-rw-r--r--style/baghira.cpp4
-rw-r--r--style/eventfilter.cpp2
-rw-r--r--style/polish.cpp2
20 files changed, 479 insertions, 479 deletions
diff --git a/bab/main.cpp b/bab/main.cpp
index 3650888..ed21408 100644
--- a/bab/main.cpp
+++ b/bab/main.cpp
@@ -85,8 +85,8 @@ int main(int argc, char **argv)
leftCorner.hide();
rightCorner.hide();
}
- leftCorner.connect( mainBAB->cornerCheck, SIGNAL(toggled(bool)), SLOT(toggle(bool)) );
- rightCorner.connect( mainBAB->cornerCheck, SIGNAL(toggled(bool)), SLOT(toggle(bool)) );
+ leftCorner.connect( mainBAB->cornerCheck, TQ_SIGNAL(toggled(bool)), TQ_SLOT(toggle(bool)) );
+ rightCorner.connect( mainBAB->cornerCheck, TQ_SIGNAL(toggled(bool)), TQ_SLOT(toggle(bool)) );
int ret = app.exec();
if (mainBAB) delete mainBAB;
@@ -177,11 +177,11 @@ bab::bab() : TDEMainWindow(0,"bab",TQt::WStyle_StaysOnTop | TQt::WX11BypassWM ){
bSwitcher->setStyle(DefStyle->currentText());
bSwitcher->setDeco(DefStyle->currentText());
- connect(DefStyle, SIGNAL(activated(int)), this, SLOT(saveSettings()));
- connect(cornerCheck, SIGNAL(toggled(bool)), this, SLOT(saveSettings()));
- connect(configBaghira, SIGNAL(clicked()), this, SLOT(configureBaghira()));
- connect(Close, SIGNAL(clicked()), this, SLOT(hide()));
- connect(Quit, SIGNAL(clicked()), this, SLOT(close()));
+ connect(DefStyle, TQ_SIGNAL(activated(int)), this, TQ_SLOT(saveSettings()));
+ connect(cornerCheck, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(saveSettings()));
+ connect(configBaghira, TQ_SIGNAL(clicked()), this, TQ_SLOT(configureBaghira()));
+ connect(Close, TQ_SIGNAL(clicked()), this, TQ_SLOT(hide()));
+ connect(Quit, TQ_SIGNAL(clicked()), this, TQ_SLOT(close()));
resize(vb->width(),vb->height());
@@ -261,12 +261,12 @@ void bab::configureBaghira()
TQPoint nPos((desktop->width() - dial->width())/2, (desktop->height() - dial->height() - 100)/2);
dial->move(nPos);
//..and connect it to the wrapper
- connect(styleConfig, SIGNAL(changed(bool)), dial, SLOT(setStyleDirty(bool)));
- connect(decoObject, SIGNAL(changed()), dial, SLOT(setDecoDirty()));
- connect(dial, SIGNAL(defaults()), styleConfig, SLOT(defaults()));
- connect(dial, SIGNAL(save()), styleConfig, SLOT(save()));
- connect(dial, SIGNAL(defaults()), decoObject, SLOT(defaults()));
- connect(dial, SIGNAL(save(TDEConfig*)), decoObject, SLOT(save(TDEConfig*)));
+ connect(styleConfig, TQ_SIGNAL(changed(bool)), dial, TQ_SLOT(setStyleDirty(bool)));
+ connect(decoObject, TQ_SIGNAL(changed()), dial, TQ_SLOT(setDecoDirty()));
+ connect(dial, TQ_SIGNAL(defaults()), styleConfig, TQ_SLOT(defaults()));
+ connect(dial, TQ_SIGNAL(save()), styleConfig, TQ_SLOT(save()));
+ connect(dial, TQ_SIGNAL(defaults()), decoObject, TQ_SLOT(defaults()));
+ connect(dial, TQ_SIGNAL(save(TDEConfig*)), decoObject, TQ_SLOT(save(TDEConfig*)));
if (dial->exec() == TQDialog::Accepted)
{
diff --git a/bab/styleconfdialog.cpp b/bab/styleconfdialog.cpp
index 5ab768d..83edb74 100644
--- a/bab/styleconfdialog.cpp
+++ b/bab/styleconfdialog.cpp
@@ -30,9 +30,9 @@ StyleConfigDialog::StyleConfigDialog(TQWidget* parent, TQString styleName):
{
m_styleDirty = false;
m_decoDirty = false;
- connect( this, SIGNAL( defaultClicked() ), this, SIGNAL( defaults() ));
- connect( this, SIGNAL( okClicked() ), this, SIGNAL( save() ));
- connect( this, SIGNAL( okClicked() ), this, SLOT( saveDeco() ));
+ connect( this, TQ_SIGNAL( defaultClicked() ), this, TQ_SIGNAL( defaults() ));
+ connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SIGNAL( save() ));
+ connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( saveDeco() ));
}
void StyleConfigDialog::saveDeco()
diff --git a/config/colordialog.cpp b/config/colordialog.cpp
index 9b80397..9229179 100644
--- a/config/colordialog.cpp
+++ b/config/colordialog.cpp
@@ -62,7 +62,7 @@ ColorDialog::ColorDialog(TQWidget* parent, const char* name) : TQDialog( parent,
{
picker[i] = new ColorPicker(this, title[i]);
vertical->addWidget(picker[i]);
- connect (picker[i], SIGNAL(colorChanged(TQColor)), demo, SLOT(smartRepaint()));
+ connect (picker[i], TQ_SIGNAL(colorChanged(TQColor)), demo, TQ_SLOT(smartRepaint()));
picker[i]->hide();
}
for (int i = 0; i < NUMCOLORS; i++)
@@ -80,10 +80,10 @@ ColorDialog::ColorDialog(TQWidget* parent, const char* name) : TQDialog( parent,
// demo->repaint(false);
picker[Button]->show();
- connect (buttonOk, SIGNAL(clicked()), this, SLOT(close()));
- connect (buttonCP, SIGNAL(clicked()), this, SLOT(grabColor()));
- connect (buttonCancel, SIGNAL(clicked()), this, SLOT(close()));
- connect (other, SIGNAL(activated (const TQString &)), this, SLOT(getFromOther(const TQString &)));
+ connect (buttonOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(close()));
+ connect (buttonCP, TQ_SIGNAL(clicked()), this, TQ_SLOT(grabColor()));
+ connect (buttonCancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(close()));
+ connect (other, TQ_SIGNAL(activated (const TQString &)), this, TQ_SLOT(getFromOther(const TQString &)));
}
ColorDialog::~ColorDialog()
diff --git a/config/colorpicker.cpp b/config/colorpicker.cpp
index 8878588..0654d0d 100644
--- a/config/colorpicker.cpp
+++ b/config/colorpicker.cpp
@@ -24,9 +24,9 @@ ColorPicker::ColorPicker(TQWidget* parent, const char* name) : TQGroupBox( paren
blue->setRange(0, 255, 1, true);
blue->setLabel("B");
vLayout->addWidget(blue);
- connect (red, SIGNAL(valueChanged( int )), this, SLOT(emitChange()));
- connect (green, SIGNAL(valueChanged( int )), this, SLOT(emitChange()));
- connect (blue, SIGNAL(valueChanged( int )), this, SLOT(emitChange()));
+ connect (red, TQ_SIGNAL(valueChanged( int )), this, TQ_SLOT(emitChange()));
+ connect (green, TQ_SIGNAL(valueChanged( int )), this, TQ_SLOT(emitChange()));
+ connect (blue, TQ_SIGNAL(valueChanged( int )), this, TQ_SLOT(emitChange()));
}
ColorPicker::~ColorPicker()
diff --git a/config/tdestyle_baghira_config.cpp b/config/tdestyle_baghira_config.cpp
index 8ee7e29..f13e5b4 100644
--- a/config/tdestyle_baghira_config.cpp
+++ b/config/tdestyle_baghira_config.cpp
@@ -336,13 +336,13 @@ tdestyle_baghira_config::tdestyle_baghira_config(TQWidget *parent, const char *n
rwlv->addStretch();
dialog_->tabWidget->addTab( rulesWidget, TQString("Rules") );
appsetter = new AppSetter(this);
- connect(btnNew, SIGNAL(clicked()), appsetter, SLOT(show()));
- connect(btnEdit, SIGNAL(clicked()), this, SLOT(editApp()));
- connect(this, SIGNAL(editApp(TQString, TQString)), appsetter, SLOT(show(TQString, TQString)));
- connect(btnDel, SIGNAL(clicked()), this, SLOT(removeApp()));
- connect(btnDet, SIGNAL(clicked()), this, SLOT(selectWindow()));
- connect(appsetter, SIGNAL(addApp(TQString, TQString)), this, SLOT(addApp(TQString, TQString)));
- connect(appsetter, SIGNAL(removeApp(TQString)), this, SLOT(removeApp(TQString)));
+ connect(btnNew, TQ_SIGNAL(clicked()), appsetter, TQ_SLOT(show()));
+ connect(btnEdit, TQ_SIGNAL(clicked()), this, TQ_SLOT(editApp()));
+ connect(this, TQ_SIGNAL(editApp(TQString, TQString)), appsetter, TQ_SLOT(show(TQString, TQString)));
+ connect(btnDel, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeApp()));
+ connect(btnDet, TQ_SIGNAL(clicked()), this, TQ_SLOT(selectWindow()));
+ connect(appsetter, TQ_SIGNAL(addApp(TQString, TQString)), this, TQ_SLOT(addApp(TQString, TQString)));
+ connect(appsetter, TQ_SIGNAL(removeApp(TQString)), this, TQ_SLOT(removeApp(TQString)));
// preview stuff
baseImage = uic_findImage("button-base");
@@ -358,7 +358,7 @@ tdestyle_baghira_config::tdestyle_baghira_config(TQWidget *parent, const char *n
crNotes[1] = "<qt>© \"Design\" 2001-2005 by Apple inc.<br>http://www.apple.com";
crNotes[2] = "<qt>© \"Milk\" 2002-2005 by Max Rudberg<br>http://www.maxthemes.com</qt>";
timer = new TQTimer();
- connect( timer, SIGNAL(timeout()), this, SLOT(updateCR()) );
+ connect( timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(updateCR()) );
TQString tmpString(TQT_BUILD_KEY);
about_->systemLabel->setText(tmpString.section(' ',1,1));
about_->cpuLabel->setText(tmpString.section(' ',0,0));
@@ -366,93 +366,93 @@ tdestyle_baghira_config::tdestyle_baghira_config(TQWidget *parent, const char *n
// connections
// buttons
- connect(dialog_->buttonHelp, SIGNAL(clicked()), help_, SLOT(exec()));
- connect(dialog_->buttonAbout, SIGNAL(clicked()), this, SLOT(showAbout()));
- connect(about_->buttonInfo, SIGNAL(clicked()), this, SLOT(openHtml1()));
- connect(about_->buttonDownload, SIGNAL(clicked()), this, SLOT(openHtml2()));
- connect(help_->startBAB, SIGNAL(clicked()), this, SLOT(startBab()));
- connect(dialog_->startKRuler, SIGNAL(clicked()), this, SLOT(startKRuler()));
- connect(dialog_->buttonLoad, SIGNAL(clicked()), this, SLOT(buttonLoadAction()));
- connect(dialog_->buttonSaveAs, SIGNAL(clicked()), this, SLOT(buttonSaveAsAction()));
- connect(dialog_->colorPresets, SIGNAL(activated(int)), this, SLOT(setPresetColor(int)));
+ connect(dialog_->buttonHelp, TQ_SIGNAL(clicked()), help_, TQ_SLOT(exec()));
+ connect(dialog_->buttonAbout, TQ_SIGNAL(clicked()), this, TQ_SLOT(showAbout()));
+ connect(about_->buttonInfo, TQ_SIGNAL(clicked()), this, TQ_SLOT(openHtml1()));
+ connect(about_->buttonDownload, TQ_SIGNAL(clicked()), this, TQ_SLOT(openHtml2()));
+ connect(help_->startBAB, TQ_SIGNAL(clicked()), this, TQ_SLOT(startBab()));
+ connect(dialog_->startKRuler, TQ_SIGNAL(clicked()), this, TQ_SLOT(startKRuler()));
+ connect(dialog_->buttonLoad, TQ_SIGNAL(clicked()), this, TQ_SLOT(buttonLoadAction()));
+ connect(dialog_->buttonSaveAs, TQ_SIGNAL(clicked()), this, TQ_SLOT(buttonSaveAsAction()));
+ connect(dialog_->colorPresets, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setPresetColor(int)));
// changes
- connect(dialog_->defaultStyle, SIGNAL(activated(int)), this, SLOT(configChanged()));
- connect(dialog_->buttonStyle, SIGNAL(activated(int)), this, SLOT(handleButtonStyles(int)));
- connect(dialog_->toolbuttonStyle, SIGNAL(activated(int)), this, SLOT(handleButtonStyles(int)));
- connect(dialog_->animateButtons, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->stippleBackground, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->bevelHighlights, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->stippleContrast, SIGNAL(valueChanged (int)), this, SLOT(configChanged()));
- connect(dialog_->shadowGroups, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->shadowIntensity, SIGNAL(valueChanged (int)), this, SLOT(configChanged()));
- connect(dialog_->centerTabs, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->colorMode, SIGNAL(activated(int)), this, SLOT(configChanged()));
- connect(dialog_->inactiveColorType, SIGNAL(activated(int)), this, SLOT(configChanged()));
- connect(dialog_->animateSlider, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->shadowSlider, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->squeezeSlider, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->unhoveredToolButtons, SIGNAL(activated(int)), this, SLOT(configChanged()));
- connect(dialog_->aquaTabs, SIGNAL(activated(int)), this, SLOT(configChanged()));
- connect(dialog_->brushedTabs, SIGNAL(activated(int)), this, SLOT(configChanged()));
- connect(dialog_->drawTreeLines, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->useCustomExpanderColor, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->treeLineMode, SIGNAL(activated(int)), this, SLOT(configChanged()));
- connect(dialog_->expanderMode, SIGNAL(activated(int)), this, SLOT(configChanged()));
- connect(dialog_->useCustomExpanderColor, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->useRectLVH, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->removeKickerBevel, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->replaceMenubar, SIGNAL(toggled(bool)), this, SLOT(menuToggled(bool)));
- connect(dialog_->roundTasks, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->showProgressValue, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->progressType, SIGNAL(activated(int)), this, SLOT(configChanged()));
- connect(dialog_->menuBackground, SIGNAL(activated(int)), this, SLOT(configChanged()));
- connect(dialog_->menuOpacity, SIGNAL(valueChanged (int)), this, SLOT(configChanged()));
- connect(dialog_->shadowMenuText, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->menuColorMode, SIGNAL(activated(int)), this, SLOT(configChanged()));
- connect(dialog_->useCustomColors, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->drawMenuStripe, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
- connect(dialog_->glossyMenus, SIGNAL(stateChanged(int)), this, SLOT(configChanged()));
-
- connect(dialog_->customInactiveColor, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
-connect(dialog_->toolbuttonHighColor, SIGNAL(changed(const TQColor &)), this, SLOT(changeTooluttonHighlightColor(const TQColor &)));
- connect(dialog_->treeLineColor, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->customExpanderColor, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->menuTextColor, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->menuTextColorHigh, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->menuColor, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->menuColorHigh, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->menuColor2, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->radioOffColor, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->radioOnColor, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->checkOffColor, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->checkOnColor, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->sliderColor, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->hoverSliderColorColor, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->pressedSliderColor, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->inactiveTabColor, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->activeTabColor, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
- connect(dialog_->menuStripeColor, SIGNAL(changed(const TQColor &)), this, SLOT(configChanged()));
-
- connect(dialog_->sliderButtonRed, SIGNAL(valueChanged (int)), this, SLOT(sliderButtonRedChanged(int)));
- connect(dialog_->sliderButtonGreen, SIGNAL(valueChanged (int)), this, SLOT(sliderButtonGreenChanged(int)));
- connect(dialog_->sliderButtonBlue, SIGNAL(valueChanged (int)), this, SLOT(sliderButtonBlueChanged(int)));
-
- connect(dialog_->sliderBrushRed, SIGNAL(valueChanged (int)), this, SLOT(sliderBrushRedChanged(int)));
- connect(dialog_->sliderBrushGreen, SIGNAL(valueChanged (int)), this, SLOT(sliderBrushGreenChanged(int)));
- connect(dialog_->sliderBrushBlue, SIGNAL(valueChanged (int)), this, SLOT(sliderBrushBlueChanged(int)));
+ connect(dialog_->defaultStyle, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->buttonStyle, TQ_SIGNAL(activated(int)), this, TQ_SLOT(handleButtonStyles(int)));
+ connect(dialog_->toolbuttonStyle, TQ_SIGNAL(activated(int)), this, TQ_SLOT(handleButtonStyles(int)));
+ connect(dialog_->animateButtons, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->stippleBackground, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->bevelHighlights, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->stippleContrast, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->shadowGroups, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->shadowIntensity, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->centerTabs, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->colorMode, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->inactiveColorType, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->animateSlider, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->shadowSlider, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->squeezeSlider, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->unhoveredToolButtons, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->aquaTabs, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->brushedTabs, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->drawTreeLines, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->useCustomExpanderColor, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->treeLineMode, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->expanderMode, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->useCustomExpanderColor, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->useRectLVH, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->removeKickerBevel, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->replaceMenubar, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(menuToggled(bool)));
+ connect(dialog_->roundTasks, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->showProgressValue, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->progressType, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->menuBackground, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->menuOpacity, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->shadowMenuText, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->menuColorMode, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->useCustomColors, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->drawMenuStripe, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->glossyMenus, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(configChanged()));
+
+ connect(dialog_->customInactiveColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+connect(dialog_->toolbuttonHighColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(changeTooluttonHighlightColor(const TQColor &)));
+ connect(dialog_->treeLineColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->customExpanderColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->menuTextColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->menuTextColorHigh, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->menuColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->menuColorHigh, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->menuColor2, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->radioOffColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->radioOnColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->checkOffColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->checkOnColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->sliderColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->hoverSliderColorColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->pressedSliderColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->inactiveTabColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->activeTabColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+ connect(dialog_->menuStripeColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(configChanged()));
+
+ connect(dialog_->sliderButtonRed, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(sliderButtonRedChanged(int)));
+ connect(dialog_->sliderButtonGreen, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(sliderButtonGreenChanged(int)));
+ connect(dialog_->sliderButtonBlue, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(sliderButtonBlueChanged(int)));
+
+ connect(dialog_->sliderBrushRed, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(sliderBrushRedChanged(int)));
+ connect(dialog_->sliderBrushGreen, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(sliderBrushGreenChanged(int)));
+ connect(dialog_->sliderBrushBlue, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(sliderBrushBlueChanged(int)));
// GUI
- connect (dialog_->defaultStyle, SIGNAL(activated(int)), this, SLOT(setDesign(int)));
- connect (dialog_->inactiveColorType, SIGNAL(activated(int)), this, SLOT(enableInButtonColor(int)));
- connect (dialog_->drawTreeLines, SIGNAL(toggled(bool)), dialog_->treeLineMode, SLOT(setEnabled(bool)));
- connect (dialog_->drawTreeLines, SIGNAL(toggled(bool)), dialog_->treeLineColor, SLOT(setEnabled(bool)));
- connect (dialog_->useCustomExpanderColor, SIGNAL(toggled(bool)), dialog_->customExpanderColor, SLOT(setEnabled(bool)));
- connect (dialog_->menuColorMode, SIGNAL(activated(int)), this, SLOT(enableMenuColorStuff(int)));
- connect (dialog_->menuBackground, SIGNAL(activated(int)), this, SLOT(enableMenuColorStuff(int)));
- connect (dialog_->drawMenuStripe, SIGNAL(toggled(bool)), dialog_->menuStripeColor, SLOT(setEnabled(bool)));
-// connect (dialog_->tintBrush, SIGNAL(toggled(bool)), dialog_->brushBox, SLOT(setEnabled(bool)));
- connect (dialog_->useCustomColors, SIGNAL(toggled(bool)), dialog_->colorFrame, SLOT(setEnabled(bool)));
+ connect (dialog_->defaultStyle, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setDesign(int)));
+ connect (dialog_->inactiveColorType, TQ_SIGNAL(activated(int)), this, TQ_SLOT(enableInButtonColor(int)));
+ connect (dialog_->drawTreeLines, TQ_SIGNAL(toggled(bool)), dialog_->treeLineMode, TQ_SLOT(setEnabled(bool)));
+ connect (dialog_->drawTreeLines, TQ_SIGNAL(toggled(bool)), dialog_->treeLineColor, TQ_SLOT(setEnabled(bool)));
+ connect (dialog_->useCustomExpanderColor, TQ_SIGNAL(toggled(bool)), dialog_->customExpanderColor, TQ_SLOT(setEnabled(bool)));
+ connect (dialog_->menuColorMode, TQ_SIGNAL(activated(int)), this, TQ_SLOT(enableMenuColorStuff(int)));
+ connect (dialog_->menuBackground, TQ_SIGNAL(activated(int)), this, TQ_SLOT(enableMenuColorStuff(int)));
+ connect (dialog_->drawMenuStripe, TQ_SIGNAL(toggled(bool)), dialog_->menuStripeColor, TQ_SLOT(setEnabled(bool)));
+// connect (dialog_->tintBrush, TQ_SIGNAL(toggled(bool)), dialog_->brushBox, TQ_SLOT(setEnabled(bool)));
+ connect (dialog_->useCustomColors, TQ_SIGNAL(toggled(bool)), dialog_->colorFrame, TQ_SLOT(setEnabled(bool)));
// load settings
load();
@@ -1063,17 +1063,17 @@ AppSetter::AppSetter(TQWidget *parent, const char *name) : TQWidget(parent, name
colorDialog = new ColorDialog(this);
- connect(box, SIGNAL(toggled( bool )), link, SLOT(setDisabled(bool)));
- connect(box, SIGNAL(toggled( bool )), linkTo, SLOT(setDisabled(bool)));
- connect(style, SIGNAL(activated( int )), this, SLOT(handler(int)));
- connect(buttons, SIGNAL(activated( int )), this, SLOT(handleButtonStyles(int)));
- connect(toolButtons, SIGNAL(activated( int )), this, SLOT(handleButtonStyles(int)));
- connect(cancel, SIGNAL(clicked()), this, SLOT(reset()));
- connect(ok, SIGNAL(clicked()), this, SLOT(save()));
- connect(customColors, SIGNAL(toggled( bool )), buttonColors, SLOT(setEnabled(bool)));
- connect(buttonColors, SIGNAL(clicked()), colorDialog, SLOT(exec()));
- connect(colorDialog->buttonOk, SIGNAL(clicked()), this, SLOT(updateColors()));
- connect(colorDialog->buttonCancel, SIGNAL(clicked()), this, SLOT(resetColorPicker()));
+ connect(box, TQ_SIGNAL(toggled( bool )), link, TQ_SLOT(setDisabled(bool)));
+ connect(box, TQ_SIGNAL(toggled( bool )), linkTo, TQ_SLOT(setDisabled(bool)));
+ connect(style, TQ_SIGNAL(activated( int )), this, TQ_SLOT(handler(int)));
+ connect(buttons, TQ_SIGNAL(activated( int )), this, TQ_SLOT(handleButtonStyles(int)));
+ connect(toolButtons, TQ_SIGNAL(activated( int )), this, TQ_SLOT(handleButtonStyles(int)));
+ connect(cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reset()));
+ connect(ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(save()));
+ connect(customColors, TQ_SIGNAL(toggled( bool )), buttonColors, TQ_SLOT(setEnabled(bool)));
+ connect(buttonColors, TQ_SIGNAL(clicked()), colorDialog, TQ_SLOT(exec()));
+ connect(colorDialog->buttonOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateColors()));
+ connect(colorDialog->buttonCancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(resetColorPicker()));
reset();
}
diff --git a/deco/baghiraclient.cpp b/deco/baghiraclient.cpp
index ba55883..4ea47f3 100644
--- a/deco/baghiraclient.cpp
+++ b/deco/baghiraclient.cpp
@@ -189,13 +189,13 @@ void DeMaximizer::setClient(BaghiraClient *client)
{
if (client_)
{
- TQObject::disconnect ( client_, SIGNAL(hide()), this, SLOT(hide()) );
+ TQObject::disconnect ( client_, TQ_SIGNAL(hide()), this, TQ_SLOT(hide()) );
client_ = 0L;
}
if (client)
{
client_ = client;
- connect ( client_, SIGNAL(hide()), SLOT(hide()) );
+ connect ( client_, TQ_SIGNAL(hide()), TQ_SLOT(hide()) );
setState(0);
}
// repaint();
@@ -1278,7 +1278,7 @@ void BaghiraButton::enterEvent( TQEvent *e ) {
if (type_ == CloseButton)
{
_blocked = true;
- TQTimer::singleShot(250,this,SLOT(delayedEnterEvent()));
+ TQTimer::singleShot(250,this,TQ_SLOT(delayedEnterEvent()));
TQButton::enterEvent( e );
return;
}
@@ -1662,8 +1662,8 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s )
if ( !button[ MenuButton ] ) {
button[ MenuButton ] = new BaghiraButton( this, "menu",
i18n( "Menu" ), isTool(), MenuButton );
- connect( button[ MenuButton ], SIGNAL( pressed() ), this,
- SLOT( menuButtonPressed() ) );
+ connect( button[ MenuButton ], TQ_SIGNAL( pressed() ), this,
+ TQ_SLOT( menuButtonPressed() ) );
layout->addWidget( button[ MenuButton ] );
buttonAdded = true;
excursion = excursion + plusminus * MENUBUTTONWIDTH;
@@ -1680,8 +1680,8 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s )
}
button[ StickyButton ] = new BaghiraButton( this, "sticky",
tip, isTool(), StickyButton );
- connect( button[ StickyButton ], SIGNAL( clicked() ), this,
- SLOT( toggleOnAllDesktops() ) );
+ connect( button[ StickyButton ], TQ_SIGNAL( clicked() ), this,
+ TQ_SLOT( toggleOnAllDesktops() ) );
layout->addWidget( button[ StickyButton ] );
buttonAdded = true;
excursion = excursion + plusminus * BUTTONSIZE;
@@ -1693,8 +1693,8 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s )
if ( ( !button[ HelpButton ] ) && providesContextHelp() ) {
button[ HelpButton ] = new BaghiraButton( this, "help",
i18n( "Help" ), isTool(), HelpButton );
- connect( button[ HelpButton ], SIGNAL( clicked() ), this,
- SLOT( showContextHelp() ) );
+ connect( button[ HelpButton ], TQ_SIGNAL( clicked() ), this,
+ TQ_SLOT( showContextHelp() ) );
layout->addWidget( button[ HelpButton ] );
buttonAdded = true;
excursion = excursion + plusminus * BUTTONSIZE;
@@ -1706,8 +1706,8 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s )
if ( ( !button[ MinButton ] ) && isMinimizable() ) {
button[ MinButton ] = new BaghiraButton( this, "iconify",
i18n( "Minimize" ), isTool(), MinButton );
- connect( button[ MinButton ], SIGNAL( clicked() ), this,
- SLOT( minimize() ) );
+ connect( button[ MinButton ], TQ_SIGNAL( clicked() ), this,
+ TQ_SLOT( minimize() ) );
layout->addWidget( button[ MinButton ] );
buttonAdded = true;
excursion = excursion + plusminus * BUTTONSIZE;
@@ -1724,8 +1724,8 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s )
}
button[ MaxButton ] = new BaghiraButton( this, "maximize",
tip, isTool(), MaxButton );
- connect( button[ MaxButton ], SIGNAL( clicked() ), this,
- SLOT( maxButtonPressed() ) );
+ connect( button[ MaxButton ], TQ_SIGNAL( clicked() ), this,
+ TQ_SLOT( maxButtonPressed() ) );
layout->addWidget( button[ MaxButton ] );
buttonAdded = true;
excursion = excursion + plusminus * BUTTONSIZE;
@@ -1737,8 +1737,8 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s )
if ( ( !button[ CloseButton ] ) && isCloseable() ) {
button[ CloseButton ] = new BaghiraButton( this, "close",
i18n( "Close" ), isTool(), CloseButton );
- connect( button[ CloseButton ], SIGNAL( clicked() ), this,
- SLOT( closeWindow() ) );
+ connect( button[ CloseButton ], TQ_SIGNAL( clicked() ), this,
+ TQ_SLOT( closeWindow() ) );
layout->addWidget( button[ CloseButton ] );
buttonAdded = true;
excursion = excursion + plusminus * BUTTONSIZE;
@@ -1756,7 +1756,7 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s )
{
button[AboveBelowButton] = new BaghiraButton(this, "above", i18n("Keep Above/Below Others"), isTool(), AboveBelowButton);
button[AboveBelowButton]->setDown( keepAbove() || keepBelow() );
- connect(button[AboveBelowButton], SIGNAL(clicked()), this, SLOT(aboveBelowButtonPressed()));
+ connect(button[AboveBelowButton], TQ_SIGNAL(clicked()), this, TQ_SLOT(aboveBelowButtonPressed()));
layout->addWidget(button[AboveBelowButton]);
buttonAdded = true;
excursion = excursion + plusminus * BUTTONSIZE;
@@ -1767,7 +1767,7 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s )
if ((!button[ShadeButton] && isShadeable())) {
button[ShadeButton] = new BaghiraButton(this, "shade", isSetShade() ? tip = i18n("Unshade") : tip = i18n("Shade"), isTool(), ShadeButton);
button[ShadeButton]->setDown( isShade() );
- connect(button[ShadeButton], SIGNAL(clicked()), this, SLOT(shadeButtonPressed()));
+ connect(button[ShadeButton], TQ_SIGNAL(clicked()), this, TQ_SLOT(shadeButtonPressed()));
layout->addWidget(button[ShadeButton]);
buttonAdded = true;
excursion = excursion + plusminus * BUTTONSIZE;
@@ -1778,7 +1778,7 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s )
// if ((!button[ShadeButton] && isShadeable())) {
// button[ShadeButton] = new BaghiraButton(this, "shade", isSetShade() ? tip = i18n("Unshade") : tip = i18n("Shade"), isTool(), ShadeButton);
// button[ShadeButton]->setDown( isShade() );
-// connect(button[ShadeButton], SIGNAL(clicked()), this, SLOT(shadeButtonPressed()));
+// connect(button[ShadeButton], TQ_SIGNAL(clicked()), this, TQ_SLOT(shadeButtonPressed()));
// layout->addWidget(button[ShadeButton]);
// buttonAdded = true;
// excursion = excursion + plusminus * BUTTONSIZE;
diff --git a/deco/config/baghiraconfig.cpp b/deco/config/baghiraconfig.cpp
index 2ea55a8..9a09a94 100644
--- a/deco/config/baghiraconfig.cpp
+++ b/deco/config/baghiraconfig.cpp
@@ -53,96 +53,96 @@ BaghiraConfig::BaghiraConfig(TDEConfig*, TQWidget* parent)
dialog_->show();
- connect(dialog_->ButtonColorConfig, SIGNAL(clicked()), buttonDialog_, SLOT(exec()));
- connect(buttonDialog_->ok, SIGNAL(clicked()), SIGNAL(changed()));
+ connect(dialog_->ButtonColorConfig, TQ_SIGNAL(clicked()), buttonDialog_, TQ_SLOT(exec()));
+ connect(buttonDialog_->ok, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
// connections
- connect(dialog_->titlealign, SIGNAL(clicked(int)), SIGNAL(changed()));
- connect(dialog_->drawComicFrame, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->addAutoSpacing, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->allowEasyClosing, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->ResizeGrip, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->maxResizable, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->fullSpec, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->noModalDeco, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->delAppname, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->defaultMode, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->minTH, SIGNAL(valueChanged(int)), SIGNAL(changed()));
+ connect(dialog_->titlealign, TQ_SIGNAL(clicked(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->drawComicFrame, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->addAutoSpacing, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->allowEasyClosing, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->ResizeGrip, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->maxResizable, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->fullSpec, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->noModalDeco, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->delAppname, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->defaultMode, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->minTH, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
- connect(dialog_->activeColor1_J, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->activeColor2_J, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor1_J, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor2_J, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->buttonStyle_J, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->shapeUL_J, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeUR_J, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLL_J, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLR_J, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->drawIcon_J, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->titleeffect_J, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->i_titleeffect_J, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->_3DImpact_J, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->LineImpact_J, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->borderSize_J, SIGNAL(valueChanged(int)), SIGNAL(changed()));
+ connect(dialog_->activeColor1_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->activeColor2_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor1_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor2_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->buttonStyle_J, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUL_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUR_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLL_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLR_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->drawIcon_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->titleeffect_J, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->i_titleeffect_J, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->_3DImpact_J, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->LineImpact_J, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->borderSize_J, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
- connect(dialog_->activeColor1_P, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->activeColor2_P, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor1_P, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor2_P, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->buttonStyle_P, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->shapeUL_P, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeUR_P, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLL_P, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLR_P, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->drawIcon_P, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->titleeffect_P, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->i_titleeffect_P, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->_3DImpact_P, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->LineImpact_P, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->borderSize_P, SIGNAL(valueChanged(int)), SIGNAL(changed()));
+ connect(dialog_->activeColor1_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->activeColor2_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor1_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor2_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->buttonStyle_P, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUL_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUR_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLL_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLR_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->drawIcon_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->titleeffect_P, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->i_titleeffect_P, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->_3DImpact_P, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->LineImpact_P, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->borderSize_P, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
- connect(dialog_->activeColor1_B, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->activeColor2_B, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor1_B, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor2_B, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->buttonStyle_B, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->shapeUL_B, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeUR_B, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLL_B, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLR_B, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->drawIcon_B, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->titleeffect_B, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->i_titleeffect_B, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->_3DImpact_B, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->LineImpact_B, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->borderSize_B, SIGNAL(valueChanged(int)), SIGNAL(changed()));
+ connect(dialog_->activeColor1_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->activeColor2_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor1_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor2_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->buttonStyle_B, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUL_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUR_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLL_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLR_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->drawIcon_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->titleeffect_B, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->i_titleeffect_B, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->_3DImpact_B, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->LineImpact_B, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->borderSize_B, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
- connect(dialog_->activeColor1_T, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->activeColor2_T, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->buttonStyle_T, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->shapeUL_T, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeUR_T, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLL_T, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLR_T, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->drawIcon_T, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->_3DImpact_T, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->borderSize_T, SIGNAL(valueChanged(int)), SIGNAL(changed()));
+ connect(dialog_->activeColor1_T, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->activeColor2_T, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->buttonStyle_T, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUL_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUR_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLL_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLR_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->drawIcon_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->_3DImpact_T, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->borderSize_T, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
- connect(dialog_->activeColor1_S, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->activeColor2_S, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor1_S, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor2_S, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->buttonStyle_S, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->shapeUL_S, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeUR_S, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLL_S, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLR_S, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->drawIcon_S, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->titleeffect_S, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->i_titleeffect_S, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->_3DImpact_S, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->LineImpact_S, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->borderSize_S, SIGNAL(valueChanged(int)), SIGNAL(changed()));
+ connect(dialog_->activeColor1_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->activeColor2_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor1_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor2_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->buttonStyle_S, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUL_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUR_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLL_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLR_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->drawIcon_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->titleeffect_S, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->i_titleeffect_S, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->_3DImpact_S, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->LineImpact_S, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->borderSize_S, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
// config_->endGroup();
}
@@ -596,34 +596,34 @@ ButtonColors::ButtonColors(TQWidget *parent, const char * name) : TQDialog(paren
resize( TQSize(485, 177).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
- connect(presets_,SIGNAL(activated(int)), this, SLOT(setColorGroup(int)));
- connect(ok, SIGNAL(clicked()), this, SLOT(setSave()));
- connect(ok, SIGNAL(clicked()), this, SLOT(close()) );
- connect(ok, SIGNAL(clicked()), this, SLOT(init()) );
- connect(cancel, SIGNAL(clicked()), this, SLOT(close()) );
- connect(cancel, SIGNAL(clicked()), this, SLOT(reset()) );
+ connect(presets_,TQ_SIGNAL(activated(int)), this, TQ_SLOT(setColorGroup(int)));
+ connect(ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(setSave()));
+ connect(ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(close()) );
+ connect(ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(init()) );
+ connect(cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(close()) );
+ connect(cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reset()) );
- connect(inactiveButton, SIGNAL(clicked()), this, SLOT(activateInactive()) );
- connect(closeButton, SIGNAL(clicked()), this, SLOT(activateClose()) );
- connect(minButton, SIGNAL(clicked()), this, SLOT(activateMin()) );
- connect(maxButton, SIGNAL(clicked()), this, SLOT(activateMax()) );
- connect(menuButton, SIGNAL(clicked()), this, SLOT(activateMenu()) );
- connect(helpButton, SIGNAL(clicked()), this, SLOT(activateHelp()) );
- connect(stickyButton, SIGNAL(clicked()), this, SLOT(activateSticky()) );
- connect(aboveButton, SIGNAL(clicked()), this, SLOT(activateAbove()) );
- connect(behindButton, SIGNAL(clicked()), this, SLOT(activateBehind()) );
- connect(shadeButton, SIGNAL(clicked()), this, SLOT(activateShade()) );
+ connect(inactiveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateInactive()) );
+ connect(closeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateClose()) );
+ connect(minButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateMin()) );
+ connect(maxButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateMax()) );
+ connect(menuButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateMenu()) );
+ connect(helpButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateHelp()) );
+ connect(stickyButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateSticky()) );
+ connect(aboveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateAbove()) );
+ connect(behindButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateBehind()) );
+ connect(shadeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateShade()) );
- connect(inactiveColor, SIGNAL(colorChanged(TQColor)), inactiveButton, SLOT(setColor(TQColor)) );
- connect(closeColor, SIGNAL(colorChanged(TQColor)), closeButton, SLOT(setColor(TQColor)) );
- connect(minColor, SIGNAL(colorChanged(TQColor)), minButton, SLOT(setColor(TQColor)) );
- connect(maxColor, SIGNAL(colorChanged(TQColor)), maxButton, SLOT(setColor(TQColor)) );
- connect(menuColor, SIGNAL(colorChanged(TQColor)), menuButton, SLOT(setColor(TQColor)) );
- connect(helpColor, SIGNAL(colorChanged(TQColor)), helpButton, SLOT(setColor(TQColor)) );
- connect(stickyColor, SIGNAL(colorChanged(TQColor)), stickyButton, SLOT(setColor(TQColor)) );
- connect(aboveColor, SIGNAL(colorChanged(TQColor)), aboveButton, SLOT(setColor(TQColor)) );
- connect(behindColor, SIGNAL(colorChanged(TQColor)), behindButton, SLOT(setColor(TQColor)) );
- connect(shadeColor, SIGNAL(colorChanged(TQColor)), shadeButton, SLOT(setColor(TQColor)) );
+ connect(inactiveColor, TQ_SIGNAL(colorChanged(TQColor)), inactiveButton, TQ_SLOT(setColor(TQColor)) );
+ connect(closeColor, TQ_SIGNAL(colorChanged(TQColor)), closeButton, TQ_SLOT(setColor(TQColor)) );
+ connect(minColor, TQ_SIGNAL(colorChanged(TQColor)), minButton, TQ_SLOT(setColor(TQColor)) );
+ connect(maxColor, TQ_SIGNAL(colorChanged(TQColor)), maxButton, TQ_SLOT(setColor(TQColor)) );
+ connect(menuColor, TQ_SIGNAL(colorChanged(TQColor)), menuButton, TQ_SLOT(setColor(TQColor)) );
+ connect(helpColor, TQ_SIGNAL(colorChanged(TQColor)), helpButton, TQ_SLOT(setColor(TQColor)) );
+ connect(stickyColor, TQ_SIGNAL(colorChanged(TQColor)), stickyButton, TQ_SLOT(setColor(TQColor)) );
+ connect(aboveColor, TQ_SIGNAL(colorChanged(TQColor)), aboveButton, TQ_SLOT(setColor(TQColor)) );
+ connect(behindColor, TQ_SIGNAL(colorChanged(TQColor)), behindButton, TQ_SLOT(setColor(TQColor)) );
+ connect(shadeColor, TQ_SIGNAL(colorChanged(TQColor)), shadeButton, TQ_SLOT(setColor(TQColor)) );
}
diff --git a/deco/config/colorpicker.cpp b/deco/config/colorpicker.cpp
index c5301c1..7f1e677 100644
--- a/deco/config/colorpicker.cpp
+++ b/deco/config/colorpicker.cpp
@@ -48,12 +48,12 @@ ColorPicker::ColorPicker(TQWidget* parent, const char* name) : TQGroupBox( paren
// resize( TQSize(350, 100).expandedTo(minimumSizeHint()) );
//connections
- connect(redSlider, SIGNAL(valueChanged (int)), this, SLOT(setRed(int)));
- connect(greenSlider, SIGNAL(valueChanged (int)), this, SLOT(setGreen(int)));
- connect(blueSlider, SIGNAL(valueChanged (int)), this, SLOT(setBlue(int)));
- connect(redValue, SIGNAL(valueChanged (int)), this, SLOT(setRed(int)));
- connect(greenValue, SIGNAL(valueChanged (int)), this, SLOT(setGreen(int)));
- connect(blueValue, SIGNAL(valueChanged (int)), this, SLOT(setBlue(int)));
+ connect(redSlider, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(setRed(int)));
+ connect(greenSlider, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(setGreen(int)));
+ connect(blueSlider, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(setBlue(int)));
+ connect(redValue, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(setRed(int)));
+ connect(greenValue, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(setGreen(int)));
+ connect(blueValue, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(setBlue(int)));
}
ColorPicker::~ColorPicker(){
diff --git a/deco/config/new/baghiraconfig.cpp b/deco/config/new/baghiraconfig.cpp
index c03e90e..6b967cf 100644
--- a/deco/config/new/baghiraconfig.cpp
+++ b/deco/config/new/baghiraconfig.cpp
@@ -54,96 +54,96 @@ BaghiraConfig::BaghiraConfig(TDEConfig*, TQWidget* parent)
dialog_->show();
- connect(dialog_->ButtonColorConfig, SIGNAL(clicked()), buttonDialog_, SLOT(exec()));
- connect(buttonDialog_->ok, SIGNAL(clicked()), SIGNAL(changed()));
+ connect(dialog_->ButtonColorConfig, TQ_SIGNAL(clicked()), buttonDialog_, TQ_SLOT(exec()));
+ connect(buttonDialog_->ok, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
// connections
- connect(dialog_->titlealign, SIGNAL(clicked(int)), SIGNAL(changed()));
- connect(dialog_->drawComicFrame, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->addAutoSpacing, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->allowEasyClosing, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->ResizeGrip, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->maxResizable, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->fullSpec, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->noModalDeco, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->delAppname, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->defaultMode, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->minTH, SIGNAL(valueChanged(int)), SIGNAL(changed()));
+ connect(dialog_->titlealign, TQ_SIGNAL(clicked(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->drawComicFrame, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->addAutoSpacing, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->allowEasyClosing, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->ResizeGrip, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->maxResizable, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->fullSpec, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->noModalDeco, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->delAppname, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->defaultMode, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->minTH, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
- connect(dialog_->activeColor1_J, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->activeColor2_J, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor1_J, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor2_J, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->buttonStyle_J, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->shapeUL_J, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeUR_J, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLL_J, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLR_J, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->drawIcon_J, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->titleeffect_J, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->i_titleeffect_J, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->_3DImpact_J, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->LineImpact_J, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->borderSize_J, SIGNAL(valueChanged(int)), SIGNAL(changed()));
+ connect(dialog_->activeColor1_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->activeColor2_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor1_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor2_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->buttonStyle_J, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUL_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUR_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLL_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLR_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->drawIcon_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->titleeffect_J, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->i_titleeffect_J, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->_3DImpact_J, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->LineImpact_J, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->borderSize_J, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
- connect(dialog_->activeColor1_P, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->activeColor2_P, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor1_P, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor2_P, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->buttonStyle_P, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->shapeUL_P, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeUR_P, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLL_P, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLR_P, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->drawIcon_P, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->titleeffect_P, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->i_titleeffect_P, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->_3DImpact_P, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->LineImpact_P, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->borderSize_P, SIGNAL(valueChanged(int)), SIGNAL(changed()));
+ connect(dialog_->activeColor1_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->activeColor2_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor1_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor2_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->buttonStyle_P, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUL_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUR_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLL_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLR_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->drawIcon_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->titleeffect_P, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->i_titleeffect_P, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->_3DImpact_P, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->LineImpact_P, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->borderSize_P, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
- connect(dialog_->activeColor1_B, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->activeColor2_B, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor1_B, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor2_B, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->buttonStyle_B, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->shapeUL_B, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeUR_B, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLL_B, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLR_B, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->drawIcon_B, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->titleeffect_B, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->i_titleeffect_B, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->_3DImpact_B, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->LineImpact_B, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->borderSize_B, SIGNAL(valueChanged(int)), SIGNAL(changed()));
+ connect(dialog_->activeColor1_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->activeColor2_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor1_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor2_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->buttonStyle_B, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUL_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUR_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLL_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLR_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->drawIcon_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->titleeffect_B, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->i_titleeffect_B, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->_3DImpact_B, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->LineImpact_B, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->borderSize_B, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
- connect(dialog_->activeColor1_T, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->activeColor2_T, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->buttonStyle_T, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->shapeUL_T, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeUR_T, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLL_T, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLR_T, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->drawIcon_T, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->_3DImpact_T, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->borderSize_T, SIGNAL(valueChanged(int)), SIGNAL(changed()));
+ connect(dialog_->activeColor1_T, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->activeColor2_T, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->buttonStyle_T, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUL_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUR_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLL_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLR_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->drawIcon_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->_3DImpact_T, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->borderSize_T, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
- connect(dialog_->activeColor1_S, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->activeColor2_S, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor1_S, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->inactiveColor2_S, SIGNAL(clicked()), SIGNAL(changed()));
- connect(dialog_->buttonStyle_S, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->shapeUL_S, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeUR_S, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLL_S, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->shapeLR_S, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->drawIcon_S, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(dialog_->titleeffect_S, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->i_titleeffect_S, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(dialog_->_3DImpact_S, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->LineImpact_S, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(dialog_->borderSize_S, SIGNAL(valueChanged(int)), SIGNAL(changed()));
+ connect(dialog_->activeColor1_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->activeColor2_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor1_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->inactiveColor2_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
+ connect(dialog_->buttonStyle_S, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUL_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeUR_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLL_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->shapeLR_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->drawIcon_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(dialog_->titleeffect_S, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->i_titleeffect_S, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->_3DImpact_S, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->LineImpact_S, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(dialog_->borderSize_S, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
// config_->endGroup();
}
@@ -597,34 +597,34 @@ ButtonColors::ButtonColors(TQWidget *parent, const char * name) : TQDialog(paren
resize( TQSize(485, 177).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
- connect(presets_,SIGNAL(activated(int)), this, SLOT(setColorGroup(int)));
- connect(ok, SIGNAL(clicked()), this, SLOT(setSave()));
- connect(ok, SIGNAL(clicked()), this, SLOT(close()) );
- connect(ok, SIGNAL(clicked()), this, SLOT(init()) );
- connect(cancel, SIGNAL(clicked()), this, SLOT(close()) );
- connect(cancel, SIGNAL(clicked()), this, SLOT(reset()) );
+ connect(presets_,TQ_SIGNAL(activated(int)), this, TQ_SLOT(setColorGroup(int)));
+ connect(ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(setSave()));
+ connect(ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(close()) );
+ connect(ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(init()) );
+ connect(cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(close()) );
+ connect(cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reset()) );
- connect(inactiveButton, SIGNAL(clicked()), this, SLOT(activateInactive()) );
- connect(closeButton, SIGNAL(clicked()), this, SLOT(activateClose()) );
- connect(minButton, SIGNAL(clicked()), this, SLOT(activateMin()) );
- connect(maxButton, SIGNAL(clicked()), this, SLOT(activateMax()) );
- connect(menuButton, SIGNAL(clicked()), this, SLOT(activateMenu()) );
- connect(helpButton, SIGNAL(clicked()), this, SLOT(activateHelp()) );
- connect(stickyButton, SIGNAL(clicked()), this, SLOT(activateSticky()) );
- connect(aboveButton, SIGNAL(clicked()), this, SLOT(activateAbove()) );
- connect(behindButton, SIGNAL(clicked()), this, SLOT(activateBehind()) );
- connect(shadeButton, SIGNAL(clicked()), this, SLOT(activateShade()) );
+ connect(inactiveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateInactive()) );
+ connect(closeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateClose()) );
+ connect(minButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateMin()) );
+ connect(maxButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateMax()) );
+ connect(menuButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateMenu()) );
+ connect(helpButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateHelp()) );
+ connect(stickyButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateSticky()) );
+ connect(aboveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateAbove()) );
+ connect(behindButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateBehind()) );
+ connect(shadeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateShade()) );
- connect(inactiveColor, SIGNAL(colorChanged(TQColor)), inactiveButton, SLOT(setColor(TQColor)) );
- connect(closeColor, SIGNAL(colorChanged(TQColor)), closeButton, SLOT(setColor(TQColor)) );
- connect(minColor, SIGNAL(colorChanged(TQColor)), minButton, SLOT(setColor(TQColor)) );
- connect(maxColor, SIGNAL(colorChanged(TQColor)), maxButton, SLOT(setColor(TQColor)) );
- connect(menuColor, SIGNAL(colorChanged(TQColor)), menuButton, SLOT(setColor(TQColor)) );
- connect(helpColor, SIGNAL(colorChanged(TQColor)), helpButton, SLOT(setColor(TQColor)) );
- connect(stickyColor, SIGNAL(colorChanged(TQColor)), stickyButton, SLOT(setColor(TQColor)) );
- connect(aboveColor, SIGNAL(colorChanged(TQColor)), aboveButton, SLOT(setColor(TQColor)) );
- connect(behindColor, SIGNAL(colorChanged(TQColor)), behindButton, SLOT(setColor(TQColor)) );
- connect(shadeColor, SIGNAL(colorChanged(TQColor)), shadeButton, SLOT(setColor(TQColor)) );
+ connect(inactiveColor, TQ_SIGNAL(colorChanged(TQColor)), inactiveButton, TQ_SLOT(setColor(TQColor)) );
+ connect(closeColor, TQ_SIGNAL(colorChanged(TQColor)), closeButton, TQ_SLOT(setColor(TQColor)) );
+ connect(minColor, TQ_SIGNAL(colorChanged(TQColor)), minButton, TQ_SLOT(setColor(TQColor)) );
+ connect(maxColor, TQ_SIGNAL(colorChanged(TQColor)), maxButton, TQ_SLOT(setColor(TQColor)) );
+ connect(menuColor, TQ_SIGNAL(colorChanged(TQColor)), menuButton, TQ_SLOT(setColor(TQColor)) );
+ connect(helpColor, TQ_SIGNAL(colorChanged(TQColor)), helpButton, TQ_SLOT(setColor(TQColor)) );
+ connect(stickyColor, TQ_SIGNAL(colorChanged(TQColor)), stickyButton, TQ_SLOT(setColor(TQColor)) );
+ connect(aboveColor, TQ_SIGNAL(colorChanged(TQColor)), aboveButton, TQ_SLOT(setColor(TQColor)) );
+ connect(behindColor, TQ_SIGNAL(colorChanged(TQColor)), behindButton, TQ_SLOT(setColor(TQColor)) );
+ connect(shadeColor, TQ_SIGNAL(colorChanged(TQColor)), shadeButton, TQ_SLOT(setColor(TQColor)) );
}
diff --git a/kickermenu-3.3/menuapplet.cpp b/kickermenu-3.3/menuapplet.cpp
index 75e9d30..fb3424e 100644
--- a/kickermenu-3.3/menuapplet.cpp
+++ b/kickermenu-3.3/menuapplet.cpp
@@ -94,7 +94,7 @@ Applet::Applet( const TQString& configFile_P, TQWidget* parent_P )
TQIntDict<TQMenuBar>(97); //allowing 97 entries - should be enough, if not - who cares: just a label and hashtables are slightly faster than lists...
windowIndicator = new TQMenuBar(this);
windowList = new KWindowListMenu(windowIndicator);
- connect(windowList, SIGNAL(aboutToShow()), this, SLOT(initPopup()));
+ connect(windowList, TQ_SIGNAL(aboutToShow()), this, TQ_SLOT(initPopup()));
windowIndicator->insertItem( "KDE", windowList, 0);
windowIndicator->move(0,-1);
windowIndicator->show();
@@ -104,11 +104,11 @@ Applet::Applet( const TQString& configFile_P, TQWidget* parent_P )
dcopclient.registerAs( "menuapplet", false );
grow_indicator_left.hide();
grow_indicator_right.hide();
- connect( &grow_indicator_left, SIGNAL( clicked()), SLOT( growClicked()));
- connect( &grow_indicator_right, SIGNAL( clicked()), SLOT( growClicked()));
+ connect( &grow_indicator_left, TQ_SIGNAL( clicked()), TQ_SLOT( growClicked()));
+ connect( &grow_indicator_right, TQ_SIGNAL( clicked()), TQ_SLOT( growClicked()));
// toolbarAppearanceChanged(int) is sent when changing macstyle
- connect( kapp, SIGNAL( toolbarAppearanceChanged( int )),
- this, SLOT( readSettings()));
+ connect( kapp, TQ_SIGNAL( toolbarAppearanceChanged( int )),
+ this, TQ_SLOT( readSettings()));
claimSelection();
readSettings();
}
@@ -434,12 +434,12 @@ void Applet::claimSelection()
{
delete selection_watcher;
selection_watcher = NULL;
- connect( selection, SIGNAL( lostOwnership()), SLOT( lostSelection()));
+ connect( selection, TQ_SIGNAL( lostOwnership()), TQ_SLOT( lostSelection()));
module = new KWinModule;
- connect( module, SIGNAL( windowAdded( WId )), this, SLOT( windowAdded( WId )));
- connect( module, SIGNAL( windowRemoved( WId )), this, SLOT( windowRemoved( WId )));
- connect( module, SIGNAL( activeWindowChanged( WId )),
- this, SLOT( activeWindowChanged( WId )));
+ connect( module, TQ_SIGNAL( windowAdded( WId )), this, TQ_SLOT( windowAdded( WId )));
+ connect( module, TQ_SIGNAL( windowRemoved( WId )), this, TQ_SLOT( windowRemoved( WId )));
+ connect( module, TQ_SIGNAL( activeWindowChanged( WId )),
+ this, TQ_SLOT( activeWindowChanged( WId )));
TQValueList< WId > windows = module->windows();
for( TQValueList< WId >::ConstIterator it = windows.begin();
it != windows.end();
@@ -465,7 +465,7 @@ void Applet::lostSelection()
if( selection_watcher == NULL )
{
selection_watcher = new TDESelectionWatcher( makeSelectionAtom(), DefaultScreen( tqt_xdisplay()));
- connect( selection_watcher, SIGNAL( lostOwner()), this, SLOT( claimSelection()));
+ connect( selection_watcher, TQ_SIGNAL( lostOwner()), this, TQ_SLOT( claimSelection()));
}
delete module;
module = NULL;
diff --git a/kickermenu/menuapplet.cpp b/kickermenu/menuapplet.cpp
index 9ec8ec2..2f14be2 100644
--- a/kickermenu/menuapplet.cpp
+++ b/kickermenu/menuapplet.cpp
@@ -101,7 +101,7 @@ Applet::Applet( const TQString& configFile_P, TQWidget* parent_P ) : KPanelApple
windowIndicator->setBackgroundOrigin(TQWidget::WidgetOrigin);
windowIndicator->setLineWidth(0);
windowList = new KWindowListMenu(windowIndicator);
- connect(windowList, SIGNAL(aboutToShow()), this, SLOT(initPopup()));
+ connect(windowList, TQ_SIGNAL(aboutToShow()), this, TQ_SLOT(initPopup()));
windowIndicator->insertItem( "KDE", windowList, 0);
TQFont tmpFont = TDEGlobalSettings::menuFont();
windowIndicator->setFont(tmpFont);
@@ -116,8 +116,8 @@ Applet::Applet( const TQString& configFile_P, TQWidget* parent_P ) : KPanelApple
windowIndicator->setFixedWidth(windowIndicator->width() + 1);
//==============
// toolbarAppearanceChanged(int) is sent when changing macstyle
- connect( kapp, SIGNAL( toolbarAppearanceChanged( int )), this, SLOT( readSettings()));
- connect( kapp, SIGNAL( tdedisplayFontChanged()), this, SLOT( fontChanged()));
+ connect( kapp, TQ_SIGNAL( toolbarAppearanceChanged( int )), this, TQ_SLOT( readSettings()));
+ connect( kapp, TQ_SIGNAL( tdedisplayFontChanged()), this, TQ_SLOT( fontChanged()));
claimSelection();
readSettings();
updateTopEdgeOffset();
@@ -167,7 +167,7 @@ void Applet::moveMenu()
if (!wannaMove)
return;
active_menu->move( active_menu->x() + menuDX, active_menu->y());
- TQTimer::singleShot(100, this, SLOT(moveMenu()));
+ TQTimer::singleShot(100, this, TQ_SLOT(moveMenu()));
}
bool Applet::eventFilter(TQObject *o, TQEvent *ev)
@@ -181,14 +181,14 @@ bool Applet::eventFilter(TQObject *o, TQEvent *ev)
menuDX = -5;
wannaMove = true;
active_menu->move( active_menu->x() - 5, active_menu->y());
- TQTimer::singleShot(200, this, SLOT(moveMenu()));
+ TQTimer::singleShot(200, this, TQ_SLOT(moveMenu()));
}
else
{
menuDX = 5;
wannaMove = true;
active_menu->move( active_menu->x() + 5, active_menu->y());
- TQTimer::singleShot(200, this, SLOT(moveMenu()));
+ TQTimer::singleShot(200, this, TQ_SLOT(moveMenu()));
}
return false;
}
@@ -510,10 +510,10 @@ void Applet::claimSelection()
{
delete selection_watcher;
selection_watcher = NULL;
- connect( selection, SIGNAL( lostOwnership()), SLOT( lostSelection()));
+ connect( selection, TQ_SIGNAL( lostOwnership()), TQ_SLOT( lostSelection()));
module = new KWinModule;
- connect( module, SIGNAL( windowAdded( WId )), this, SLOT( windowAdded( WId )));
- connect( module, SIGNAL( activeWindowChanged( WId )), this, SLOT( activeWindowChanged( WId )));
+ connect( module, TQ_SIGNAL( windowAdded( WId )), this, TQ_SLOT( windowAdded( WId )));
+ connect( module, TQ_SIGNAL( activeWindowChanged( WId )), this, TQ_SLOT( activeWindowChanged( WId )));
TQValueList< WId > windows = module->windows();
for( TQValueList< WId >::ConstIterator it = windows.begin(); it != windows.end(); ++it )
windowAdded( *it );
@@ -537,7 +537,7 @@ void Applet::lostSelection()
if( selection_watcher == NULL )
{
selection_watcher = new TDESelectionWatcher( makeSelectionAtom(), DefaultScreen( tqt_xdisplay()));
- connect( selection_watcher, SIGNAL( lostOwner()), this, SLOT( claimSelection()));
+ connect( selection_watcher, TQ_SIGNAL( lostOwner()), this, TQ_SLOT( claimSelection()));
}
delete module;
module = NULL;
diff --git a/sessionapplet/usermanager.cpp b/sessionapplet/usermanager.cpp
index 3fe5958..2d41cc2 100644
--- a/sessionapplet/usermanager.cpp
+++ b/sessionapplet/usermanager.cpp
@@ -60,8 +60,8 @@ UserManager::UserManager(const TQString& configFile, Type type, int actions, TQW
// sessions
sessionPopup = new TQPopupMenu(this);
menu->insertItem ( getenv("USER"), sessionPopup, 0);
- connect( sessionPopup, SIGNAL(aboutToShow()), SLOT(slotPopulateSessions()) );
- connect( sessionPopup, SIGNAL(activated(int)), SLOT(slotSessionActivated(int)) );
+ connect( sessionPopup, TQ_SIGNAL(aboutToShow()), TQ_SLOT(slotPopulateSessions()) );
+ connect( sessionPopup, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSessionActivated(int)) );
// languages
langPopup = new TQPopupMenu(this);
@@ -74,9 +74,9 @@ UserManager::UserManager(const TQString& configFile, Type type, int actions, TQW
// langLabel->setPixmap(_ICONSET_(flag).pixmap());
menu->insertItem ( '[' + langList[0].section('_',0,0) + ']', langPopup, 1 );
- menu->connectItem ( 1, this, SLOT(slotPopulateLanguages()) );
- connect( langPopup, SIGNAL(aboutToShow()), SLOT(slotPopulateLanguages()) );
- connect( langPopup, SIGNAL(activated(int)), SLOT(slotLanguageActivated(int)) );
+ menu->connectItem ( 1, this, TQ_SLOT(slotPopulateLanguages()) );
+ connect( langPopup, TQ_SIGNAL(aboutToShow()), TQ_SLOT(slotPopulateLanguages()) );
+ connect( langPopup, TQ_SIGNAL(activated(int)), TQ_SLOT(slotLanguageActivated(int)) );
menu->adjustSize();
diff --git a/sidebar/baghirasidebar.cpp b/sidebar/baghirasidebar.cpp
index 5df1453..444affc 100644
--- a/sidebar/baghirasidebar.cpp
+++ b/sidebar/baghirasidebar.cpp
@@ -14,8 +14,8 @@ baghiraSidebar::baghiraSidebar(TDEInstance *inst,TQObject *parent,TQWidget *widg
{
scrollView = new LinkView(widgetParent);
scrollView->setHScrollBarMode(TQScrollView::AlwaysOff);
- connect (scrollView->Hardware(), SIGNAL(clicked(TQListBoxItem *)), this, SLOT(callURL(TQListBoxItem *)));
- connect (scrollView->Locations(), SIGNAL(clicked(TQListBoxItem *)), this, SLOT(callURL(TQListBoxItem *)));
+ connect (scrollView->Hardware(), TQ_SIGNAL(clicked(TQListBoxItem *)), this, TQ_SLOT(callURL(TQListBoxItem *)));
+ connect (scrollView->Locations(), TQ_SIGNAL(clicked(TQListBoxItem *)), this, TQ_SLOT(callURL(TQListBoxItem *)));
}
baghiraSidebar::~baghiraSidebar()
diff --git a/sidebar/dndlistbox.cpp b/sidebar/dndlistbox.cpp
index c476316..83a471b 100644
--- a/sidebar/dndlistbox.cpp
+++ b/sidebar/dndlistbox.cpp
@@ -44,12 +44,12 @@ ResizingLinkBox::ResizingLinkBox( TQWidget * parent, const char * name, WFlags f
size_ = config.readNumEntry (TQString(name) + "_IconSize", 48);
popupMenu = new TDEPopupMenu;
popupMenu->insertTitle (i18n("Icon Size"),122,122);
- popupMenu->insertItem("16x16", this, SLOT(setIconSize(int)),0,16,123);
- popupMenu->insertItem("22x22", this, SLOT(setIconSize(int)),0,22,124);
- popupMenu->insertItem("32x32", this, SLOT(setIconSize(int)),0,32,125);
- popupMenu->insertItem("48x48", this, SLOT(setIconSize(int)),0,48,126);
- popupMenu->insertItem("64x64", this, SLOT(setIconSize(int)),0,64,127);
- popupMenu->insertItem("128x128", this, SLOT(setIconSize(int)),0,128,128);
+ popupMenu->insertItem("16x16", this, TQ_SLOT(setIconSize(int)),0,16,123);
+ popupMenu->insertItem("22x22", this, TQ_SLOT(setIconSize(int)),0,22,124);
+ popupMenu->insertItem("32x32", this, TQ_SLOT(setIconSize(int)),0,32,125);
+ popupMenu->insertItem("48x48", this, TQ_SLOT(setIconSize(int)),0,48,126);
+ popupMenu->insertItem("64x64", this, TQ_SLOT(setIconSize(int)),0,64,127);
+ popupMenu->insertItem("128x128", this, TQ_SLOT(setIconSize(int)),0,128,128);
}
void ResizingLinkBox::insertItem( const TQListBoxItem *lbi, int index )
@@ -274,7 +274,7 @@ ListBoxDevice *MediaListBox::createListBoxDevice(TQStringList & deviceProperties
label = deviceProperties[MEDIALIST_PROPS*n+LABEL];
label = i18n(label.section( " (", 0, 0 ).utf8());
}
- return new ListBoxDevice( icon, size_, label, "system:/media/"+deviceProperties[MEDIALIST_PROPS*n+NAME], deviceProperties[MEDIALIST_PROPS*n+NAME], deviceProperties[MEDIALIST_PROPS*n+DEVICE_NODE], deviceProperties[MEDIALIST_PROPS*n+MOUNTED] == "true", icon.contains("dvd") || icon.contains("cdrom") || icon.contains("cdwriter"),icon.contains("floppy"), devicePopup->insertItem(deviceProperties[MEDIALIST_PROPS*n+NAME], this, SLOT(toggleDevice(int))));
+ return new ListBoxDevice( icon, size_, label, "system:/media/"+deviceProperties[MEDIALIST_PROPS*n+NAME], deviceProperties[MEDIALIST_PROPS*n+NAME], deviceProperties[MEDIALIST_PROPS*n+DEVICE_NODE], deviceProperties[MEDIALIST_PROPS*n+MOUNTED] == "true", icon.contains("dvd") || icon.contains("cdrom") || icon.contains("cdwriter"),icon.contains("floppy"), devicePopup->insertItem(deviceProperties[MEDIALIST_PROPS*n+NAME], this, TQ_SLOT(toggleDevice(int))));
}
int MediaListBox::index (const TQString & name )
@@ -413,7 +413,7 @@ void MediaListBox::mousePressEvent ( TQMouseEvent *mpe )
if (device && device->name().contains("fd"))
{
currentFloppy = device;
- popupMenu->insertItem(i18n("Format disk..."), this, SLOT(kfloppy()),0,_FLOPPYID_,_FLOPPYINDEX_);
+ popupMenu->insertItem(i18n("Format disk..."), this, TQ_SLOT(kfloppy()),0,_FLOPPYID_,_FLOPPYINDEX_);
}
popupMenu->popup(mpe->globalPos());
return;
@@ -451,7 +451,7 @@ ResizingLinkBox( parent, name, f), _poof(0), _poofIndex(0), _poofAnimPix(0), _po
{
setAcceptDrops(true);
dialog = new LinkConfig();
- connect(dialog->buttonOk, SIGNAL(clicked()), this, SLOT(updateLink()));
+ connect(dialog->buttonOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateLink()));
setCursor(TQt::PointingHandCursor);
}
@@ -496,7 +496,7 @@ void DnDListBox::runPoof()
_poof->erase();
bitBlt(_poof, 0 ,0, _poofPix, 0, _poofIndex * _poofPix->width(), _poofPix->width(), _poofPix->width(), TQt::AndROP);
++_poofIndex;
- TQTimer::singleShot ( 70, this, SLOT(runPoof()) ); // around 15 fps
+ TQTimer::singleShot ( 70, this, TQ_SLOT(runPoof()) ); // around 15 fps
}
void DnDListBox::dragEnterEvent ( TQDragEnterEvent *dee )
@@ -584,7 +584,7 @@ void DnDListBox::mousePressEvent ( TQMouseEvent *mpe )
if (device)
{
currentItem = device;
- popupMenu->insertItem("Edit link...", this, SLOT(configureLink()),0,0,0);
+ popupMenu->insertItem("Edit link...", this, TQ_SLOT(configureLink()),0,0,0);
}
popupMenu->popup(mpe->globalPos());
return;
diff --git a/sidebar/linkview.cpp b/sidebar/linkview.cpp
index 23b6cbe..b012b20 100644
--- a/sidebar/linkview.cpp
+++ b/sidebar/linkview.cpp
@@ -54,14 +54,14 @@ LinkView::LinkView(TQWidget * parent, const char * name, WFlags f):
locations->setCurrentItem(0);
locations->setSelected( locations->selectedItem(), false );
hardware->installEventFilter(this);
- connect (hardware, SIGNAL(highlighted( int )), this, SLOT(unselectLocations()));
- connect (locations, SIGNAL(highlighted( int )), this, SLOT(unselectHardware()));
- connect (hardware, SIGNAL(scrolled(int,int)), this, SLOT(scrollBy(int,int)));
- connect (locations, SIGNAL(scrolled(int,int)), this, SLOT(scrollBy(int,int)));
- connect (hardware, SIGNAL(itemNumberChanged(bool)), this, SLOT(adjustSplitter2Hardware(bool)));
- connect (locations, SIGNAL(itemNumberChanged(bool)), this, SLOT(adjustSplitter2Locations()));
- TQTimer::singleShot(50, this, SLOT(adjustSplitter2Locations()));
- TQTimer::singleShot(60, this, SLOT(postInstallEventFilter()));
+ connect (hardware, TQ_SIGNAL(highlighted( int )), this, TQ_SLOT(unselectLocations()));
+ connect (locations, TQ_SIGNAL(highlighted( int )), this, TQ_SLOT(unselectHardware()));
+ connect (hardware, TQ_SIGNAL(scrolled(int,int)), this, TQ_SLOT(scrollBy(int,int)));
+ connect (locations, TQ_SIGNAL(scrolled(int,int)), this, TQ_SLOT(scrollBy(int,int)));
+ connect (hardware, TQ_SIGNAL(itemNumberChanged(bool)), this, TQ_SLOT(adjustSplitter2Hardware(bool)));
+ connect (locations, TQ_SIGNAL(itemNumberChanged(bool)), this, TQ_SLOT(adjustSplitter2Locations()));
+ TQTimer::singleShot(50, this, TQ_SLOT(adjustSplitter2Locations()));
+ TQTimer::singleShot(60, this, TQ_SLOT(postInstallEventFilter()));
}
static EventKiller *eventKiller = 0L;
diff --git a/starter/menu.cpp b/starter/menu.cpp
index 301af03..3914129 100644
--- a/starter/menu.cpp
+++ b/starter/menu.cpp
@@ -228,9 +228,9 @@ void StartMenuButton::mouseReleaseEvent ( TQMouseEvent * mre)
((Panel*)parentWidget())->linkConfigDialog->title->setText(m_title);
((Panel*)parentWidget())->linkConfigDialog->command->setText(m_command);
((Panel*)parentWidget())->linkConfigDialog->icon->setIcon(m_icon);
- disconnect(((Panel*)parentWidget())->linkConfigDialog->buttonOk, SIGNAL(clicked()), 0, 0);
- connect(((Panel*)parentWidget())->linkConfigDialog->buttonOk, SIGNAL(clicked()), ((Panel*)parentWidget())->linkConfigDialog, SLOT(accept()));
- connect(((Panel*)parentWidget())->linkConfigDialog->buttonOk, SIGNAL(clicked()), this, SLOT(edit()));
+ disconnect(((Panel*)parentWidget())->linkConfigDialog->buttonOk, TQ_SIGNAL(clicked()), 0, 0);
+ connect(((Panel*)parentWidget())->linkConfigDialog->buttonOk, TQ_SIGNAL(clicked()), ((Panel*)parentWidget())->linkConfigDialog, TQ_SLOT(accept()));
+ connect(((Panel*)parentWidget())->linkConfigDialog->buttonOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(edit()));
((Panel*)parentWidget())->linkConfigDialog->exec();
}
}
@@ -844,7 +844,7 @@ void Panel::runPoof()
_poof->erase();
bitBlt(_poof, 0 ,0, _poofPix, 0, _poofIndex * _poofPix->width(), _poofPix->width(), _poofPix->width(), TQt::AndROP);
++_poofIndex;
- TQTimer::singleShot ( 70, this, SLOT(runPoof()) ); // around 15 fps
+ TQTimer::singleShot ( 70, this, TQ_SLOT(runPoof()) ); // around 15 fps
}
void Panel::mouseReleaseEvent ( TQMouseEvent * mre )
@@ -856,9 +856,9 @@ void Panel::mouseReleaseEvent ( TQMouseEvent * mre )
linkConfigDialog->title->clear();
linkConfigDialog->command->clear();
linkConfigDialog->icon->resetIcon();
- disconnect(linkConfigDialog->buttonOk, SIGNAL(clicked()), 0, 0);
- connect(linkConfigDialog->buttonOk, SIGNAL(clicked()), linkConfigDialog, SLOT(accept()));
- connect(linkConfigDialog->buttonOk, SIGNAL(clicked()), this, SLOT(addIcon()));
+ disconnect(linkConfigDialog->buttonOk, TQ_SIGNAL(clicked()), 0, 0);
+ connect(linkConfigDialog->buttonOk, TQ_SIGNAL(clicked()), linkConfigDialog, TQ_SLOT(accept()));
+ connect(linkConfigDialog->buttonOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(addIcon()));
linkConfigDialog->exec();
}
}
@@ -1049,11 +1049,11 @@ StartMenuButton* Panel::addIcon ( TQString icon, TQString title, TQString comman
// reposition icon
repositionIcon(tmpButton, pt);
// connections
- connect (tmpButton, SIGNAL(hovered(const TQString &)), this, SIGNAL(message(const TQString &)));
- connect (tmpButton, SIGNAL(unhovered()), this, SIGNAL(clearStatus()));
- connect (tmpButton, SIGNAL(updateSize(int)), this, SLOT(updateSize(int)));
- connect (tmpButton, SIGNAL(pressed(const TQString &)), parent(), SLOT(execute(const TQString &)));
- connect (tmpButton, SIGNAL(pressed(const TQString &)), parent(), SLOT(close()));
+ connect (tmpButton, TQ_SIGNAL(hovered(const TQString &)), this, TQ_SIGNAL(message(const TQString &)));
+ connect (tmpButton, TQ_SIGNAL(unhovered()), this, TQ_SIGNAL(clearStatus()));
+ connect (tmpButton, TQ_SIGNAL(updateSize(int)), this, TQ_SLOT(updateSize(int)));
+ connect (tmpButton, TQ_SIGNAL(pressed(const TQString &)), parent(), TQ_SLOT(execute(const TQString &)));
+ connect (tmpButton, TQ_SIGNAL(pressed(const TQString &)), parent(), TQ_SLOT(close()));
// done
// inc counter
_count++;
@@ -1083,8 +1083,8 @@ AppList::AppList(int size, TQWidget * parent) : TQScrollView(parent), _size(size
setFrameStyle(TQFrame::LineEditPanel | TQFrame::Sunken );
configDialog_ = new ConfigDialog;
helpDialog_ = new HelpDialog;
- connect (((TQObject*)configDialog_->buttonHelp), SIGNAL(clicked()), ((TQObject*)helpDialog_), SLOT(exec()));
- connect (((TQObject*)configDialog_->buttonCancel), SIGNAL(clicked()), this, SLOT(unblockPopup()));
+ connect (((TQObject*)configDialog_->buttonHelp), TQ_SIGNAL(clicked()), ((TQObject*)helpDialog_), TQ_SLOT(exec()));
+ connect (((TQObject*)configDialog_->buttonCancel), TQ_SIGNAL(clicked()), this, TQ_SLOT(unblockPopup()));
m_widget = new TQFrame(viewport());
m_widget->setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum);
m_widget->setPaletteBackgroundColor(TDEGlobalSettings::baseColor());
@@ -1099,10 +1099,10 @@ AppList::AppList(int size, TQWidget * parent) : TQScrollView(parent), _size(size
m_VLayout = new TQVBoxLayout(infoLayout);
m_iconLoader = TDEGlobal::iconLoader();
m_popup = new TDEPopupMenu(this);
- m_popup->insertItem(i18n("Edit Entry"), this, SLOT(editDialog()));
- m_popup->insertItem(i18n("Remove Entry"), this, SLOT(removeEntry()));
+ m_popup->insertItem(i18n("Edit Entry"), this, TQ_SLOT(editDialog()));
+ m_popup->insertItem(i18n("Remove Entry"), this, TQ_SLOT(removeEntry()));
m_popup->insertSeparator();
- m_popup->insertItem(i18n("Add Entry"), this, SLOT(addDialog()));
+ m_popup->insertItem(i18n("Add Entry"), this, TQ_SLOT(addDialog()));
currentEntryIdx = -1;
init();
}
@@ -1133,8 +1133,8 @@ void AppList::reloadIcons( int size)
void AppList::addDialog()
{
- disconnect (((TQObject*)configDialog_->buttonOk), SIGNAL(clicked()), this, 0);
- connect (((TQObject*)configDialog_->buttonOk), SIGNAL(clicked()), this, SLOT(addEntry()));
+ disconnect (((TQObject*)configDialog_->buttonOk), TQ_SIGNAL(clicked()), this, 0);
+ connect (((TQObject*)configDialog_->buttonOk), TQ_SIGNAL(clicked()), this, TQ_SLOT(addEntry()));
configDialog_->appName->clear();
configDialog_->category->clearEdit();
configDialog_->command->clear();
@@ -1194,8 +1194,8 @@ void AppList::editDialog()
if (!handledEntry)
return;
popupBlocked_ = true;
- disconnect (((TQObject*)configDialog_->buttonOk), SIGNAL(clicked()), this, 0);
- connect (((TQObject*)configDialog_->buttonOk), SIGNAL(clicked()), this, SLOT(editEntry()));
+ disconnect (((TQObject*)configDialog_->buttonOk), TQ_SIGNAL(clicked()), this, 0);
+ connect (((TQObject*)configDialog_->buttonOk), TQ_SIGNAL(clicked()), this, TQ_SLOT(editEntry()));
configDialog_->appName->setText(handledEntry->m_service->name());
configDialog_->category->setCurrentItem (handledEntry->groupPath, false);
configDialog_->showInSystray->setChecked( handledEntry->m_service->exec().contains("ksystraycmd ") );
@@ -1414,16 +1414,16 @@ void AppList::insertGroup(KServiceGroup *g, TQStringList & captions, TQStringLis
StartMenuEntry* AppList::addApp(KService * s, TQStringList & captions, TQString relPath)
{
StartMenuEntry * tmp = new StartMenuEntry(s, relPath, _size, neewbieApps.find(s->desktopEntryName()) != neewbieApps.end(), m_widget);
- connect (tmp, SIGNAL(appUp()), this, SLOT(appUp()));
- connect (tmp, SIGNAL(appDown()), this, SLOT(appDown()));
- connect (tmp, SIGNAL(appLeft()), this, SLOT(appLeft()));
- connect (tmp, SIGNAL(hovered(const TQString&)), this, SIGNAL(message(const TQString&)));
- if (useKTTS) connect (tmp, SIGNAL(sayText(const TQString&)), this, SIGNAL(sayText(const TQString&)));
- connect (tmp, SIGNAL(unhovered()), this, SIGNAL(clearStatus()));
- connect (tmp, SIGNAL(pressed()), parent(), SLOT(close()));
- connect (tmp, SIGNAL(popup(StartMenuEntry*)), this, SLOT(popup(StartMenuEntry*)));
- connect (tmp, SIGNAL(closeMenu()), parent(), SLOT(close()));
- connect (tmp, SIGNAL(executed()), this, SLOT(sort()));
+ connect (tmp, TQ_SIGNAL(appUp()), this, TQ_SLOT(appUp()));
+ connect (tmp, TQ_SIGNAL(appDown()), this, TQ_SLOT(appDown()));
+ connect (tmp, TQ_SIGNAL(appLeft()), this, TQ_SLOT(appLeft()));
+ connect (tmp, TQ_SIGNAL(hovered(const TQString&)), this, TQ_SIGNAL(message(const TQString&)));
+ if (useKTTS) connect (tmp, TQ_SIGNAL(sayText(const TQString&)), this, TQ_SIGNAL(sayText(const TQString&)));
+ connect (tmp, TQ_SIGNAL(unhovered()), this, TQ_SIGNAL(clearStatus()));
+ connect (tmp, TQ_SIGNAL(pressed()), parent(), TQ_SLOT(close()));
+ connect (tmp, TQ_SIGNAL(popup(StartMenuEntry*)), this, TQ_SLOT(popup(StartMenuEntry*)));
+ connect (tmp, TQ_SIGNAL(closeMenu()), parent(), TQ_SLOT(close()));
+ connect (tmp, TQ_SIGNAL(executed()), this, TQ_SLOT(sort()));
m_VLayout->addWidget(tmp);
tmp->hide();
entryList.push_back(tmp);
@@ -1720,8 +1720,8 @@ StartMenu::StartMenu( int size, TQWidget * parent, WFlags f ) : TQWidget(parent,
userButton = new StartMenuButton(_size, "folder_home", TQString(getenv("USER")), "~", StartMenuButton::Status, header, "_B_ALI_HEADER");
headerLayout->addWidget(userButton);
header->setPaletteBackgroundColor(TDEGlobalSettings::highlightColor());
- connect (userButton, SIGNAL(pressed(const TQString &)), this, SLOT(execute(const TQString &)));
- connect (userButton, SIGNAL(pressed(const TQString &)), this, SLOT(close()));
+ connect (userButton, TQ_SIGNAL(pressed(const TQString &)), this, TQ_SLOT(execute(const TQString &)));
+ connect (userButton, TQ_SIGNAL(pressed(const TQString &)), this, TQ_SLOT(close()));
TQBoxLayout *mainLayout = new TQVBoxLayout();
panelLayout->addLayout(mainLayout, 1, 1);
mainLayout->addWidget(header);
@@ -1765,14 +1765,14 @@ StartMenu::StartMenu( int size, TQWidget * parent, WFlags f ) : TQWidget(parent,
searchLine->completionObject()->insertItems(list);
}
- connect (categoryCombo, SIGNAL(activated( const TQString &)), appList, SLOT(showCategory(const TQString &)));
- connect (searchLine, SIGNAL(typedTextChanged(const TQString &)), appList, SLOT(search(const TQString &)));
- connect (searchLine, SIGNAL(textChanged(const TQString &)), this, SLOT(endHistory()));
- connect (searchLine, SIGNAL(focusedIn()), this, SLOT(searchLineFocused()));
- connect (appList, SIGNAL(looseKey()), searchLine, SLOT(setFocus()));
- connect (appList, SIGNAL(looseKey()), searchLine, SLOT(selectAll() ));
- connect (kapp, SIGNAL(shutDown()), this, SLOT(save() ));
- if (useKTTS) connect (appList, SIGNAL(sayText(const TQString&)), this, SLOT(sayText(const TQString&) ));
+ connect (categoryCombo, TQ_SIGNAL(activated( const TQString &)), appList, TQ_SLOT(showCategory(const TQString &)));
+ connect (searchLine, TQ_SIGNAL(typedTextChanged(const TQString &)), appList, TQ_SLOT(search(const TQString &)));
+ connect (searchLine, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(endHistory()));
+ connect (searchLine, TQ_SIGNAL(focusedIn()), this, TQ_SLOT(searchLineFocused()));
+ connect (appList, TQ_SIGNAL(looseKey()), searchLine, TQ_SLOT(setFocus()));
+ connect (appList, TQ_SIGNAL(looseKey()), searchLine, TQ_SLOT(selectAll() ));
+ connect (kapp, TQ_SIGNAL(shutDown()), this, TQ_SLOT(save() ));
+ if (useKTTS) connect (appList, TQ_SIGNAL(sayText(const TQString&)), this, TQ_SLOT(sayText(const TQString&) ));
centerLayout->addWidget(appList,10);
centerLayout->addSpacing ( 3 );
@@ -1785,10 +1785,10 @@ StartMenu::StartMenu( int size, TQWidget * parent, WFlags f ) : TQWidget(parent,
TQFont tmpFnt = statusBar->font();
tmpFnt.setBold(true);
statusBar->setFont(tmpFnt);
- connect (appList, SIGNAL(message(const TQString&)), this, SLOT(message(const TQString&) ));
- connect (appList, SIGNAL(clearStatus()), this, SLOT(clearStatus() ));
- connect (m_panel, SIGNAL(message(const TQString&)), this, SLOT(centerMessage(const TQString&) ));
- connect (m_panel, SIGNAL(clearStatus()), this, SLOT(clearStatus() ));
+ connect (appList, TQ_SIGNAL(message(const TQString&)), this, TQ_SLOT(message(const TQString&) ));
+ connect (appList, TQ_SIGNAL(clearStatus()), this, TQ_SLOT(clearStatus() ));
+ connect (m_panel, TQ_SIGNAL(message(const TQString&)), this, TQ_SLOT(centerMessage(const TQString&) ));
+ connect (m_panel, TQ_SIGNAL(clearStatus()), this, TQ_SLOT(clearStatus() ));
mainLayout->addSpacing ( 3 );
mainLayout->addWidget ( statusBar );
@@ -1852,17 +1852,17 @@ void StartMenu::toggleKTTS(bool on)
m_spokenText = 0;
for (StartMenuEntry *runner : appList->entryList)
{
- connect (runner, SIGNAL(sayText(const TQString&)), this, SIGNAL(sayText(const TQString&)));
+ connect (runner, TQ_SIGNAL(sayText(const TQString&)), this, TQ_SIGNAL(sayText(const TQString&)));
}
- connect (appList, SIGNAL(sayText(const TQString&)), this, SLOT(sayText(const TQString&) ));
+ connect (appList, TQ_SIGNAL(sayText(const TQString&)), this, TQ_SLOT(sayText(const TQString&) ));
}
else
{
for (StartMenuEntry *runner : appList->entryList)
{
- disconnect (runner, SIGNAL(sayText(const TQString&)), this, SIGNAL(sayText(const TQString&)));
+ disconnect (runner, TQ_SIGNAL(sayText(const TQString&)), this, TQ_SIGNAL(sayText(const TQString&)));
}
- disconnect (appList, SIGNAL(sayText(const TQString&)), this, SLOT(sayText(const TQString&) ));
+ disconnect (appList, TQ_SIGNAL(sayText(const TQString&)), this, TQ_SLOT(sayText(const TQString&) ));
}
}
@@ -2096,7 +2096,7 @@ void StartMenu::searchLineFocused()
void StartMenu::search(const TQString & string)
{
- disconnect (searchLine, SIGNAL(textChanged ( const TQString & )), this, SLOT(search(const TQString &)));
+ disconnect (searchLine, TQ_SIGNAL(textChanged ( const TQString & )), this, TQ_SLOT(search(const TQString &)));
appList->search(string);
}
@@ -2192,7 +2192,7 @@ bool StartMenu::eventFilter ( TQObject * o, TQEvent * e )
case TQt::Key_Backspace:
case TQt::Key_Delete:
{
- connect (le, SIGNAL(textChanged ( const TQString & )), this, SLOT(search(const TQString &)));
+ connect (le, TQ_SIGNAL(textChanged ( const TQString & )), this, TQ_SLOT(search(const TQString &)));
break;
}
case TQt::Key_Down:
diff --git a/starter/starter.cpp b/starter/starter.cpp
index 93a37a2..97e6fa0 100644
--- a/starter/starter.cpp
+++ b/starter/starter.cpp
@@ -74,18 +74,18 @@ starter::starter(const TQString& configFile, Type type, int actions, TQWidget *p
startMenu = new StartMenu(_iconSize, this, TQt::WType_Popup);
shortcutList = startMenu->shortcutList;
configDialog->categoryList->insertStringList(startMenu->categories());
- connect (startMenu, SIGNAL(aboutToHide()), this, SLOT(unblockPopupDelayed()));
- connect(configDialog->useKTTS, SIGNAL(toggled( bool )), startMenu, SLOT(toggleKTTS(bool)));
+ connect (startMenu, TQ_SIGNAL(aboutToHide()), this, TQ_SLOT(unblockPopupDelayed()));
+ connect(configDialog->useKTTS, TQ_SIGNAL(toggled( bool )), startMenu, TQ_SLOT(toggleKTTS(bool)));
//---
- connect(configDialog->categoryList, SIGNAL(highlighted(int)), this, SLOT(activateShortcutButton(int)));
- connect(configDialog->buttonShortcut, SIGNAL(capturedShortcut (const TDEShortcut &)), this, SLOT(addShortcut(const TDEShortcut &)));
- connect(configDialog->categoryList, SIGNAL(highlighted ( const TQString & )), this, SLOT(updateShortcutButton(const TQString &)));
- connect(configDialog->buttonOk, SIGNAL(clicked()), this, SLOT(updateSettings()));
+ connect(configDialog->categoryList, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(activateShortcutButton(int)));
+ connect(configDialog->buttonShortcut, TQ_SIGNAL(capturedShortcut (const TDEShortcut &)), this, TQ_SLOT(addShortcut(const TDEShortcut &)));
+ connect(configDialog->categoryList, TQ_SIGNAL(highlighted ( const TQString & )), this, TQ_SLOT(updateShortcutButton(const TQString &)));
+ connect(configDialog->buttonOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateSettings()));
StarterHelp *helpDialog = new StarterHelp(configDialog);
- connect(configDialog->buttonHelp, SIGNAL(clicked()), helpDialog, SLOT(show()));
+ connect(configDialog->buttonHelp, TQ_SIGNAL(clicked()), helpDialog, TQ_SLOT(show()));
//-----
- configPopup->insertItem(i18n("Configure the Startmenu"), configDialog, SLOT(show()));
+ configPopup->insertItem(i18n("Configure the Startmenu"), configDialog, TQ_SLOT(show()));
configDialog->BaseURL->setFilter( "*.png" );
configDialog->HoverURL->setFilter( "*.png" );
configDialog->DownURL->setFilter( "*.png" );
@@ -302,7 +302,7 @@ int starter::heightForWidth(int width) const
void starter::unblockPopupDelayed()
{
popupBlocked = true;
- TQTimer::singleShot ( 50, this, SLOT(unblockPopup()) );
+ TQTimer::singleShot ( 50, this, TQ_SLOT(unblockPopup()) );
}
void starter::unblockPopup()
diff --git a/style/baghira.cpp b/style/baghira.cpp
index 2bd7903..e53c761 100644
--- a/style/baghira.cpp
+++ b/style/baghira.cpp
@@ -213,7 +213,7 @@ LiquidStyle::LiquidStyle() : TDEStyle( AllowMenuTransparency | FilledFrameWorkar
TQTimer* timer = new TQTimer( this );
timer->start(50, false);
// if (optionHandler->AnimateProgress())
- connect(timer, SIGNAL(timeout()), this, SLOT(updateProgressPos()));
+ connect(timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(updateProgressPos()));
activeScroller = NULL;
//--------------------------------------
@@ -229,7 +229,7 @@ LiquidStyle::LiquidStyle() : TDEStyle( AllowMenuTransparency | FilledFrameWorkar
optionHandler = new OptionHandler( this );
if (optionHandler->style() != Milk && optionHandler->AnimateSlider())
- connect(timer, SIGNAL(timeout()), this, SLOT(updateSliderPos()));
+ connect(timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(updateSliderPos()));
if (optionHandler->style() == Brushed)
bmShower = new BMShower(this);
diff --git a/style/eventfilter.cpp b/style/eventfilter.cpp
index a701e60..562a31c 100644
--- a/style/eventfilter.cpp
+++ b/style/eventfilter.cpp
@@ -538,7 +538,7 @@ bool LiquidStyle::objectEventHandler( const TQStyleControlElementData &ceData,
return false;
mouseButtonPressed_ = true;
cursorPos_ = mev->globalPos();
- TQTimer::singleShot(50,this,SLOT(fakeMouse()));
+ TQTimer::singleShot(50,this,TQ_SLOT(fakeMouse()));
return true; // fire this event
}
if ( ::tqt_cast<TQScrollBar*>(obj) && ((TQMouseEvent*)ev)->button() != TQt::RightButton)
diff --git a/style/polish.cpp b/style/polish.cpp
index 064fcdb..5998db6 100644
--- a/style/polish.cpp
+++ b/style/polish.cpp
@@ -725,7 +725,7 @@ void LiquidStyle::polish( const TQStyleControlElementData &ceData, ControlElemen
{
w->setBackgroundMode( NoBackground );
installObjectEventHandler(ceData, elementFlags, ptr, this);
- connect(w, SIGNAL(destroyed(TQObject*)), this, SLOT(progressBarDestroyed(TQObject*)));
+ connect(w, TQ_SIGNAL(destroyed(TQObject*)), this, TQ_SLOT(progressBarDestroyed(TQObject*)));
goto kstpolish;
}