summaryrefslogtreecommitdiffstats
path: root/kcontrol/kicker
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-12 10:51:50 +0900
committerMichele Calgaro <[email protected]>2024-01-16 10:03:43 +0900
commita4241b7911d2e0b36edfb02f616b8b282050c0ec (patch)
tree316c9a3298857645d5da57b682fce707c8e2a907 /kcontrol/kicker
parentf9d06cee3d2b4ffe415b1d52c9ad5575643a9e34 (diff)
downloadtdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.tar.gz
tdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kcontrol/kicker')
-rw-r--r--kcontrol/kicker/advancedDialog.cpp40
-rw-r--r--kcontrol/kicker/applettab_impl.cpp14
-rw-r--r--kcontrol/kicker/hidingconfig.cpp12
-rw-r--r--kcontrol/kicker/hidingtab_impl.cpp52
-rw-r--r--kcontrol/kicker/lookandfeelconfig.cpp12
-rw-r--r--kcontrol/kicker/lookandfeeltab_impl.cpp26
-rw-r--r--kcontrol/kicker/lookandfeeltab_kcm.cpp2
-rw-r--r--kcontrol/kicker/main.cpp12
-rw-r--r--kcontrol/kicker/menuconfig.cpp12
-rw-r--r--kcontrol/kicker/menutab_impl.cpp28
-rw-r--r--kcontrol/kicker/positionconfig.cpp12
-rw-r--r--kcontrol/kicker/positiontab_impl.cpp64
12 files changed, 143 insertions, 143 deletions
diff --git a/kcontrol/kicker/advancedDialog.cpp b/kcontrol/kicker/advancedDialog.cpp
index f2ba15680..dadb70f39 100644
--- a/kcontrol/kicker/advancedDialog.cpp
+++ b/kcontrol/kicker/advancedDialog.cpp
@@ -40,10 +40,10 @@ advancedDialog::advancedDialog(TQWidget* parent, const char* name)
name,
false, false)
{
- connect(this, TQT_SIGNAL(applyClicked()),
- this, TQT_SLOT(save()));
- connect(this, TQT_SIGNAL(okClicked()),
- this, TQT_SLOT(save()));
+ connect(this, TQ_SIGNAL(applyClicked()),
+ this, TQ_SLOT(save()));
+ connect(this, TQ_SIGNAL(okClicked()),
+ this, TQ_SLOT(save()));
TQFrame* page = plainPage();
TQVBoxLayout* layout = new TQVBoxLayout(page);
@@ -53,22 +53,22 @@ advancedDialog::advancedDialog(TQWidget* parent, const char* name)
setMinimumSize( sizeHint() );
- connect(m_advancedWidget->handles, TQT_SIGNAL(clicked(int)),
- this, TQT_SLOT(changed()));
- connect(m_advancedWidget->hideButtonSize, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(changed()));
- connect(m_advancedWidget->tintColorB, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(changed()));
- connect(m_advancedWidget->tintSlider, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(changed()));
- connect(m_advancedWidget->menubarPanelTransparent, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(changed()));
- connect(m_advancedWidget->menubarPanelBlurred, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(changed()));
- connect(m_advancedWidget->kickerResizeHandle, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(changed()));
- connect(m_advancedWidget->kickerDeepButtons, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(changed()));
+ connect(m_advancedWidget->handles, TQ_SIGNAL(clicked(int)),
+ this, TQ_SLOT(changed()));
+ connect(m_advancedWidget->hideButtonSize, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(changed()));
+ connect(m_advancedWidget->tintColorB, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(changed()));
+ connect(m_advancedWidget->tintSlider, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(changed()));
+ connect(m_advancedWidget->menubarPanelTransparent, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(changed()));
+ connect(m_advancedWidget->menubarPanelBlurred, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(changed()));
+ connect(m_advancedWidget->kickerResizeHandle, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(changed()));
+ connect(m_advancedWidget->kickerDeepButtons, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(changed()));
load();
}
diff --git a/kcontrol/kicker/applettab_impl.cpp b/kcontrol/kicker/applettab_impl.cpp
index c2f488550..7c5436b52 100644
--- a/kcontrol/kicker/applettab_impl.cpp
+++ b/kcontrol/kicker/applettab_impl.cpp
@@ -42,16 +42,16 @@ AppletTab::AppletTab( TQWidget *parent, const char* name )
: AppletTabBase (parent, name)
{
- connect(level_group, TQT_SIGNAL(clicked(int)), TQT_SLOT(level_changed(int)));
+ connect(level_group, TQ_SIGNAL(clicked(int)), TQ_SLOT(level_changed(int)));
- connect(lb_trusted, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
- TQT_SLOT(trusted_selection_changed(TQListViewItem*)));
+ connect(lb_trusted, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
+ TQ_SLOT(trusted_selection_changed(TQListViewItem*)));
- connect(pb_add, TQT_SIGNAL(clicked()), TQT_SLOT(add_clicked()));
- connect(pb_remove, TQT_SIGNAL(clicked()), TQT_SLOT(remove_clicked()));
+ connect(pb_add, TQ_SIGNAL(clicked()), TQ_SLOT(add_clicked()));
+ connect(pb_remove, TQ_SIGNAL(clicked()), TQ_SLOT(remove_clicked()));
- connect(lb_available, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
- TQT_SLOT(available_selection_changed(TQListViewItem*)));
+ connect(lb_available, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
+ TQ_SLOT(available_selection_changed(TQListViewItem*)));
pb_add->setEnabled(false);
pb_remove->setEnabled(false);
diff --git a/kcontrol/kicker/hidingconfig.cpp b/kcontrol/kicker/hidingconfig.cpp
index 506eebdfb..d94f18bfa 100644
--- a/kcontrol/kicker/hidingconfig.cpp
+++ b/kcontrol/kicker/hidingconfig.cpp
@@ -41,13 +41,13 @@ HidingConfig::HidingConfig(TQWidget *parent, const char *name)
//addConfig(KickerSettings::self(), m_widget);
- connect(m_widget, TQT_SIGNAL(changed()),
- this, TQT_SLOT(changed()));
- connect(KickerConfig::the(), TQT_SIGNAL(aboutToNotifyKicker()),
- this, TQT_SLOT(aboutToNotifyKicker()));
+ connect(m_widget, TQ_SIGNAL(changed()),
+ this, TQ_SLOT(changed()));
+ connect(KickerConfig::the(), TQ_SIGNAL(aboutToNotifyKicker()),
+ this, TQ_SLOT(aboutToNotifyKicker()));
load();
- TQTimer::singleShot(0, this, TQT_SLOT(notChanged()));
+ TQTimer::singleShot(0, this, TQ_SLOT(notChanged()));
}
void HidingConfig::notChanged()
@@ -90,7 +90,7 @@ void HidingConfig::defaults()
// TDEConfigDialogManager may queue an changed(false) signal,
// so we make sure, that the module is labeled as changed,
// while we manage some of the widgets ourselves
- TQTimer::singleShot(0, this, TQT_SLOT(changed()));
+ TQTimer::singleShot(0, this, TQ_SLOT(changed()));
}
TQString HidingConfig::handbookSection() const
diff --git a/kcontrol/kicker/hidingtab_impl.cpp b/kcontrol/kicker/hidingtab_impl.cpp
index 8c340bd5d..382c1a84e 100644
--- a/kcontrol/kicker/hidingtab_impl.cpp
+++ b/kcontrol/kicker/hidingtab_impl.cpp
@@ -38,33 +38,33 @@ HidingTab::HidingTab(TQWidget *parent, const char* name)
m_panelInfo(0)
{
// connections
- connect(m_manual,TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()));
- connect(m_automatic, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()));
- connect(m_automatic, TQT_SIGNAL(toggled(bool)), TQT_SLOT(backgroundModeClicked()));
- connect(m_background, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()));
- connect(m_background, TQT_SIGNAL(toggled(bool)), TQT_SLOT(backgroundModeClicked()));
- connect(m_xineramaHide, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()));
- connect(m_hideSlider, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed()));
- connect(m_delaySpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed()));
- connect(m_animateHiding, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()));
- connect(m_delaySpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed()));
- connect(m_autoHideSwitch, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()));
- connect(m_backgroundRaise, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()));
- connect(m_backgroundPos, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed()));
- connect(m_lHB, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()));
- connect(m_rHB, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()));
-
- connect(KickerConfig::the(), TQT_SIGNAL(extensionInfoChanged()),
- TQT_SLOT(infoUpdated()));
- connect(KickerConfig::the(), TQT_SIGNAL(extensionAdded(ExtensionInfo*)),
- TQT_SLOT(extensionAdded(ExtensionInfo*)));
- connect(KickerConfig::the(), TQT_SIGNAL(extensionRemoved(ExtensionInfo*)),
- TQT_SLOT(extensionRemoved(ExtensionInfo*)));
+ connect(m_manual,TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_automatic, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_automatic, TQ_SIGNAL(toggled(bool)), TQ_SLOT(backgroundModeClicked()));
+ connect(m_background, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_background, TQ_SIGNAL(toggled(bool)), TQ_SLOT(backgroundModeClicked()));
+ connect(m_xineramaHide, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_hideSlider, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(m_delaySpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(m_animateHiding, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_delaySpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(m_autoHideSwitch, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_backgroundRaise, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_backgroundPos, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(m_lHB, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_rHB, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+
+ connect(KickerConfig::the(), TQ_SIGNAL(extensionInfoChanged()),
+ TQ_SLOT(infoUpdated()));
+ connect(KickerConfig::the(), TQ_SIGNAL(extensionAdded(ExtensionInfo*)),
+ TQ_SLOT(extensionAdded(ExtensionInfo*)));
+ connect(KickerConfig::the(), TQ_SIGNAL(extensionRemoved(ExtensionInfo*)),
+ TQ_SLOT(extensionRemoved(ExtensionInfo*)));
// position tab tells hiding tab about extension selections and vice versa
- connect(KickerConfig::the(), TQT_SIGNAL(positionPanelChanged(int)),
- TQT_SLOT(switchPanel(int)));
- connect(m_panelList, TQT_SIGNAL(activated(int)),
- KickerConfig::the(), TQT_SIGNAL(hidingPanelChanged(int)));
+ connect(KickerConfig::the(), TQ_SIGNAL(positionPanelChanged(int)),
+ TQ_SLOT(switchPanel(int)));
+ connect(m_panelList, TQ_SIGNAL(activated(int)),
+ KickerConfig::the(), TQ_SIGNAL(hidingPanelChanged(int)));
}
void HidingTab::load()
diff --git a/kcontrol/kicker/lookandfeelconfig.cpp b/kcontrol/kicker/lookandfeelconfig.cpp
index d7cbadf28..082753cb9 100644
--- a/kcontrol/kicker/lookandfeelconfig.cpp
+++ b/kcontrol/kicker/lookandfeelconfig.cpp
@@ -41,13 +41,13 @@ LookAndFeelConfig::LookAndFeelConfig(TQWidget *parent, const char *name)
addConfig(KickerSettings::self(), m_widget);
- connect(m_widget, TQT_SIGNAL(changed()),
- this, TQT_SLOT(changed()));
- connect(KickerConfig::the(), TQT_SIGNAL(aboutToNotifyKicker()),
- this, TQT_SLOT(aboutToNotifyKicker()));
+ connect(m_widget, TQ_SIGNAL(changed()),
+ this, TQ_SLOT(changed()));
+ connect(KickerConfig::the(), TQ_SIGNAL(aboutToNotifyKicker()),
+ this, TQ_SLOT(aboutToNotifyKicker()));
load();
- TQTimer::singleShot(0, this, TQT_SLOT(notChanged()));
+ TQTimer::singleShot(0, this, TQ_SLOT(notChanged()));
}
void LookAndFeelConfig::notChanged()
@@ -90,7 +90,7 @@ void LookAndFeelConfig::defaults()
// TDEConfigDialogManager may queue an changed(false) signal,
// so we make sure, that the module is labeled as changed,
// while we manage some of the widgets ourselves
- TQTimer::singleShot(0, this, TQT_SLOT(changed()));
+ TQTimer::singleShot(0, this, TQ_SLOT(changed()));
}
TQString LookAndFeelConfig::handbookSection() const
diff --git a/kcontrol/kicker/lookandfeeltab_impl.cpp b/kcontrol/kicker/lookandfeeltab_impl.cpp
index 674b1cd04..858cc2cb3 100644
--- a/kcontrol/kicker/lookandfeeltab_impl.cpp
+++ b/kcontrol/kicker/lookandfeeltab_impl.cpp
@@ -48,21 +48,21 @@ LookAndFeelTab::LookAndFeelTab( TQWidget *parent, const char* name )
: LookAndFeelTabBase(parent, name),
m_advDialog(0)
{
- connect(m_kmenuTile, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed()));
- connect(m_desktopTile, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed()));
- connect(m_browserTile, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed()));
- connect(m_urlTile, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed()));
- connect(m_windowListTile, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed()));
+ connect(m_kmenuTile, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(m_desktopTile, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(m_browserTile, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(m_urlTile, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(m_windowListTile, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
- connect(m_kmenuTile, TQT_SIGNAL(activated(int)), TQT_SLOT(kmenuTileChanged(int)));
- connect(m_desktopTile, TQT_SIGNAL(activated(int)), TQT_SLOT(desktopTileChanged(int)));
- connect(m_browserTile, TQT_SIGNAL(activated(int)), TQT_SLOT(browserTileChanged(int)));
- connect(m_urlTile, TQT_SIGNAL(activated(int)), TQT_SLOT(urlTileChanged(int)));
- connect(m_windowListTile, TQT_SIGNAL(activated(int)), TQT_SLOT(wlTileChanged(int)));
+ connect(m_kmenuTile, TQ_SIGNAL(activated(int)), TQ_SLOT(kmenuTileChanged(int)));
+ connect(m_desktopTile, TQ_SIGNAL(activated(int)), TQ_SLOT(desktopTileChanged(int)));
+ connect(m_browserTile, TQ_SIGNAL(activated(int)), TQ_SLOT(browserTileChanged(int)));
+ connect(m_urlTile, TQ_SIGNAL(activated(int)), TQ_SLOT(urlTileChanged(int)));
+ connect(m_windowListTile, TQ_SIGNAL(activated(int)), TQ_SLOT(wlTileChanged(int)));
- connect(kcfg_ColorizeBackground, TQT_SIGNAL(toggled(bool)), TQT_SLOT(browseTheme()));
+ connect(kcfg_ColorizeBackground, TQ_SIGNAL(toggled(bool)), TQ_SLOT(browseTheme()));
- connect(kcfg_BackgroundTheme->lineEdit(), TQT_SIGNAL(lostFocus()), TQT_SLOT(browseTheme()));
+ connect(kcfg_BackgroundTheme->lineEdit(), TQ_SIGNAL(lostFocus()), TQ_SLOT(browseTheme()));
kcfg_BackgroundTheme->setFilter(KImageIO::pattern(KImageIO::Reading));
kcfg_BackgroundTheme->setCaption(i18n("Select Image File"));
@@ -92,7 +92,7 @@ void LookAndFeelTab::launchAdvancedDialog()
if (!m_advDialog)
{
m_advDialog = new advancedDialog(this, "advancedDialog");
- connect(m_advDialog, TQT_SIGNAL(finished()), this, TQT_SLOT(finishAdvancedDialog()));
+ connect(m_advDialog, TQ_SIGNAL(finished()), this, TQ_SLOT(finishAdvancedDialog()));
m_advDialog->show();
}
m_advDialog->setActiveWindow();
diff --git a/kcontrol/kicker/lookandfeeltab_kcm.cpp b/kcontrol/kicker/lookandfeeltab_kcm.cpp
index 5695e3869..a703ea966 100644
--- a/kcontrol/kicker/lookandfeeltab_kcm.cpp
+++ b/kcontrol/kicker/lookandfeeltab_kcm.cpp
@@ -48,7 +48,7 @@ LookAndFeelConfig::LookAndFeelConfig(TQWidget *parent, const char *name)
layout->addWidget(lookandfeeltab);
layout->addStretch();
- connect(lookandfeeltab, TQT_SIGNAL(changed()), TQT_SLOT(configChanged()));
+ connect(lookandfeeltab, TQ_SIGNAL(changed()), TQ_SLOT(configChanged()));
load();
}
diff --git a/kcontrol/kicker/main.cpp b/kcontrol/kicker/main.cpp
index da73da7c3..a0e14ba17 100644
--- a/kcontrol/kicker/main.cpp
+++ b/kcontrol/kicker/main.cpp
@@ -68,10 +68,10 @@ KickerConfig::KickerConfig(TQWidget *parent, const char *name)
"jumpToPanel(TQString)", false);
kapp->dcopClient()->send("kicker", "kicker", "configLaunched()", TQByteArray());
- connect(this, TQT_SIGNAL(hidingPanelChanged(int)),
- this, TQT_SLOT(setCurrentPanelIndex(int)));
- connect(this, TQT_SIGNAL(positionPanelChanged(int)),
- this, TQT_SLOT(setCurrentPanelIndex(int)));
+ connect(this, TQ_SIGNAL(hidingPanelChanged(int)),
+ this, TQ_SLOT(setCurrentPanelIndex(int)));
+ connect(this, TQ_SIGNAL(positionPanelChanged(int)),
+ this, TQ_SLOT(setCurrentPanelIndex(int)));
}
KickerConfig::~KickerConfig()
@@ -90,7 +90,7 @@ KickerConfig::~KickerConfig()
// this method may get called multiple times during the life of the control panel!
void KickerConfig::init()
{
- disconnect(configFileWatch, TQT_SIGNAL(dirty(const TQString&)), this, TQT_SLOT(configChanged(const TQString&)));
+ disconnect(configFileWatch, TQ_SIGNAL(dirty(const TQString&)), this, TQ_SLOT(configChanged(const TQString&)));
configFileWatch->stopScan();
for (ExtensionInfoList::iterator it = m_extensionInfo.begin();
it != m_extensionInfo.end();
@@ -128,7 +128,7 @@ void KickerConfig::init()
setupExtensionInfo(*config, true, true);
- connect(configFileWatch, TQT_SIGNAL(dirty(const TQString&)), this, TQT_SLOT(configChanged(const TQString&)));
+ connect(configFileWatch, TQ_SIGNAL(dirty(const TQString&)), this, TQ_SLOT(configChanged(const TQString&)));
configFileWatch->startScan();
}
diff --git a/kcontrol/kicker/menuconfig.cpp b/kcontrol/kicker/menuconfig.cpp
index 4f8a68605..6773105c6 100644
--- a/kcontrol/kicker/menuconfig.cpp
+++ b/kcontrol/kicker/menuconfig.cpp
@@ -41,13 +41,13 @@ MenuConfig::MenuConfig(TQWidget *parent, const char *name)
addConfig(KickerSettings::self(), m_widget);
- connect(m_widget, TQT_SIGNAL(changed()),
- this, TQT_SLOT(changed()));
- connect(KickerConfig::the(), TQT_SIGNAL(aboutToNotifyKicker()),
- this, TQT_SLOT(aboutToNotifyKicker()));
+ connect(m_widget, TQ_SIGNAL(changed()),
+ this, TQ_SLOT(changed()));
+ connect(KickerConfig::the(), TQ_SIGNAL(aboutToNotifyKicker()),
+ this, TQ_SLOT(aboutToNotifyKicker()));
load();
- TQTimer::singleShot(0, this, TQT_SLOT(notChanged()));
+ TQTimer::singleShot(0, this, TQ_SLOT(notChanged()));
}
void MenuConfig::notChanged()
@@ -90,7 +90,7 @@ void MenuConfig::defaults()
// TDEConfigDialogManager may queue an changed(false) signal,
// so we make sure, that the module is labeled as changedm,
// while we manage some of the widgets ourselves
- TQTimer::singleShot(0, this, TQT_SLOT(changed()));
+ TQTimer::singleShot(0, this, TQ_SLOT(changed()));
}
TQString MenuConfig::handbookSection() const
diff --git a/kcontrol/kicker/menutab_impl.cpp b/kcontrol/kicker/menutab_impl.cpp
index fbd15cd8d..259027a0b 100644
--- a/kcontrol/kicker/menutab_impl.cpp
+++ b/kcontrol/kicker/menutab_impl.cpp
@@ -79,12 +79,12 @@ MenuTab::MenuTab( TQWidget *parent, const char* name )
m_kmenu_button_changed(false)
{
// connections
- connect(m_editKMenuButton, TQT_SIGNAL(clicked()), TQT_SLOT(launchMenuEditor()));
- connect(btnCustomKMenuIcon, TQT_SIGNAL(clicked()), TQT_SLOT(launchIconEditor()));
- connect(kcfg_KMenuText, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(kmenuChanged()));
- connect(kcfg_ShowKMenuText, TQT_SIGNAL(toggled(bool)), TQT_SLOT(kmenuChanged()));
- //connect(kcfg_ButtonFont, TQT_SIGNAL(fontSelected(const TQFont &)), TQT_SLOT(kmenuChanged()));
- connect(maxrecentdocs, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(kmenuChanged()));
+ connect(m_editKMenuButton, TQ_SIGNAL(clicked()), TQ_SLOT(launchMenuEditor()));
+ connect(btnCustomKMenuIcon, TQ_SIGNAL(clicked()), TQ_SLOT(launchIconEditor()));
+ connect(kcfg_KMenuText, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(kmenuChanged()));
+ connect(kcfg_ShowKMenuText, TQ_SIGNAL(toggled(bool)), TQ_SLOT(kmenuChanged()));
+ //connect(kcfg_ButtonFont, TQ_SIGNAL(fontSelected(const TQFont &)), TQ_SLOT(kmenuChanged()));
+ connect(maxrecentdocs, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(kmenuChanged()));
// FIXME
// When top pixmap support is ready for end-user visibility, replace
@@ -129,7 +129,7 @@ void MenuTab::load( bool useDefaults )
TQString::null,
SmallIcon("bookmark"),
c->readBoolEntry("UseBookmarks", false));
- connect(m_bookmarkMenu, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()));
+ connect(m_bookmarkMenu, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
// show the quick menus menu?
m_quickBrowserMenu = new kSubMenuItem(m_subMenus,
@@ -137,7 +137,7 @@ void MenuTab::load( bool useDefaults )
TQString::null,
SmallIcon("kdisknav"),
c->readBoolEntry("UseBrowser", false));
- connect(m_quickBrowserMenu, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()));
+ connect(m_quickBrowserMenu, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
TQStringList ext_default;
ext_default << "prefmenu.desktop" << "systemmenu.desktop";
@@ -156,7 +156,7 @@ void MenuTab::load( bool useDefaults )
*it,
SmallIcon(df.readIcon()),
tqFind(ext.begin(), ext.end(), *it) != ext.end());
- connect(menuItem, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()));
+ connect(menuItem, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
}
}
@@ -165,16 +165,16 @@ void MenuTab::load( bool useDefaults )
m_openOnHover->setChecked( c->readBoolEntry("OpenOnHover", true) );
menuStyleChanged();
- connect(m_comboMenuStyle, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed()));
- connect(m_comboMenuStyle, TQT_SIGNAL(activated(int)), TQT_SLOT(menuStyleChanged()));
- connect(m_openOnHover, TQT_SIGNAL(clicked()), TQT_SIGNAL(changed()));
+ connect(m_comboMenuStyle, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(m_comboMenuStyle, TQ_SIGNAL(activated(int)), TQ_SLOT(menuStyleChanged()));
+ connect(m_openOnHover, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
m_showFrequent->setChecked(true);
c->setGroup("KMenu");
m_searchShortcut->setShortcut(TDEShortcut(c->readEntry("SearchShortcut", "/")), false);
- connect(m_searchShortcut, TQT_SIGNAL(capturedShortcut(const TDEShortcut&)), TQT_SIGNAL(changed()));
- connect(m_searchShortcut, TQT_SIGNAL(capturedShortcut(const TDEShortcut&)), TQT_SLOT(setSearchShortcut(const TDEShortcut&)));
+ connect(m_searchShortcut, TQ_SIGNAL(capturedShortcut(const TDEShortcut&)), TQ_SIGNAL(changed()));
+ connect(m_searchShortcut, TQ_SIGNAL(capturedShortcut(const TDEShortcut&)), TQ_SLOT(setSearchShortcut(const TDEShortcut&)));
if ( useDefaults )
emit changed();
diff --git a/kcontrol/kicker/positionconfig.cpp b/kcontrol/kicker/positionconfig.cpp
index 00b571d13..cd871ae22 100644
--- a/kcontrol/kicker/positionconfig.cpp
+++ b/kcontrol/kicker/positionconfig.cpp
@@ -41,13 +41,13 @@ PositionConfig::PositionConfig(TQWidget *parent, const char *name)
//addConfig(KickerSettings::self(), m_widget);
- connect(m_widget, TQT_SIGNAL(changed()),
- this, TQT_SLOT(changed()));
- connect(KickerConfig::the(), TQT_SIGNAL(aboutToNotifyKicker()),
- this, TQT_SLOT(aboutToNotifyKicker()));
+ connect(m_widget, TQ_SIGNAL(changed()),
+ this, TQ_SLOT(changed()));
+ connect(KickerConfig::the(), TQ_SIGNAL(aboutToNotifyKicker()),
+ this, TQ_SLOT(aboutToNotifyKicker()));
load();
- TQTimer::singleShot(0, this, TQT_SLOT(notChanged()));
+ TQTimer::singleShot(0, this, TQ_SLOT(notChanged()));
}
void PositionConfig::notChanged()
@@ -90,7 +90,7 @@ void PositionConfig::defaults()
// TDEConfigDialogManager may queue an changed(false) signal,
// so we make sure, that the module is labeled as changed,
// while we manage some of the widgets ourselves
- TQTimer::singleShot(0, this, TQT_SLOT(changed()));
+ TQTimer::singleShot(0, this, TQ_SLOT(changed()));
}
TQString PositionConfig::handbookSection() const
diff --git a/kcontrol/kicker/positiontab_impl.cpp b/kcontrol/kicker/positiontab_impl.cpp
index 5fdb22983..b8a2d7ea9 100644
--- a/kcontrol/kicker/positiontab_impl.cpp
+++ b/kcontrol/kicker/positiontab_impl.cpp
@@ -104,10 +104,10 @@ PositionTab::PositionTab(TQWidget *parent, const char* name)
}
// connections
- connect(m_locationGroup, TQT_SIGNAL(clicked(int)), TQT_SIGNAL(changed()));
- connect(m_xineramaScreenComboBox, TQT_SIGNAL(highlighted(int)), TQT_SIGNAL(changed()));
+ connect(m_locationGroup, TQ_SIGNAL(clicked(int)), TQ_SIGNAL(changed()));
+ connect(m_xineramaScreenComboBox, TQ_SIGNAL(highlighted(int)), TQ_SIGNAL(changed()));
- connect(m_identifyButton,TQT_SIGNAL(clicked()),TQT_SLOT(showIdentify()));
+ connect(m_identifyButton,TQ_SIGNAL(clicked()),TQ_SLOT(showIdentify()));
for(int s=0; s < TQApplication::desktop()->numScreens(); s++)
{ /* populate the combobox for the available screens */
@@ -123,38 +123,38 @@ PositionTab::PositionTab(TQWidget *parent, const char* name)
m_xineramaScreenLabel->hide();
}
- connect(m_percentSlider, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed()));
- connect(m_percentSpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed()));
- connect(m_expandCheckBox, TQT_SIGNAL(clicked()), TQT_SIGNAL(changed()));
+ connect(m_percentSlider, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(m_percentSpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(m_expandCheckBox, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed()));
- connect(m_sizeGroup, TQT_SIGNAL(clicked(int)), TQT_SIGNAL(changed()));
- connect(m_customSlider, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed()));
- connect(m_customSpinbox, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed()));
+ connect(m_sizeGroup, TQ_SIGNAL(clicked(int)), TQ_SIGNAL(changed()));
+ connect(m_customSlider, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(m_customSpinbox, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
m_desktopPreview = new KVirtualBGRenderer(0);
- connect(m_desktopPreview, TQT_SIGNAL(imageDone(int)),
- TQT_SLOT(slotBGPreviewReady(int)));
-
- connect(KickerConfig::the(), TQT_SIGNAL(extensionInfoChanged()),
- TQT_SLOT(infoUpdated()));
- connect(KickerConfig::the(), TQT_SIGNAL(extensionAdded(ExtensionInfo*)),
- TQT_SLOT(extensionAdded(ExtensionInfo*)));
- connect(KickerConfig::the(), TQT_SIGNAL(extensionRemoved(ExtensionInfo*)),
- TQT_SLOT(extensionRemoved(ExtensionInfo*)));
- connect(KickerConfig::the(), TQT_SIGNAL(extensionChanged(const TQString&)),
- TQT_SLOT(extensionChanged(const TQString&)));
- connect(KickerConfig::the(), TQT_SIGNAL(extensionAboutToChange(const TQString&)),
- TQT_SLOT(extensionAboutToChange(const TQString&)));
+ connect(m_desktopPreview, TQ_SIGNAL(imageDone(int)),
+ TQ_SLOT(slotBGPreviewReady(int)));
+
+ connect(KickerConfig::the(), TQ_SIGNAL(extensionInfoChanged()),
+ TQ_SLOT(infoUpdated()));
+ connect(KickerConfig::the(), TQ_SIGNAL(extensionAdded(ExtensionInfo*)),
+ TQ_SLOT(extensionAdded(ExtensionInfo*)));
+ connect(KickerConfig::the(), TQ_SIGNAL(extensionRemoved(ExtensionInfo*)),
+ TQ_SLOT(extensionRemoved(ExtensionInfo*)));
+ connect(KickerConfig::the(), TQ_SIGNAL(extensionChanged(const TQString&)),
+ TQ_SLOT(extensionChanged(const TQString&)));
+ connect(KickerConfig::the(), TQ_SIGNAL(extensionAboutToChange(const TQString&)),
+ TQ_SLOT(extensionAboutToChange(const TQString&)));
// position tab tells hiding tab about extension selections and vice versa
- connect(KickerConfig::the(), TQT_SIGNAL(hidingPanelChanged(int)),
- TQT_SLOT(jumpToPanel(int)));
- connect(m_panelList, TQT_SIGNAL(activated(int)),
- KickerConfig::the(), TQT_SIGNAL(positionPanelChanged(int)));
-
- connect(m_panelSize, TQT_SIGNAL(activated(int)),
- TQT_SLOT(sizeChanged(int)));
- connect(m_panelSize, TQT_SIGNAL(activated(int)),
- TQT_SIGNAL(changed()));
+ connect(KickerConfig::the(), TQ_SIGNAL(hidingPanelChanged(int)),
+ TQ_SLOT(jumpToPanel(int)));
+ connect(m_panelList, TQ_SIGNAL(activated(int)),
+ KickerConfig::the(), TQ_SIGNAL(positionPanelChanged(int)));
+
+ connect(m_panelSize, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(sizeChanged(int)));
+ connect(m_panelSize, TQ_SIGNAL(activated(int)),
+ TQ_SIGNAL(changed()));
}
PositionTab::~PositionTab()
@@ -700,7 +700,7 @@ void PositionTab::showIdentify()
screenLabel->setNum(s + 1);
// BUGLET: we should not allow the identification to be entered again
// until the timer fires.
- TQTimer::singleShot(1500, screenLabel, TQT_SLOT(close()));
+ TQTimer::singleShot(1500, screenLabel, TQ_SLOT(close()));
TQPoint screenCenter(TQApplication::desktop()->screenGeometry(s).center());
TQRect targetGeometry(TQPoint(0,0),screenLabel->sizeHint());