summaryrefslogtreecommitdiffstats
path: root/ksysv/main.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
commitb09bffed6b43262948018dfb0f11890850ddf7c1 (patch)
tree138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /ksysv/main.cpp
parent6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff)
downloadtdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.tar.gz
tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.zip
TQt4 port kdeadmin
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysv/main.cpp')
-rw-r--r--ksysv/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksysv/main.cpp b/ksysv/main.cpp
index 4dd0e09..31735c4 100644
--- a/ksysv/main.cpp
+++ b/ksysv/main.cpp
@@ -36,7 +36,7 @@ using namespace std;
#define KSYSV_DEBUG(x) do { } while (0)
#endif
-static void myMessageOutput( QtMsgType type, const char *msg )
+static void myMessageOutput( TQtMsgType type, const char *msg )
{
switch ( type ) {
case QtDebugMsg:
@@ -53,7 +53,7 @@ static void myMessageOutput( QtMsgType type, const char *msg )
int main( int argc, char **argv ) {
// install own message handler that ignores debug-msg when DEBUG is not defined
- qInstallMsgHandler(myMessageOutput);
+ tqInstallMsgHandler(myMessageOutput);
KAboutData about("ksysv", I18N_NOOP("SysV-Init Editor"), KSYSV_VERSION_STRING,
I18N_NOOP ("Editor for Sys-V like init configurations"),