summaryrefslogtreecommitdiffstats
path: root/kicker/applets
diff options
context:
space:
mode:
Diffstat (limited to 'kicker/applets')
-rw-r--r--kicker/applets/clock/clock.cpp72
-rw-r--r--kicker/applets/launcher/configdlg.cpp4
-rw-r--r--kicker/applets/launcher/quickaddappsmenu.cpp8
-rw-r--r--kicker/applets/launcher/quickbutton.cpp18
-rw-r--r--kicker/applets/launcher/quicklauncher.cpp30
-rw-r--r--kicker/applets/lockout/lockout.cpp18
-rw-r--r--kicker/applets/media/mediaapplet.cpp24
-rw-r--r--kicker/applets/media/mediumbutton.cpp8
-rw-r--r--kicker/applets/menu/menuapplet.cpp14
-rw-r--r--kicker/applets/minipager/pagerapplet.cpp42
-rw-r--r--kicker/applets/minipager/pagerbutton.cpp24
-rw-r--r--kicker/applets/naughty/NaughtyApplet.cpp12
-rw-r--r--kicker/applets/naughty/NaughtyProcessMonitor.cpp2
-rw-r--r--kicker/applets/run/runapplet.cpp6
-rw-r--r--kicker/applets/swallow/swallow.cpp20
-rw-r--r--kicker/applets/systemtray/systemtrayapplet.cpp34
-rw-r--r--kicker/applets/taskbar/taskbarapplet.cpp2
-rw-r--r--kicker/applets/trash/trashapplet.cpp16
-rw-r--r--kicker/applets/trash/trashbutton.cpp4
19 files changed, 179 insertions, 179 deletions
diff --git a/kicker/applets/clock/clock.cpp b/kicker/applets/clock/clock.cpp
index 408349250..7cbb5a6c8 100644
--- a/kicker/applets/clock/clock.cpp
+++ b/kicker/applets/clock/clock.cpp
@@ -84,7 +84,7 @@ TDEConfigDialogSingle::TDEConfigDialogSingle(Zone *zone, TQWidget *parent,
setIcon(SmallIcon("date"));
settings = new SettingsWidgetImp(prefs, zone, 0, "General");
- connect(settings->kcfg_Type, TQT_SIGNAL(activated(int)), TQT_SLOT(selectPage(int)));
+ connect(settings->kcfg_Type, TQ_SIGNAL(activated(int)), TQ_SLOT(selectPage(int)));
settings->kcfg_PlainBackgroundColor->setDefaultColor(TDEApplication::palette().active().background());
settings->kcfg_DateBackgroundColor->setDefaultColor(TDEApplication::palette().active().background());
@@ -104,24 +104,24 @@ TDEConfigDialogSingle::TDEConfigDialogSingle(Zone *zone, TQWidget *parent,
settings->widgetStack->addWidget(fuzzyPage, 3);
fuzzyPage->kcfg_FuzzyBackgroundColor->setDefaultColor(TDEApplication::palette().active().background());
- connect(settings->kcfg_PlainShowDate, TQT_SIGNAL(toggled(bool)),
- TQT_SLOT(dateToggled()));
- connect(settings->kcfg_PlainShowDayOfWeek, TQT_SIGNAL(toggled(bool)),
- TQT_SLOT(dateToggled()));
- connect(digitalPage->kcfg_DigitalShowDate, TQT_SIGNAL(toggled(bool)),
- TQT_SLOT(dateToggled()));
- connect(digitalPage->kcfg_DigitalShowDayOfWeek, TQT_SIGNAL(toggled(bool)),
- TQT_SLOT(dateToggled()));
- connect(digitalPage->kcfg_DigitalShowDate, TQT_SIGNAL(toggled(bool)),
- TQT_SLOT(dateToggled()));
- connect(analogPage->kcfg_AnalogShowDate, TQT_SIGNAL(toggled(bool)),
- TQT_SLOT(dateToggled()));
- connect(analogPage->kcfg_AnalogShowDayOfWeek, TQT_SIGNAL(toggled(bool)),
- TQT_SLOT(dateToggled()));
- connect(fuzzyPage->kcfg_FuzzyShowDate, TQT_SIGNAL(toggled(bool)),
- TQT_SLOT(dateToggled()));
- connect(fuzzyPage->kcfg_FuzzyShowDayOfWeek, TQT_SIGNAL(toggled(bool)),
- TQT_SLOT(dateToggled()));
+ connect(settings->kcfg_PlainShowDate, TQ_SIGNAL(toggled(bool)),
+ TQ_SLOT(dateToggled()));
+ connect(settings->kcfg_PlainShowDayOfWeek, TQ_SIGNAL(toggled(bool)),
+ TQ_SLOT(dateToggled()));
+ connect(digitalPage->kcfg_DigitalShowDate, TQ_SIGNAL(toggled(bool)),
+ TQ_SLOT(dateToggled()));
+ connect(digitalPage->kcfg_DigitalShowDayOfWeek, TQ_SIGNAL(toggled(bool)),
+ TQ_SLOT(dateToggled()));
+ connect(digitalPage->kcfg_DigitalShowDate, TQ_SIGNAL(toggled(bool)),
+ TQ_SLOT(dateToggled()));
+ connect(analogPage->kcfg_AnalogShowDate, TQ_SIGNAL(toggled(bool)),
+ TQ_SLOT(dateToggled()));
+ connect(analogPage->kcfg_AnalogShowDayOfWeek, TQ_SIGNAL(toggled(bool)),
+ TQ_SLOT(dateToggled()));
+ connect(fuzzyPage->kcfg_FuzzyShowDate, TQ_SIGNAL(toggled(bool)),
+ TQ_SLOT(dateToggled()));
+ connect(fuzzyPage->kcfg_FuzzyShowDayOfWeek, TQ_SIGNAL(toggled(bool)),
+ TQ_SLOT(dateToggled()));
addPage(settings, i18n("General"), TQString::fromLatin1("package_settings"));
}
@@ -144,7 +144,7 @@ void TDEConfigDialogSingle::updateWidgetsDefault()
item->swapDefault();
// This is ugly, but kcfg_Type does not have its correct setting
// at this point in time.
- TQTimer::singleShot(0, this, TQT_SLOT(dateToggled()));
+ TQTimer::singleShot(0, this, TQ_SLOT(dateToggled()));
}
void TDEConfigDialogSingle::selectPage(int p)
@@ -743,7 +743,7 @@ FuzzyClock::FuzzyClock(ClockApplet *applet, Prefs *prefs, TQWidget *parent, cons
void FuzzyClock::deleteMyself()
{
if(alreadyDrawing) // try again later
- TQTimer::singleShot(1000, this, TQT_SLOT(deleteMyself()));
+ TQTimer::singleShot(1000, this, TQ_SLOT(deleteMyself()));
else
delete this;
}
@@ -917,9 +917,9 @@ ClockApplet::ClockApplet(const TQString& configFile, Type t, int actions,
_date->setBackgroundOrigin(AncestorOrigin);
_date->installEventFilter(this); // catch mouse clicks
- connect(m_layoutTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(fixupLayout()));
- connect(_timer, TQT_SIGNAL(timeout()), TQT_SLOT(slotUpdate()));
- connect(kapp, TQT_SIGNAL(tdedisplayPaletteChanged()), TQT_SLOT(globalPaletteChange()));
+ connect(m_layoutTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(fixupLayout()));
+ connect(_timer, TQ_SIGNAL(timeout()), TQ_SLOT(slotUpdate()));
+ connect(kapp, TQ_SIGNAL(tdedisplayPaletteChanged()), TQ_SLOT(globalPaletteChange()));
reconfigure(); // initialize clock widget
slotUpdate();
@@ -927,8 +927,8 @@ ClockApplet::ClockApplet(const TQString& configFile, Type t, int actions,
if (kapp->authorizeTDEAction("kicker_rmb"))
{
menu = new TDEPopupMenu();
- connect(menu, TQT_SIGNAL(aboutToShow()), TQT_SLOT(aboutToShowContextMenu()));
- connect(menu, TQT_SIGNAL(activated(int)), TQT_SLOT(contextMenuActivated(int)));
+ connect(menu, TQ_SIGNAL(aboutToShow()), TQ_SLOT(aboutToShowContextMenu()));
+ connect(menu, TQ_SIGNAL(activated(int)), TQ_SLOT(contextMenuActivated(int)));
setCustomMenu(menu);
}
@@ -1156,7 +1156,7 @@ void ClockApplet::preferences(bool timezone)
if (!dialog)
{
dialog = new TDEConfigDialogSingle(zone, this, configFileName, _prefs, KDialogBase::Swallow);
- connect(dialog, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT(slotReconfigure()));
+ connect(dialog, TQ_SIGNAL(settingsChanged()), this, TQ_SLOT(slotReconfigure()));
}
if (timezone)
@@ -1242,7 +1242,7 @@ void ClockApplet::reconfigure()
m_updateOnTheMinute = updateInterval != shortInterval;
if (m_updateOnTheMinute)
{
- connect(_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(setTimerTo60()));
+ connect(_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(setTimerTo60()));
updateInterval = ((60 - clockGetTime().second()) * 1000) + 500;
}
else
@@ -1250,7 +1250,7 @@ void ClockApplet::reconfigure()
// in case we reconfigure to show seconds but setTimerTo60 is going to be called
// we need to make sure to disconnect this so we don't end up updating only once
// a minute ;)
- disconnect(_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(setTimerTo60()));
+ disconnect(_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(setTimerTo60()));
}
_timer->start(updateInterval);
@@ -1300,7 +1300,7 @@ void ClockApplet::reconfigure()
void ClockApplet::setTimerTo60()
{
// kdDebug() << "setTimerTo60" << endl;
- disconnect(_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(setTimerTo60()));
+ disconnect(_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(setTimerTo60()));
_timer->changeInterval(60000);
}
@@ -1417,7 +1417,7 @@ void ClockApplet::slotUpdate()
if (seconds > 2)
{
- connect(_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(setTimerTo60()));
+ connect(_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(setTimerTo60()));
_timer->changeInterval(((60 - seconds) * 1000) + 500);
}
}
@@ -1430,7 +1430,7 @@ void ClockApplet::slotCalendarDeleted()
_calendar = 0L;
// don't reopen the calendar immediately ...
_disableCalendar = true;
- TQTimer::singleShot(100, this, TQT_SLOT(slotEnableCalendar()));
+ TQTimer::singleShot(100, this, TQ_SLOT(slotEnableCalendar()));
// we are free to show a tip know :)
installEventFilter(KickerTip::the());
@@ -1460,7 +1460,7 @@ void ClockApplet::toggleCalendar()
removeEventFilter(KickerTip::the());
_calendar = new DatePicker(this, _lastDate, _prefs);
- connect(_calendar, TQT_SIGNAL(destroyed()), TQT_SLOT(slotCalendarDeleted()));
+ connect(_calendar, TQ_SIGNAL(destroyed()), TQ_SLOT(slotCalendarDeleted()));
TQSize size = _prefs->calendarSize();
@@ -1554,12 +1554,12 @@ void ClockApplet::aboutToShowContextMenu()
copyMenu->insertItem(dt.time().toString(), 207);
copyMenu->insertItem(dt.toString(), 208);
copyMenu->insertItem(dt.toString("yyyy-MM-dd hh:mm:ss"), 209);
- connect( copyMenu, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( slotCopyMenuActivated(int) ) );
+ connect( copyMenu, TQ_SIGNAL( activated(int) ), this, TQ_SLOT( slotCopyMenuActivated(int) ) );
if (!bImmutable)
{
TDEPopupMenu *zoneMenu = new TDEPopupMenu( menu );
- connect(zoneMenu, TQT_SIGNAL(activated(int)), TQT_SLOT(contextMenuActivated(int)));
+ connect(zoneMenu, TQ_SIGNAL(activated(int)), TQ_SLOT(contextMenuActivated(int)));
for (int i = 0; i <= zone->remoteZoneCount(); i++)
{
if (i == 0)
@@ -1576,7 +1576,7 @@ void ClockApplet::aboutToShowContextMenu()
zoneMenu->insertItem(SmallIcon("configure"), i18n("&Configure Timezones..."), 110);
TDEPopupMenu *type_menu = new TDEPopupMenu(menu);
- connect(type_menu, TQT_SIGNAL(activated(int)), TQT_SLOT(contextMenuActivated(int)));
+ connect(type_menu, TQ_SIGNAL(activated(int)), TQ_SLOT(contextMenuActivated(int)));
type_menu->insertItem(i18n("&Plain"), Prefs::EnumType::Plain, 1);
type_menu->insertItem(i18n("&Digital"), Prefs::EnumType::Digital, 2);
type_menu->insertItem(i18n("&Analog"), Prefs::EnumType::Analog, 3);
diff --git a/kicker/applets/launcher/configdlg.cpp b/kicker/applets/launcher/configdlg.cpp
index d542d2593..88301b7cf 100644
--- a/kicker/applets/launcher/configdlg.cpp
+++ b/kicker/applets/launcher/configdlg.cpp
@@ -47,8 +47,8 @@ ConfigDlg::ConfigDlg(TQWidget *parent, const char *name, Prefs *config,
m_ui->iconDim->insertItem(TQString::number(
m_settings->iconDimChoices()[n]));
}
- connect(m_ui->iconDim, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(updateButtons()));
+ connect(m_ui->iconDim, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(updateButtons()));
updateWidgets();
m_oldIconDimText = m_ui->iconDim->currentText();
updateButtons();
diff --git a/kicker/applets/launcher/quickaddappsmenu.cpp b/kicker/applets/launcher/quickaddappsmenu.cpp
index cdbc94dd5..bf496e028 100644
--- a/kicker/applets/launcher/quickaddappsmenu.cpp
+++ b/kicker/applets/launcher/quickaddappsmenu.cpp
@@ -38,8 +38,8 @@ QuickAddAppsMenu::QuickAddAppsMenu(const TQString &label, const TQString &relPat
{
_targetObject = target;
_sender = sender;
- connect(this, TQT_SIGNAL(addAppBefore(TQString,TQString)),
- target, TQT_SLOT(addAppBeforeManually(TQString,TQString)));
+ connect(this, TQ_SIGNAL(addAppBefore(TQString,TQString)),
+ target, TQ_SLOT(addAppBeforeManually(TQString,TQString)));
}
QuickAddAppsMenu::QuickAddAppsMenu(TQWidget *target, TQWidget *parent, const TQString &sender, const char *name)
@@ -47,8 +47,8 @@ QuickAddAppsMenu::QuickAddAppsMenu(TQWidget *target, TQWidget *parent, const TQS
{
_targetObject = target;
_sender = sender;
- connect(this, TQT_SIGNAL(addAppBefore(TQString,TQString)),
- target, TQT_SLOT(addAppBeforeManually(TQString,TQString)));
+ connect(this, TQ_SIGNAL(addAppBefore(TQString,TQString)),
+ target, TQ_SLOT(addAppBeforeManually(TQString,TQString)));
}
void QuickAddAppsMenu::slotExec(int id)
diff --git a/kicker/applets/launcher/quickbutton.cpp b/kicker/applets/launcher/quickbutton.cpp
index add317a3b..2b09dac34 100644
--- a/kicker/applets/launcher/quickbutton.cpp
+++ b/kicker/applets/launcher/quickbutton.cpp
@@ -158,7 +158,7 @@ QuickButton::QuickButton(const TQString &u, TDEAction* configAction,
if (_qurl->url() == "SPECIAL_BUTTON__SHOW_DESKTOP") {
setToggleButton(true);
setOn( ShowDesktop::the()->desktopShowing() );
- connect( ShowDesktop::the(), TQT_SIGNAL(desktopShown(bool)), this, TQT_SLOT(toggle(bool)) );
+ connect( ShowDesktop::the(), TQ_SIGNAL(desktopShown(bool)), this, TQ_SLOT(toggle(bool)) );
}
TQToolTip::add(this, _qurl->name());
@@ -172,18 +172,18 @@ QuickButton::QuickButton(const TQString &u, TDEAction* configAction,
configAction->plug(_popup);
_popup->insertSeparator();
_popup->insertItem(SmallIcon("remove"), i18n("Remove Application"),
- this, TQT_SLOT(removeApp()));
+ this, TQ_SLOT(removeApp()));
m_stickyAction = new TDEToggleAction(i18n("Never Remove Automatically"),
TDEShortcut(), this);
- connect(m_stickyAction, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(slotStickyToggled(bool)));
+ connect(m_stickyAction, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(slotStickyToggled(bool)));
m_stickyAction->plug(_popup, 2);
m_stickyId = _popup->idAt(2);
- connect(this, TQT_SIGNAL(clicked()), TQT_SLOT(launch()));
- connect(this, TQT_SIGNAL(removeApp(QuickButton *)), parent,
- TQT_SLOT(removeAppManually(QuickButton *)));
+ connect(this, TQ_SIGNAL(clicked()), TQ_SLOT(launch()));
+ connect(this, TQ_SIGNAL(removeApp(QuickButton *)), parent,
+ TQ_SLOT(removeAppManually(QuickButton *)));
}
QuickButton::~QuickButton()
@@ -303,7 +303,7 @@ void QuickButton::removeApp()
void QuickButton::flash()
{
m_flashCounter = 2000;
- TQTimer::singleShot(0, this, TQT_SLOT(slotFlash()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotFlash()));
}
void QuickButton::slotFlash()
@@ -314,7 +314,7 @@ void QuickButton::slotFlash()
m_flashCounter -= timeout;
if (m_flashCounter < 0) m_flashCounter = 0;
update();
- TQTimer::singleShot(timeout, this, TQT_SLOT(slotFlash()));
+ TQTimer::singleShot(timeout, this, TQ_SLOT(slotFlash()));
}
}
diff --git a/kicker/applets/launcher/quicklauncher.cpp b/kicker/applets/launcher/quicklauncher.cpp
index d0f5d25dd..3f0ee88a8 100644
--- a/kicker/applets/launcher/quicklauncher.cpp
+++ b/kicker/applets/launcher/quicklauncher.cpp
@@ -108,10 +108,10 @@ QuickLauncher::QuickLauncher(const TQString& configFile, Type type, int actions,
m_dragButtons = 0;
m_configAction = new TDEAction(i18n("Configure Quicklauncher..."), "configure", TDEShortcut(),
- this, TQT_SLOT(slotConfigure()), this);
+ this, TQ_SLOT(slotConfigure()), this);
m_saveTimer = new TQTimer(this, "m_saveTimer");
- connect(m_saveTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(saveConfig()));
+ connect(m_saveTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(saveConfig()));
m_popularity = new PopularityStatistics();
@@ -168,15 +168,15 @@ void QuickLauncher::buildPopupMenu()
m_appletPopup = new TQPopupMenu(this);
m_appletPopup->insertItem(i18n("Add Application"), addAppsMenu);
m_removeAppsMenu = new TQPopupMenu(this);
- connect(m_removeAppsMenu, TQT_SIGNAL(aboutToShow()),
- TQT_SLOT(fillRemoveAppsMenu()));
- connect(m_removeAppsMenu, TQT_SIGNAL(activated(int)),
- TQT_SLOT(removeAppManually(int)));
+ connect(m_removeAppsMenu, TQ_SIGNAL(aboutToShow()),
+ TQ_SLOT(fillRemoveAppsMenu()));
+ connect(m_removeAppsMenu, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(removeAppManually(int)));
m_appletPopup->insertItem(i18n("Remove Application"), m_removeAppsMenu);
m_appletPopup->insertSeparator();
m_appletPopup->setCheckable( true );
- m_appletPopup->insertItem(i18n("About"), this, TQT_SLOT(about()));
+ m_appletPopup->insertItem(i18n("About"), this, TQ_SLOT(about()));
setCustomMenu(m_appletPopup);
}
@@ -235,8 +235,8 @@ void QuickLauncher::slotConfigure()
m_configDialog = new ConfigDlg(this, "configdialog",
m_settings, SIZE_AUTO, KDialogBase::Plain, KDialogBase::Ok |
KDialogBase::Cancel | KDialogBase::Apply | KDialogBase::Default);
- connect(m_configDialog, TQT_SIGNAL(settingsChanged()),
- this, TQT_SLOT(slotSettingsDialogChanged()));
+ connect(m_configDialog, TQ_SIGNAL(settingsChanged()),
+ this, TQ_SLOT(slotSettingsDialogChanged()));
}
m_configDialog->show();
@@ -392,10 +392,10 @@ void QuickLauncher::addApp(TQString url, bool manuallyAdded)
QuickButton* QuickLauncher::createButton(TQString url)
{
QuickButton* newButton=new QuickButton(url, m_configAction, this);
- connect(newButton, TQT_SIGNAL(executed(TQString)),
- this, TQT_SLOT(slotOwnServiceExecuted(TQString)));
- connect(newButton, TQT_SIGNAL(stickyToggled(bool)),
- this, TQT_SLOT(slotStickyToggled()));
+ connect(newButton, TQ_SIGNAL(executed(TQString)),
+ this, TQ_SLOT(slotOwnServiceExecuted(TQString)));
+ connect(newButton, TQ_SIGNAL(stickyToggled(bool)),
+ this, TQ_SLOT(slotStickyToggled()));
newButton->setPopupDirection(popupDirection());
return newButton;
}
@@ -973,7 +973,7 @@ void QuickLauncher::serviceStartedByStorageId(TQString /*starter*/, TQString sto
if (m_settings->autoAdjustEnabled())
{
- TQTimer::singleShot(0, this, TQT_SLOT(slotAdjustToCurrentPopularity()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotAdjustToCurrentPopularity()));
}
}
@@ -1047,7 +1047,7 @@ void QuickLauncher::slotOwnServiceExecuted(TQString serviceMenuId)
m_popularity->useService(serviceMenuId);
if (m_settings->autoAdjustEnabled())
{
- TQTimer::singleShot(0, this, TQT_SLOT(slotAdjustToCurrentPopularity()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotAdjustToCurrentPopularity()));
}
}
diff --git a/kicker/applets/lockout/lockout.cpp b/kicker/applets/lockout/lockout.cpp
index 800c9f8a6..fcda62468 100644
--- a/kicker/applets/lockout/lockout.cpp
+++ b/kicker/applets/lockout/lockout.cpp
@@ -82,8 +82,8 @@ Lockout::Lockout( const TQString& configFile, TQWidget *parent, const char *name
bTransparent = conf->readBoolEntry( "Transparent", bTransparent );
- connect( lockButton, TQT_SIGNAL( clicked() ), TQT_SLOT( lock() ));
- connect( logoutButton, TQT_SIGNAL( clicked() ), TQT_SLOT( logout() ));
+ connect( lockButton, TQ_SIGNAL( clicked() ), TQ_SLOT( lock() ));
+ connect( logoutButton, TQ_SIGNAL( clicked() ), TQ_SLOT( logout() ));
lockButton->installEventFilter( this );
logoutButton->installEventFilter( this );
@@ -100,7 +100,7 @@ Lockout::Lockout( const TQString& configFile, TQWidget *parent, const char *name
if ( !kapp->dcopClient()->isAttached() )
kapp->dcopClient()->attach();
- connect( kapp, TQT_SIGNAL( iconChanged(int) ), TQT_SLOT( slotIconChanged() ));
+ connect( kapp, TQ_SIGNAL( iconChanged(int) ), TQ_SLOT( slotIconChanged() ));
}
Lockout::~Lockout()
@@ -201,17 +201,17 @@ bool Lockout::eventFilter( TQObject *o, TQEvent *e )
TQPopupMenu *popup = new TQPopupMenu();
popup->insertItem( SmallIcon( "system-lock-screen" ), i18n("Lock Session"),
- this, TQT_SLOT( lock() ) );
+ this, TQ_SLOT( lock() ) );
popup->insertSeparator();
i18n("&Transparent");
//popup->insertItem( i18n( "&Transparent" ), 100 );
popup->insertItem( SmallIcon( "configure" ),
i18n( "&Configure Screen Saver..." ),
- this, TQT_SLOT( slotLockPrefs() ) );
+ this, TQ_SLOT( slotLockPrefs() ) );
//popup->setItemChecked( 100, bTransparent );
- //popup->connectItem(100, this, TQT_SLOT( slotTransparent() ) );
+ //popup->connectItem(100, this, TQ_SLOT( slotTransparent() ) );
//if (conf->entryIsImmutable( "Transparent" ))
// popup->setItemEnabled( 100, false );
popup->exec( me->globalPos() );
@@ -224,15 +224,15 @@ bool Lockout::eventFilter( TQObject *o, TQEvent *e )
TQPopupMenu *popup = new TQPopupMenu();
popup->insertItem( SmallIcon( "system-log-out" ), i18n("&Log Out..."),
- this, TQT_SLOT( logout() ) );
+ this, TQ_SLOT( logout() ) );
popup->insertSeparator();
//popup->insertItem( i18n( "&Transparent" ), 100 );
popup->insertItem( SmallIcon( "configure" ),
i18n( "&Configure Session Manager..." ),
- this, TQT_SLOT( slotLogoutPrefs() ) );
+ this, TQ_SLOT( slotLogoutPrefs() ) );
//popup->setItemChecked( 100, bTransparent );
- //popup->connectItem(100, this, TQT_SLOT( slotTransparent() ) );
+ //popup->connectItem(100, this, TQ_SLOT( slotTransparent() ) );
//if (conf->entryIsImmutable( "Transparent" ))
// popup->setItemEnabled( 100, false );
popup->exec( me->globalPos() );
diff --git a/kicker/applets/media/mediaapplet.cpp b/kicker/applets/media/mediaapplet.cpp
index b50aea3d8..89f836492 100644
--- a/kicker/applets/media/mediaapplet.cpp
+++ b/kicker/applets/media/mediaapplet.cpp
@@ -57,18 +57,18 @@ MediaApplet::MediaApplet(const TQString& configFile, Type type, int actions, TQW
mpDirLister = new KDirLister();
- connect( mpDirLister, TQT_SIGNAL( clear() ),
- this, TQT_SLOT( slotClear() ) );
- connect( mpDirLister, TQT_SIGNAL( started(const KURL&) ),
- this, TQT_SLOT( slotStarted(const KURL&) ) );
- connect( mpDirLister, TQT_SIGNAL( completed() ),
- this, TQT_SLOT( slotCompleted() ) );
- connect( mpDirLister, TQT_SIGNAL( newItems( const KFileItemList & ) ),
- this, TQT_SLOT( slotNewItems( const KFileItemList & ) ) );
- connect( mpDirLister, TQT_SIGNAL( deleteItem( KFileItem * ) ),
- this, TQT_SLOT( slotDeleteItem( KFileItem * ) ) );
- connect( mpDirLister, TQT_SIGNAL( refreshItems( const KFileItemList & ) ),
- this, TQT_SLOT( slotRefreshItems( const KFileItemList & ) ) );
+ connect( mpDirLister, TQ_SIGNAL( clear() ),
+ this, TQ_SLOT( slotClear() ) );
+ connect( mpDirLister, TQ_SIGNAL( started(const KURL&) ),
+ this, TQ_SLOT( slotStarted(const KURL&) ) );
+ connect( mpDirLister, TQ_SIGNAL( completed() ),
+ this, TQ_SLOT( slotCompleted() ) );
+ connect( mpDirLister, TQ_SIGNAL( newItems( const KFileItemList & ) ),
+ this, TQ_SLOT( slotNewItems( const KFileItemList & ) ) );
+ connect( mpDirLister, TQ_SIGNAL( deleteItem( KFileItem * ) ),
+ this, TQ_SLOT( slotDeleteItem( KFileItem * ) ) );
+ connect( mpDirLister, TQ_SIGNAL( refreshItems( const KFileItemList & ) ),
+ this, TQ_SLOT( slotRefreshItems( const KFileItemList & ) ) );
reloadList();
}
diff --git a/kicker/applets/media/mediumbutton.cpp b/kicker/applets/media/mediumbutton.cpp
index 5977063d7..be75a3d40 100644
--- a/kicker/applets/media/mediumbutton.cpp
+++ b/kicker/applets/media/mediumbutton.cpp
@@ -48,10 +48,10 @@ MediumButton::MediumButton(TQWidget *parent, const KFileItem &fileItem)
: PanelPopupButton(parent), mActions(this, this), mFileItem(fileItem), mOpenTimer(0,
"MediumButton::mOpenTimer")
{
- TDEAction *a = KStdAction::paste(this, TQT_SLOT(slotPaste()),
+ TDEAction *a = KStdAction::paste(this, TQ_SLOT(slotPaste()),
&mActions, "pasteto");
a->setShortcut(0);
- a = KStdAction::copy(this, TQT_SLOT(slotCopy()), &mActions, "copy");
+ a = KStdAction::copy(this, TQ_SLOT(slotCopy()), &mActions, "copy");
a->setShortcut(0);
setBackgroundOrigin(AncestorOrigin);
@@ -64,11 +64,11 @@ MediumButton::MediumButton(TQWidget *parent, const KFileItem &fileItem)
refreshType();
- connect(&mOpenTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotDragOpen()));
+ connect(&mOpenTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotDragOpen()));
// Activate this code only if we find a way to have both an
// action and a popup menu for the same kicker button
- //connect(this, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClicked()));
+ //connect(this, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClicked()));
setPopup(new TQPopupMenu());
}
diff --git a/kicker/applets/menu/menuapplet.cpp b/kicker/applets/menu/menuapplet.cpp
index 37ac216a1..dff03a036 100644
--- a/kicker/applets/menu/menuapplet.cpp
+++ b/kicker/applets/menu/menuapplet.cpp
@@ -89,8 +89,8 @@ Applet::Applet( const TQString& configFile_P, TQWidget* parent_P )
setBackgroundOrigin(AncestorOrigin);
dcopclient.registerAs( "menuapplet", false );
// toolbarAppearanceChanged(int) is sent when changing macstyle
- connect( kapp, TQT_SIGNAL( toolbarAppearanceChanged( int )),
- this, TQT_SLOT( readSettings()));
+ connect( kapp, TQ_SIGNAL( toolbarAppearanceChanged( int )),
+ this, TQ_SLOT( readSettings()));
claimSelection();
readSettings();
updateTopEdgeOffset();
@@ -298,11 +298,11 @@ void Applet::claimSelection()
{
delete selection_watcher;
selection_watcher = NULL;
- connect( selection, TQT_SIGNAL( lostOwnership()), TQT_SLOT( lostSelection()));
+ connect( selection, TQ_SIGNAL( lostOwnership()), TQ_SLOT( lostSelection()));
module = new KWinModule;
- connect( module, TQT_SIGNAL( windowAdded( WId )), this, TQT_SLOT( windowAdded( WId )));
- connect( module, TQT_SIGNAL( activeWindowChanged( WId )),
- this, TQT_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();
@@ -328,7 +328,7 @@ void Applet::lostSelection()
if( selection_watcher == NULL )
{
selection_watcher = new TDESelectionWatcher( makeSelectionAtom(), DefaultScreen( tqt_xdisplay()));
- connect( selection_watcher, TQT_SIGNAL( lostOwner()), this, TQT_SLOT( claimSelection()));
+ connect( selection_watcher, TQ_SIGNAL( lostOwner()), this, TQ_SLOT( claimSelection()));
}
delete module;
module = NULL;
diff --git a/kicker/applets/minipager/pagerapplet.cpp b/kicker/applets/minipager/pagerapplet.cpp
index be61ad451..437bae679 100644
--- a/kicker/applets/minipager/pagerapplet.cpp
+++ b/kicker/applets/minipager/pagerapplet.cpp
@@ -132,22 +132,22 @@ KMiniPager::KMiniPager(const TQString& configFile, Type type, int actions,
drawButtons();
- connect( m_twin, TQT_SIGNAL( currentDesktopChanged(int)), TQT_SLOT( slotSetDesktop(int) ) );
- connect( m_twin, TQT_SIGNAL( currentDesktopViewportChanged(int, const TQPoint&)), TQT_SLOT(slotSetDesktopViewport(int, const TQPoint&)));
- connect( m_twin, TQT_SIGNAL( numberOfDesktopsChanged(int)), TQT_SLOT( slotSetDesktopCount(int) ) );
- connect( m_twin, TQT_SIGNAL( desktopGeometryChanged(int)), TQT_SLOT( slotRefreshViewportCount(int) ) );
- connect( m_twin, TQT_SIGNAL( activeWindowChanged(WId)), TQT_SLOT( slotActiveWindowChanged(WId) ) );
- connect( m_twin, TQT_SIGNAL( windowAdded(WId) ), this, TQT_SLOT( slotWindowAdded(WId) ) );
- connect( m_twin, TQT_SIGNAL( windowRemoved(WId) ), this, TQT_SLOT( slotWindowRemoved(WId) ) );
- connect( m_twin, TQT_SIGNAL( windowChanged(WId,unsigned int) ), this, TQT_SLOT( slotWindowChanged(WId,unsigned int) ) );
- connect( m_twin, TQT_SIGNAL( desktopNamesChanged() ), this, TQT_SLOT( slotDesktopNamesChanged() ) );
- connect( kapp, TQT_SIGNAL(backgroundChanged(int)), TQT_SLOT(slotBackgroundChanged(int)) );
+ connect( m_twin, TQ_SIGNAL( currentDesktopChanged(int)), TQ_SLOT( slotSetDesktop(int) ) );
+ connect( m_twin, TQ_SIGNAL( currentDesktopViewportChanged(int, const TQPoint&)), TQ_SLOT(slotSetDesktopViewport(int, const TQPoint&)));
+ connect( m_twin, TQ_SIGNAL( numberOfDesktopsChanged(int)), TQ_SLOT( slotSetDesktopCount(int) ) );
+ connect( m_twin, TQ_SIGNAL( desktopGeometryChanged(int)), TQ_SLOT( slotRefreshViewportCount(int) ) );
+ connect( m_twin, TQ_SIGNAL( activeWindowChanged(WId)), TQ_SLOT( slotActiveWindowChanged(WId) ) );
+ connect( m_twin, TQ_SIGNAL( windowAdded(WId) ), this, TQ_SLOT( slotWindowAdded(WId) ) );
+ connect( m_twin, TQ_SIGNAL( windowRemoved(WId) ), this, TQ_SLOT( slotWindowRemoved(WId) ) );
+ connect( m_twin, TQ_SIGNAL( windowChanged(WId,unsigned int) ), this, TQ_SLOT( slotWindowChanged(WId,unsigned int) ) );
+ connect( m_twin, TQ_SIGNAL( desktopNamesChanged() ), this, TQ_SLOT( slotDesktopNamesChanged() ) );
+ connect( kapp, TQ_SIGNAL(backgroundChanged(int)), TQ_SLOT(slotBackgroundChanged(int)) );
if (kapp->authorizeTDEAction("kicker_rmb") && kapp->authorizeControlModule("tde-kcmtaskbar.desktop"))
{
m_contextMenu = new TQPopupMenu();
- connect(m_contextMenu, TQT_SIGNAL(aboutToShow()), TQT_SLOT(aboutToShowContextMenu()));
- connect(m_contextMenu, TQT_SIGNAL(activated(int)), TQT_SLOT(contextMenuActivated(int)));
+ connect(m_contextMenu, TQ_SIGNAL(aboutToShow()), TQ_SLOT(aboutToShowContextMenu()));
+ connect(m_contextMenu, TQ_SIGNAL(activated(int)), TQ_SLOT(contextMenuActivated(int)));
setCustomMenu(m_contextMenu);
}
@@ -484,10 +484,10 @@ void KMiniPager::drawButtons()
m_desktops.append( desk );
m_group->insert( desk, count );
- connect(desk, TQT_SIGNAL(buttonSelected(int)),
- TQT_SLOT(slotButtonSelected(int)) );
- connect(desk, TQT_SIGNAL(showMenu(const TQPoint&, int )),
- TQT_SLOT(slotShowMenu(const TQPoint&, int )) );
+ connect(desk, TQ_SIGNAL(buttonSelected(int)),
+ TQ_SLOT(slotButtonSelected(int)) );
+ connect(desk, TQ_SIGNAL(showMenu(const TQPoint&, int )),
+ TQ_SLOT(slotShowMenu(const TQPoint&, int )) );
desk->show();
++count;
@@ -727,7 +727,7 @@ void KMiniPager::aboutToShowContextMenu()
rowMenu->insertItem(i18n("one row or column", "&1"), 1 + rowOffset);
rowMenu->insertItem(i18n("two rows or columns", "&2"), 2 + rowOffset);
rowMenu->insertItem( i18n("three rows or columns", "&3"), 3 + rowOffset);
- connect(rowMenu, TQT_SIGNAL(activated(int)), TQT_SLOT(contextMenuActivated(int)));
+ connect(rowMenu, TQ_SIGNAL(activated(int)), TQ_SLOT(contextMenuActivated(int)));
showMenu->insertItem((orientation()==TQt::Horizontal) ? i18n("&Rows"):
i18n("&Columns"),
rowMenu);
@@ -753,7 +753,7 @@ void KMiniPager::aboutToShowContextMenu()
showMenu->insertItem(i18n("&Desktop Wallpaper"),
PagerSettings::EnumBackgroundType::BgLive + bgOffset);
}
- connect(showMenu, TQT_SIGNAL(activated(int)), TQT_SLOT(contextMenuActivated(int)));
+ connect(showMenu, TQ_SIGNAL(activated(int)), TQ_SLOT(contextMenuActivated(int)));
m_contextMenu->insertItem(i18n("&Pager Options"),showMenu);
m_contextMenu->insertItem(SmallIcon("configure"),
@@ -892,7 +892,7 @@ void KMiniPager::showPager()
else
{
// Let's run kpager if it isn't running
- connect( dcop, TQT_SIGNAL( applicationRegistered(const TQCString &) ), this, TQT_SLOT(applicationRegistered(const TQCString &)) );
+ connect( dcop, TQ_SIGNAL( applicationRegistered(const TQCString &) ), this, TQ_SLOT(applicationRegistered(const TQCString &)) );
dcop->setNotifications(true);
TQString strAppPath(locate("exe", "kpager"));
if (!strAppPath.isEmpty())
@@ -941,8 +941,8 @@ void KMiniPager::applicationRegistered( const TQCString & appName )
{
if (appName == "kpager")
{
- disconnect( kapp->dcopClient(), TQT_SIGNAL( applicationRegistered(const TQCString &) ),
- this, TQT_SLOT(applicationRegistered(const TQCString &)) );
+ disconnect( kapp->dcopClient(), TQ_SIGNAL( applicationRegistered(const TQCString &) ),
+ this, TQ_SLOT(applicationRegistered(const TQCString &)) );
showKPager(false);
}
}
diff --git a/kicker/applets/minipager/pagerbutton.cpp b/kicker/applets/minipager/pagerbutton.cpp
index 71e3f465b..22f59956d 100644
--- a/kicker/applets/minipager/pagerbutton.cpp
+++ b/kicker/applets/minipager/pagerbutton.cpp
@@ -83,10 +83,10 @@ KMiniPagerButton::KMiniPagerButton(int desk, bool useViewPorts, const TQPoint& v
m_desktopName = m_pager->twin()->desktopName(m_desktop);
- connect(this, TQT_SIGNAL(clicked()), TQT_SLOT(slotClicked()));
- connect(this, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotToggled(bool)));
- connect(&m_dragSwitchTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotDragSwitch()));
- connect(&m_updateCompressor, TQT_SIGNAL(timeout()), this, TQT_SLOT(update()));
+ connect(this, TQ_SIGNAL(clicked()), TQ_SLOT(slotClicked()));
+ connect(this, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotToggled(bool)));
+ connect(&m_dragSwitchTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotDragSwitch()));
+ connect(&m_updateCompressor, TQ_SIGNAL(timeout()), this, TQ_SLOT(update()));
if (m_pager->desktopPreview())
{
@@ -247,8 +247,8 @@ void KMiniPagerButton::loadBgPixmap()
}
else if (s_commonSharedPixmap)
{ // other button is already fetching the pixmap
- connect(s_commonSharedPixmap, TQT_SIGNAL(done(bool)),
- TQT_SLOT(backgroundLoaded(bool)));
+ connect(s_commonSharedPixmap, TQ_SIGNAL(done(bool)),
+ TQ_SLOT(backgroundLoaded(bool)));
return;
}
}
@@ -258,8 +258,8 @@ void KMiniPagerButton::loadBgPixmap()
if (!s_commonSharedPixmap)
{
s_commonSharedPixmap = new TDESharedPixmap;
- connect(s_commonSharedPixmap, TQT_SIGNAL(done(bool)),
- TQT_SLOT(backgroundLoaded(bool)));
+ connect(s_commonSharedPixmap, TQ_SIGNAL(done(bool)),
+ TQ_SLOT(backgroundLoaded(bool)));
}
retval = s_commonSharedPixmap->loadFromShared(TQString("DESKTOP1"));
if (retval == false) {
@@ -274,8 +274,8 @@ void KMiniPagerButton::loadBgPixmap()
if (!m_sharedPixmap)
{
m_sharedPixmap = new TDESharedPixmap;
- connect(m_sharedPixmap, TQT_SIGNAL(done(bool)),
- TQT_SLOT(backgroundLoaded(bool)));
+ connect(m_sharedPixmap, TQ_SIGNAL(done(bool)),
+ TQ_SLOT(backgroundLoaded(bool)));
}
retval = m_sharedPixmap->loadFromShared(TQString("DESKTOP%1").arg(m_desktop));
if (retval == false) {
@@ -726,7 +726,7 @@ void KMiniPagerButton::rename()
{
if ( !m_lineEdit ) {
m_lineEdit = new TQLineEdit( this );
- connect( m_lineEdit, TQT_SIGNAL( returnPressed() ), m_lineEdit, TQT_SLOT( hide() ) );
+ connect( m_lineEdit, TQ_SIGNAL( returnPressed() ), m_lineEdit, TQ_SLOT( hide() ) );
m_lineEdit->installEventFilter( this );
}
m_lineEdit->setGeometry( rect() );
@@ -752,7 +752,7 @@ bool KMiniPagerButton::eventFilter( TQObject *o, TQEvent * e)
{
m_pager->twin()->setDesktopName( m_desktop, m_lineEdit->text() );
m_desktopName = m_lineEdit->text();
- TQTimer::singleShot( 0, m_lineEdit, TQT_SLOT( deleteLater() ) );
+ TQTimer::singleShot( 0, m_lineEdit, TQ_SLOT( deleteLater() ) );
m_lineEdit = 0;
return true;
}
diff --git a/kicker/applets/naughty/NaughtyApplet.cpp b/kicker/applets/naughty/NaughtyApplet.cpp
index 2e75890d6..83db26d12 100644
--- a/kicker/applets/naughty/NaughtyApplet.cpp
+++ b/kicker/applets/naughty/NaughtyApplet.cpp
@@ -75,20 +75,20 @@ NaughtyApplet::NaughtyApplet
connect
(
- button_, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotPreferences())
+ button_, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotPreferences())
);
connect
(
- monitor_, TQT_SIGNAL(runawayProcess(ulong, const TQString &)),
- this, TQT_SLOT(slotWarn(ulong, const TQString &))
+ monitor_, TQ_SIGNAL(runawayProcess(ulong, const TQString &)),
+ this, TQ_SLOT(slotWarn(ulong, const TQString &))
);
connect
(
- monitor_, TQT_SIGNAL(load(uint)),
- this, TQT_SLOT(slotLoad(uint))
+ monitor_, TQ_SIGNAL(load(uint)),
+ this, TQ_SLOT(slotLoad(uint))
);
loadSettings();
diff --git a/kicker/applets/naughty/NaughtyProcessMonitor.cpp b/kicker/applets/naughty/NaughtyProcessMonitor.cpp
index 0239720fe..63b634e59 100644
--- a/kicker/applets/naughty/NaughtyProcessMonitor.cpp
+++ b/kicker/applets/naughty/NaughtyProcessMonitor.cpp
@@ -111,7 +111,7 @@ NaughtyProcessMonitor::NaughtyProcessMonitor
#ifdef __NetBSD__
d->kd = kvm_open(NULL, NULL, NULL, KVM_NO_FILES, "kvm_open");
#endif
- connect(d->timer_, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimeout()));
+ connect(d->timer_, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTimeout()));
}
NaughtyProcessMonitor::~NaughtyProcessMonitor()
diff --git a/kicker/applets/run/runapplet.cpp b/kicker/applets/run/runapplet.cpp
index 1121cf45b..638ce93c8 100644
--- a/kicker/applets/run/runapplet.cpp
+++ b/kicker/applets/run/runapplet.cpp
@@ -69,15 +69,15 @@ RunApplet::RunApplet(const TQString& configFile, Type type, int actions,
f = _btn->font();
f.setPixelSize(12);
_btn->setFont(f);
- connect(_btn, TQT_SIGNAL(clicked()), TQT_SLOT(popup_combo()));
+ connect(_btn, TQ_SIGNAL(clicked()), TQ_SLOT(popup_combo()));
// setup history combo
_input = new KHistoryCombo(this);
_input->setFocus();
_input->clearEdit();
watchForFocus(_input->lineEdit());
- connect(_input, TQT_SIGNAL(activated(const TQString&)),
- TQT_SLOT(run_command(const TQString&)));
+ connect(_input, TQ_SIGNAL(activated(const TQString&)),
+ TQ_SLOT(run_command(const TQString&)));
TDEConfig *c = config();
c->setGroup("General");
diff --git a/kicker/applets/swallow/swallow.cpp b/kicker/applets/swallow/swallow.cpp
index 1ac34cfec..c30a31cff 100644
--- a/kicker/applets/swallow/swallow.cpp
+++ b/kicker/applets/swallow/swallow.cpp
@@ -157,8 +157,8 @@ void SwallowApplet::createApps( SwallowCommandList* list )
while ( (it.current()) ) {
app = new SwallowApp( it.current(), this );
app->hide();
- connect( app, TQT_SIGNAL( embedded(SwallowApp *)),
- TQT_SLOT( embedded(SwallowApp *)));
+ connect( app, TQ_SIGNAL( embedded(SwallowApp *)),
+ TQ_SLOT( embedded(SwallowApp *)));
appList->append( app );
++it;
kapp->processEvents();
@@ -179,8 +179,8 @@ void SwallowApplet::embedded( SwallowApp *app )
kdDebug() << "--> ratio: " << app->sizeRatio() << endl;
kdDebug() << "**** " << app << " is embedded now, with (" << app->width() << ", " << app->height() << ")" << endl;
- disconnect( app, TQT_SIGNAL( embedded(SwallowApp *)),
- this, TQT_SLOT( embedded(SwallowApp *)));
+ disconnect( app, TQ_SIGNAL( embedded(SwallowApp *)),
+ this, TQ_SLOT( embedded(SwallowApp *)));
embeddedList->append( app );
@@ -278,8 +278,8 @@ SwallowApp::SwallowApp(const SwallowCommand *swc, TQWidget* parent,
QXEmbed::initialize();
winTitle = swc->title;
- connect(SwallowApplet::winModule(), TQT_SIGNAL(windowAdded(WId)),
- this, TQT_SLOT(windowAdded(WId)));
+ connect(SwallowApplet::winModule(), TQ_SIGNAL(windowAdded(WId)),
+ this, TQ_SLOT(windowAdded(WId)));
if (!swc->cmdline.isEmpty()) {
TDEProcess *process = new TDEProcess;
@@ -289,8 +289,8 @@ SwallowApp::SwallowApp(const SwallowCommand *swc, TQWidget* parent,
// *process << "-geometry";
// *process << TQString("32x32+%1+%2").arg(kapp->desktop()->width()).arg(kapp->desktop()->height());
- connect(process, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(processExited(TDEProcess*)));
+ connect(process, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(processExited(TDEProcess*)));
process->start();
}
@@ -330,8 +330,8 @@ void SwallowApp::windowAdded(WId win)
embed(win);
XReparentWindow(tqt_xdisplay(), win, winId(), 0, 0);
- disconnect(SwallowApplet::winModule(), TQT_SIGNAL(windowAdded(WId)),
- this, TQT_SLOT(windowAdded(WId)));
+ disconnect(SwallowApplet::winModule(), TQ_SIGNAL(windowAdded(WId)),
+ this, TQ_SLOT(windowAdded(WId)));
emit embedded( this );
}
diff --git a/kicker/applets/systemtray/systemtrayapplet.cpp b/kicker/applets/systemtray/systemtrayapplet.cpp
index 917382d8b..664dd85ad 100644
--- a/kicker/applets/systemtray/systemtrayapplet.cpp
+++ b/kicker/applets/systemtray/systemtrayapplet.cpp
@@ -99,8 +99,8 @@ SystemTrayApplet::SystemTrayApplet(const TQString& configFile, Type type, int ac
m_clockApplet = new ClockApplet(configFile, KPanelApplet::Normal, KPanelApplet::Preferences, this, "clockapplet");
updateClockGeometry();
- connect(m_clockApplet, TQT_SIGNAL(clockReconfigured()), this, TQT_SLOT(updateClockGeometry()));
- connect(m_clockApplet, TQT_SIGNAL(updateLayout()), this, TQT_SLOT(updateClockGeometry()));
+ connect(m_clockApplet, TQ_SIGNAL(clockReconfigured()), this, TQ_SLOT(updateClockGeometry()));
+ connect(m_clockApplet, TQ_SIGNAL(updateLayout()), this, TQ_SLOT(updateClockGeometry()));
setBackgroundOrigin(AncestorOrigin);
@@ -111,7 +111,7 @@ SystemTrayApplet::SystemTrayApplet(const TQString& configFile, Type type, int ac
kapp->dcopClient()->setNotifications(true);
connectDCOPSignal("kicker", "kicker", "configurationChanged()", "loadSettings()", false);
- TQTimer::singleShot(0, this, TQT_SLOT(initialize()));
+ TQTimer::singleShot(0, this, TQ_SLOT(initialize()));
}
void SystemTrayApplet::updateClockGeometry()
@@ -151,10 +151,10 @@ void SystemTrayApplet::initialize()
}
// the KWinModule notifies us when tray windows are added or removed
- connect( twin_module, TQT_SIGNAL( systemTrayWindowAdded(WId) ),
- this, TQT_SLOT( systemTrayWindowAdded(WId) ) );
- connect( twin_module, TQT_SIGNAL( systemTrayWindowRemoved(WId) ),
- this, TQT_SLOT( updateTrayWindows() ) );
+ connect( twin_module, TQ_SIGNAL( systemTrayWindowAdded(WId) ),
+ this, TQ_SLOT( systemTrayWindowAdded(WId) ) );
+ connect( twin_module, TQ_SIGNAL( systemTrayWindowRemoved(WId) ),
+ this, TQ_SLOT( updateTrayWindows() ) );
TQCString screenstr;
screenstr.setNum(tqt_xscreen());
@@ -249,9 +249,9 @@ void SystemTrayApplet::preferences()
KDialogBase::Ok | KDialogBase::Apply | KDialogBase::Cancel,
KDialogBase::Ok, true);
m_settingsDialog->resize(450, 400);
- connect(m_settingsDialog, TQT_SIGNAL(applyClicked()), this, TQT_SLOT(applySettings()));
- connect(m_settingsDialog, TQT_SIGNAL(okClicked()), this, TQT_SLOT(applySettings()));
- connect(m_settingsDialog, TQT_SIGNAL(finished()), this, TQT_SLOT(settingsDialogFinished()));
+ connect(m_settingsDialog, TQ_SIGNAL(applyClicked()), this, TQ_SLOT(applySettings()));
+ connect(m_settingsDialog, TQ_SIGNAL(okClicked()), this, TQ_SLOT(applySettings()));
+ connect(m_settingsDialog, TQ_SIGNAL(finished()), this, TQ_SLOT(settingsDialogFinished()));
TQGrid *settingsGrid = m_settingsDialog->makeGridMainWidget( 2, TQt::Vertical);
@@ -448,12 +448,12 @@ void SystemTrayApplet::showExpandButton(bool show)
.width(),
height() - 4);
}
- connect(m_expandButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(toggleExpanded()));
+ connect(m_expandButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(toggleExpanded()));
m_autoRetractTimer = new TQTimer(this, "m_autoRetractTimer");
- connect(m_autoRetractTimer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(checkAutoRetract()));
+ connect(m_autoRetractTimer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(checkAutoRetract()));
}
else
{
@@ -559,7 +559,7 @@ void SystemTrayApplet::embedWindow( WId w, bool kde_tray )
return;
}
- connect(emb, TQT_SIGNAL(embeddedWindowDestroyed()), TQT_SLOT(updateTrayWindows()));
+ connect(emb, TQ_SIGNAL(embeddedWindowDestroyed()), TQ_SLOT(updateTrayWindows()));
emb->setFixedSize(m_iconSize, m_iconSize);
if (shouldHide(w))
@@ -853,7 +853,7 @@ bool SystemTrayApplet::eventFilter(TQObject* watched, TQEvent* e)
{
TQPopupMenu* contextMenu = new TQPopupMenu(this);
contextMenu->insertItem(SmallIcon("configure"), i18n("Configure System Tray..."),
- this, TQT_SLOT(configure()));
+ this, TQ_SLOT(configure()));
contextMenu->exec(static_cast<TQContextMenuEvent*>(e)->globalPos());
@@ -913,7 +913,7 @@ void SystemTrayApplet::resizeEvent( TQResizeEvent* )
{
layoutTray();
// we need to give ourselves a chance to adjust our size before calling this
- TQTimer::singleShot(0, this, TQT_SIGNAL(updateLayout()));
+ TQTimer::singleShot(0, this, TQ_SIGNAL(updateLayout()));
}
void SystemTrayApplet::layoutTray()
diff --git a/kicker/applets/taskbar/taskbarapplet.cpp b/kicker/applets/taskbar/taskbarapplet.cpp
index 3e76d6a8d..37a78a923 100644
--- a/kicker/applets/taskbar/taskbarapplet.cpp
+++ b/kicker/applets/taskbar/taskbarapplet.cpp
@@ -59,7 +59,7 @@ TaskbarApplet::TaskbarApplet( const TQString& configFile, Type type, int actions
TQHBoxLayout* layout = new TQHBoxLayout( this );
container = new TaskBarContainer( false, configFile, this );
container->setBackgroundOrigin( AncestorOrigin );
- connect(container, TQT_SIGNAL(containerCountChanged()), this, TQT_SIGNAL(updateLayout()));
+ connect(container, TQ_SIGNAL(containerCountChanged()), this, TQ_SIGNAL(updateLayout()));
layout->addWidget( container, 1 );
container->popupDirectionChange(popupDirection());
}
diff --git a/kicker/applets/trash/trashapplet.cpp b/kicker/applets/trash/trashapplet.cpp
index 9665d21b9..9fe7eccf6 100644
--- a/kicker/applets/trash/trashapplet.cpp
+++ b/kicker/applets/trash/trashapplet.cpp
@@ -53,12 +53,12 @@ TrashApplet::TrashApplet(const TQString& configFile, Type type, int actions, TQW
mpDirLister = new KDirLister();
- connect( mpDirLister, TQT_SIGNAL( clear() ),
- this, TQT_SLOT( slotClear() ) );
- connect( mpDirLister, TQT_SIGNAL( completed() ),
- this, TQT_SLOT( slotCompleted() ) );
- connect( mpDirLister, TQT_SIGNAL( deleteItem( KFileItem * ) ),
- this, TQT_SLOT( slotDeleteItem( KFileItem * ) ) );
+ connect( mpDirLister, TQ_SIGNAL( clear() ),
+ this, TQ_SLOT( slotClear() ) );
+ connect( mpDirLister, TQ_SIGNAL( completed() ),
+ this, TQ_SLOT( slotCompleted() ) );
+ connect( mpDirLister, TQ_SIGNAL( deleteItem( KFileItem * ) ),
+ this, TQ_SLOT( slotDeleteItem( KFileItem * ) ) );
mpDirLister->openURL("trash:/");
}
@@ -67,8 +67,8 @@ TrashApplet::~TrashApplet()
{
// disconnect the dir lister before quitting so as not to crash
// on kicker exit
- disconnect( mpDirLister, TQT_SIGNAL( clear() ),
- this, TQT_SLOT( slotClear() ) );
+ disconnect( mpDirLister, TQ_SIGNAL( clear() ),
+ this, TQ_SLOT( slotClear() ) );
delete mpDirLister;
TDEGlobal::locale()->removeCatalogue("trashapplet");
}
diff --git a/kicker/applets/trash/trashbutton.cpp b/kicker/applets/trash/trashbutton.cpp
index 3205f6910..96efb7436 100644
--- a/kicker/applets/trash/trashbutton.cpp
+++ b/kicker/applets/trash/trashbutton.cpp
@@ -39,7 +39,7 @@ TrashButton::TrashButton(TQWidget *parent)
TDEIO::NetAccess::stat("trash:/", entry, 0L);
mFileItem.assign(KFileItem(entry, "trash:/"));
- TDEAction *a = KStdAction::paste(this, TQT_SLOT(slotPaste()),
+ TDEAction *a = KStdAction::paste(this, TQ_SLOT(slotPaste()),
&mActions, "paste");
a->setShortcut(0);
@@ -53,7 +53,7 @@ TrashButton::TrashButton(TQWidget *parent)
// Activate this code only if we find a way to have both an
// action and a popup menu for the same kicker button
- //connect(this, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClicked()));
+ //connect(this, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClicked()));
setPopup(new TQPopupMenu());
}