summaryrefslogtreecommitdiffstats
path: root/kdm/kfrontend/kgapp.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kdm/kfrontend/kgapp.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdm/kfrontend/kgapp.cpp')
-rw-r--r--kdm/kfrontend/kgapp.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kdm/kfrontend/kgapp.cpp b/kdm/kfrontend/kgapp.cpp
index a5bb667ef..70b510645 100644
--- a/kdm/kfrontend/kgapp.cpp
+++ b/kdm/kfrontend/kgapp.cpp
@@ -37,10 +37,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include <kstandarddirs.h>
#include <ksimpleconfig.h>
-#include <qtimer.h>
-#include <qstring.h>
-#include <qcursor.h>
-#include <qpalette.h>
+#include <tqtimer.h>
+#include <tqstring.h>
+#include <tqcursor.h>
+#include <tqpalette.h>
#include <stdlib.h> // free(), exit()
#include <unistd.h> // alarm()
@@ -75,7 +75,7 @@ GreeterApp::GreeterApp()
}
void
-GreeterApp::timerEvent( QTimerEvent * )
+GreeterApp::timerEvent( TQTimerEvent * )
{
alarm( 0 );
if (!PingServer( qt_xdisplay() ))
@@ -145,13 +145,13 @@ kg_main( const char *argv0 )
app.setStyle( _GUIStyle );
// Load up the systemwide ICC profile
- QString iccConfigFile = QString(KDE_CONFDIR);
+ TQString iccConfigFile = TQString(KDE_CONFDIR);
iccConfigFile += "/kicc/kiccconfigrc";
KSimpleConfig iccconfig(iccConfigFile, true);
if (iccconfig.readBoolEntry("EnableICC", false) == true) {
- QString iccCommand = QString("/usr/bin/xcalib ");
+ TQString iccCommand = TQString("/usr/bin/xcalib ");
iccCommand += iccconfig.readEntry("ICCFile");
- iccCommand += QString(" &");
+ iccCommand += TQString(" &");
system(iccCommand.ascii());
}
@@ -170,7 +170,7 @@ kg_main( const char *argv0 )
if (!_grabServer) {
if (_useBackground) {
proc = new KProcess;
- *proc << QCString( argv0, strrchr( argv0, '/' ) - argv0 + 2 ) + "krootimage";
+ *proc << TQCString( argv0, strrchr( argv0, '/' ) - argv0 + 2 ) + "krootimage";
*proc << _backgroundCfg;
proc->start();
}