summaryrefslogtreecommitdiffstats
path: root/ksirc/servercontroller.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:59:34 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /ksirc/servercontroller.cpp
parent808e453c56036211f57482ed847d54aca01bba68 (diff)
downloadtdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz
tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'ksirc/servercontroller.cpp')
-rw-r--r--ksirc/servercontroller.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/ksirc/servercontroller.cpp b/ksirc/servercontroller.cpp
index 73d32daf..9ad1b913 100644
--- a/ksirc/servercontroller.cpp
+++ b/ksirc/servercontroller.cpp
@@ -253,7 +253,7 @@ void servercontroller::new_ksircprocess(KSircServer &kss)
return;
server_id = kss.server();
while(proc_list[server_id]){ // if it already exists, quit
- server_id = TQString("%1 %2").arg(kss.server()).arg(id++);
+ server_id = TQString("%1 %2").tqarg(kss.server()).tqarg(id++);
}
// Insert new base
@@ -386,7 +386,7 @@ void servercontroller::font_update(const TQFont &font)
KConfig *kConfig = kapp->config();
kConfig->setGroup("GlobalOptions");
kConfig->sync();
- TQApplication::setFont( font, true, "KSirc::TextView" );
+ TQApplication::tqsetFont( font, true, "KSirc::TextView" );
}
void servercontroller::configChange()
@@ -435,7 +435,7 @@ void servercontroller::ProcMessage(TQString server, int command, TQString args)
if(online_item->childCount() == 0)
delete online_item;
if(ksopts->runDocked && ksopts->dockPopups)
- KPassivePopup::message(i18n("%1 just went offline on %2").arg(args).arg(server), dockWidget);
+ KPassivePopup::message(i18n("%1 just went offline on %2").tqarg(args).tqarg(server), dockWidget);
}
dockWidget->nickOffline(server, args);
break;
@@ -457,7 +457,7 @@ void servercontroller::ProcMessage(TQString server, int command, TQString args)
item = new TQListViewItem(online_item, args);
item->setPixmap( 0, pic_run );
if(ksopts->runDocked && ksopts->dockPopups)
- KPassivePopup::message(i18n("%1 just came online on %2").arg(args).arg(server), dockWidget);
+ KPassivePopup::message(i18n("%1 just came online on %2").tqarg(args).tqarg(server), dockWidget);
dockWidget->nickOnline(server, args);
break;
}
@@ -615,7 +615,7 @@ void servercontroller::saveGlobalProperties(KConfig *ksc)
ksc->setGroup("ServerController");
// ksc->writeEntry("Docked", !isVisible());
- ksc->writeEntry("Size", geometry());
+ ksc->writeEntry("Size", tqgeometry());
ksc->setGroup(group);
}
@@ -718,7 +718,7 @@ void servercontroller::showEvent( TQShowEvent *e )
{
TQWidget::showEvent( e );
if ( !e->spontaneous() )
- saveDockingStatus();
+ saveDockingtqStatus();
}
void servercontroller::hideEvent( TQHideEvent * )
@@ -726,7 +726,7 @@ void servercontroller::hideEvent( TQHideEvent * )
/*
TQWidget::hideEvent( e );
if ( !e->spontaneous() )
- saveDockingStatus();
+ saveDockingtqStatus();
if(TQWidget::isMinimized()){
hide();
KWin::setState(winId(), NET::SkipTaskbar);
@@ -734,7 +734,7 @@ void servercontroller::hideEvent( TQHideEvent * )
*/
}
-void servercontroller::saveDockingStatus()
+void servercontroller::saveDockingtqStatus()
{
if ( we_are_exiting ) // we are hidden by closeEvent
return;