summaryrefslogtreecommitdiffstats
path: root/ksmserver
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:29:58 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:29:58 -0600
commite8a1cdc01d38125bea12d5494db977ae6429919a (patch)
treea4e4d6accfecc7d295edc44e9ade6f4fca90fb37 /ksmserver
parent32582677547665087f8ad4dae892dc579ec68cfc (diff)
downloadtdebase-e8a1cdc01d38125bea12d5494db977ae6429919a.tar.gz
tdebase-e8a1cdc01d38125bea12d5494db977ae6429919a.zip
Rename additional global TQt functions
Diffstat (limited to 'ksmserver')
-rw-r--r--ksmserver/client.cpp2
-rw-r--r--ksmserver/main.cpp4
-rw-r--r--ksmserver/server.cpp20
3 files changed, 13 insertions, 13 deletions
diff --git a/ksmserver/client.cpp b/ksmserver/client.cpp
index 2f6708963..1dbe2e245 100644
--- a/ksmserver/client.cpp
+++ b/ksmserver/client.cpp
@@ -92,7 +92,7 @@ static char * safeSmsGenerateClientID( SmsConn /*c*/ )
if (!ret) {
static TQString *my_addr = 0;
if (!my_addr) {
-// qWarning("Can't get own host name. Your system is severely misconfigured\n");
+// tqWarning("Can't get own host name. Your system is severely misconfigured\n");
smy_addr.setObject(my_addr,new TQString);
/* Faking our IP address, the 0 below is "unknown" address format
diff --git a/ksmserver/main.cpp b/ksmserver/main.cpp
index c971c2dde..b425cedc7 100644
--- a/ksmserver/main.cpp
+++ b/ksmserver/main.cpp
@@ -199,7 +199,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char* argv[] )
kapp->dcopClient()->registerAs("ksmserver", false);
if (!kapp->dcopClient()->isRegistered())
{
- qWarning("Could not register with DCOPServer. Aborting.");
+ tqWarning("Could not register with DCOPServer. Aborting.");
return 1;
}
@@ -215,7 +215,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char* argv[] )
* does nothing on this platform, as here the default is reversed)
*/
if (!only_local) {
- qWarning("--[no]local is not supported on your platform. Sorry.");
+ tqWarning("--[no]local is not supported on your platform. Sorry.");
}
only_local = false;
#endif
diff --git a/ksmserver/server.cpp b/ksmserver/server.cpp
index f47f10ab2..cacaabdfa 100644
--- a/ksmserver/server.cpp
+++ b/ksmserver/server.cpp
@@ -435,7 +435,7 @@ Status SetAuthentication (int count, IceListenObj *listenObjs,
TQString iceAuth = KGlobal::dirs()->findExe("iceauth");
if (iceAuth.isEmpty())
{
- qWarning("KSMServer: could not find iceauth");
+ tqWarning("KSMServer: could not find iceauth");
return 0;
}
@@ -465,7 +465,7 @@ void FreeAuthenticationData(int count, IceAuthDataEntry *authDataEntries)
TQString iceAuth = KGlobal::dirs()->findExe("iceauth");
if (iceAuth.isEmpty())
{
- qWarning("KSMServer: could not find iceauth");
+ tqWarning("KSMServer: could not find iceauth");
return;
}
@@ -479,7 +479,7 @@ void FreeAuthenticationData(int count, IceAuthDataEntry *authDataEntries)
static int Xio_ErrorHandler( Display * )
{
- qWarning("ksmserver: Fatal IO error: client killed");
+ tqWarning("ksmserver: Fatal IO error: client killed");
// Don't do anything that might require the X connection
if (the_server)
@@ -617,14 +617,14 @@ KSMServer::KSMServer( const TQString& windowManager, const TQString& windowManag
(SmPointer) this,
HostBasedAuthProc, 256, errormsg ) ) {
- qWarning("KSMServer: could not register XSM protocol");
+ tqWarning("KSMServer: could not register XSM protocol");
}
if (!IceListenForConnections (&numTransports, &listenObjs,
256, errormsg))
{
- qWarning("KSMServer: Error listening for connections: %s", errormsg);
- qWarning("KSMServer: Aborting.");
+ tqWarning("KSMServer: Error listening for connections: %s", errormsg);
+ tqWarning("KSMServer: Aborting.");
exit(1);
}
@@ -643,8 +643,8 @@ KSMServer::KSMServer( const TQString& windowManager, const TQString& windowManag
f = ::fopen(fName.data(), "w+");
if (!f)
{
- qWarning("KSMServer: can't open %s: %s", fName.data(), strerror(errno));
- qWarning("KSMServer: Aborting.");
+ tqWarning("KSMServer: can't open %s: %s", fName.data(), strerror(errno));
+ tqWarning("KSMServer: Aborting.");
exit(1);
}
char* session_manager = IceComposeNetworkIdList(numTransports, listenObjs);
@@ -657,10 +657,10 @@ KSMServer::KSMServer( const TQString& windowManager, const TQString& windowManag
if (only_local) {
if (!SetAuthentication_local(numTransports, listenObjs))
- qFatal("KSMSERVER: authentication setup failed.");
+ tqFatal("KSMSERVER: authentication setup failed.");
} else {
if (!SetAuthentication(numTransports, listenObjs, &authDataEntries))
- qFatal("KSMSERVER: authentication setup failed.");
+ tqFatal("KSMSERVER: authentication setup failed.");
}
IceAddConnectionWatch (KSMWatchProc, (IcePointer) this);