summaryrefslogtreecommitdiffstats
path: root/kicker/libkicker/panelbutton.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 10:51:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-16 10:03:43 +0900
commita4241b7911d2e0b36edfb02f616b8b282050c0ec (patch)
tree316c9a3298857645d5da57b682fce707c8e2a907 /kicker/libkicker/panelbutton.cpp
parentf9d06cee3d2b4ffe415b1d52c9ad5575643a9e34 (diff)
downloadtdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.tar.gz
tdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kicker/libkicker/panelbutton.cpp')
-rw-r--r--kicker/libkicker/panelbutton.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kicker/libkicker/panelbutton.cpp b/kicker/libkicker/panelbutton.cpp
index aef83bbb3..0708d0b5f 100644
--- a/kicker/libkicker/panelbutton.cpp
+++ b/kicker/libkicker/panelbutton.cpp
@@ -93,8 +93,8 @@ PanelButton::PanelButton( TQWidget* parent, const char* name, bool forceStandard
installEventFilter(KickerTip::the());
- connect(kapp, TQT_SIGNAL(settingsChanged(int)), TQT_SLOT(updateSettings(int)));
- connect(kapp, TQT_SIGNAL(iconChanged(int)), TQT_SLOT(updateIcon(int)));
+ connect(kapp, TQ_SIGNAL(settingsChanged(int)), TQ_SLOT(updateSettings(int)));
+ connect(kapp, TQ_SIGNAL(iconChanged(int)), TQ_SLOT(updateIcon(int)));
}
void PanelButton::configure()
@@ -245,7 +245,7 @@ void PanelButton::checkForDeletion(const TQString& path)
if (path == m_backingFile)
{
setEnabled(false);
- TQTimer::singleShot(1000, this, TQT_SLOT(scheduleForRemoval()));
+ TQTimer::singleShot(1000, this, TQ_SLOT(scheduleForRemoval()));
}
}
@@ -278,7 +278,7 @@ void PanelButton::scheduleForRemoval()
}
timelapse *= 2;
- TQTimer::singleShot(timelapse, this, TQT_SLOT(scheduleForRemoval()));
+ TQTimer::singleShot(timelapse, this, TQ_SLOT(scheduleForRemoval()));
}
}
@@ -833,16 +833,16 @@ void PanelButton::backedByFile(const TQString& localFilePath)
}
// avoid multiple connections
- disconnect(KDirWatch::self(), TQT_SIGNAL(deleted(const TQString&)),
- this, TQT_SLOT(checkForDeletion(const TQString&)));
+ disconnect(KDirWatch::self(), TQ_SIGNAL(deleted(const TQString&)),
+ this, TQ_SLOT(checkForDeletion(const TQString&)));
if (!KDirWatch::self()->contains(m_backingFile))
{
KDirWatch::self()->addFile(m_backingFile);
}
- connect(KDirWatch::self(), TQT_SIGNAL(deleted(const TQString&)),
- this, TQT_SLOT(checkForDeletion(const TQString&)));
+ connect(KDirWatch::self(), TQ_SIGNAL(deleted(const TQString&)),
+ this, TQ_SLOT(checkForDeletion(const TQString&)));
}
@@ -966,7 +966,7 @@ PanelPopupButton::PanelPopupButton(TQWidget *parent, const char *name, bool forc
m_pressedDuringPopup(false),
m_initialized(false)
{
- connect(this, TQT_SIGNAL(pressed()), TQT_SLOT(slotExecMenu()));
+ connect(this, TQ_SIGNAL(pressed()), TQ_SLOT(slotExecMenu()));
}
void PanelPopupButton::setPopup(TQWidget *popup)
@@ -974,7 +974,7 @@ void PanelPopupButton::setPopup(TQWidget *popup)
if (m_popup)
{
m_popup->removeEventFilter(this);
- disconnect(m_popup, TQT_SIGNAL(aboutToHide()), this, TQT_SLOT(menuAboutToHide()));
+ disconnect(m_popup, TQ_SIGNAL(aboutToHide()), this, TQ_SLOT(menuAboutToHide()));
}
m_popup = popup;
@@ -983,7 +983,7 @@ void PanelPopupButton::setPopup(TQWidget *popup)
if (m_popup)
{
m_popup->installEventFilter(this);
- connect(m_popup, TQT_SIGNAL(aboutToHide()), this, TQT_SLOT(menuAboutToHide()));
+ connect(m_popup, TQ_SIGNAL(aboutToHide()), this, TQ_SLOT(menuAboutToHide()));
}
}