summaryrefslogtreecommitdiffstats
path: root/kdmlib/dmctl.h
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 /kdmlib/dmctl.h
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 'kdmlib/dmctl.h')
-rw-r--r--kdmlib/dmctl.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kdmlib/dmctl.h b/kdmlib/dmctl.h
index aadc89bdb..da5aa2b0b 100644
--- a/kdmlib/dmctl.h
+++ b/kdmlib/dmctl.h
@@ -24,12 +24,12 @@
#include <kapplication.h>
struct SessEnt {
- QString display, from, user, session;
+ TQString display, from, user, session;
int vt;
bool self:1, tty:1;
};
-typedef QValueList<SessEnt> SessList;
+typedef TQValueList<SessEnt> SessList;
class DM {
@@ -42,7 +42,7 @@ public:
bool canShutdown();
void shutdown( KApplication::ShutdownType shutdownType,
KApplication::ShutdownMode shutdownMode,
- const QString &bootOption = QString::null );
+ const TQString &bootOption = TQString::null );
void setLock( bool on );
@@ -53,15 +53,15 @@ public:
bool switchVT( int vt );
void lockSwitchVT( int vt );
- bool bootOptions( QStringList &opts, int &dflt, int &curr );
+ bool bootOptions( TQStringList &opts, int &dflt, int &curr );
- static QString sess2Str( const SessEnt &se );
- static void sess2Str2( const SessEnt &se, QString &user, QString &loc );
+ static TQString sess2Str( const SessEnt &se );
+ static void sess2Str2( const SessEnt &se, TQString &user, TQString &loc );
private:
int fd;
- bool exec( const char *cmd, QCString &ret );
+ bool exec( const char *cmd, TQCString &ret );
bool exec( const char *cmd );
void GDMAuthenticate();
@@ -74,7 +74,7 @@ public:
bool canShutdown() { return false; }
void shutdown( KApplication::ShutdownType shutdownType,
KApplication::ShutdownMode shutdownMode,
- const QString &bootOption = QString::null ) {}
+ const TQString &bootOption = TQString::null ) {}
void setLock( bool ) {}
@@ -84,7 +84,7 @@ public:
bool localSessions( SessList &list ) { return false; }
void switchVT( int vt ) {}
- bool bootOptions( QStringList &opts, int &dflt, int &curr );
+ bool bootOptions( TQStringList &opts, int &dflt, int &curr );
#endif // Q_WS_X11