diff options
Diffstat (limited to 'src/kvirc/kernel/kvi_main.cpp')
-rw-r--r-- | src/kvirc/kernel/kvi_main.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/kvirc/kernel/kvi_main.cpp b/src/kvirc/kernel/kvi_main.cpp index 60c884f..aade9ad 100644 --- a/src/kvirc/kernel/kvi_main.cpp +++ b/src/kvirc/kernel/kvi_main.cpp @@ -36,7 +36,7 @@ extern bool kvi_sendIpcMessage(const char * message); // kvi_ipc.cpp #endif -#include <tqglobal.h> //for debug() +#include <tqglobal.h> //for tqDebug() #include <tqmessagebox.h> @@ -83,7 +83,7 @@ int parseArgs(ParseArgs * a) #ifdef COMPILE_ON_WINDOWS MessageBox(0,szMessage.local8Bit().data(),"KVIrc",0); #else - debug("%s", szMessage.ascii()); + tqDebug("%s", szMessage.ascii()); #endif return KVI_ARGS_RETCODE_STOP; @@ -131,7 +131,7 @@ int parseArgs(ParseArgs * a) #ifdef COMPILE_ON_WINDOWS MessageBox(0,szMessage.local8Bit().data(),"KVIrc",0); #else - debug("%s", szMessage.ascii()); + tqDebug("%s", szMessage.ascii()); #endif return KVI_ARGS_RETCODE_STOP; } @@ -141,12 +141,12 @@ int parseArgs(ParseArgs * a) idx++; if(idx >= a->argc) { - debug("Option -c requires a config file name"); + tqDebug("Option -c requires a config file name"); return KVI_ARGS_RETCODE_ERROR; } p = a->argv[idx]; a->configFile = p; - debug("Using file %s as config",p); + tqDebug("Using file %s as config",p); continue; } @@ -155,7 +155,7 @@ int parseArgs(ParseArgs * a) idx++; if(idx >= a->argc) { - debug("Option -e requires a command"); + tqDebug("Option -e requires a command"); return KVI_ARGS_RETCODE_ERROR; } p = a->argv[idx]; @@ -169,7 +169,7 @@ int parseArgs(ParseArgs * a) idx++; if(idx >= a->argc) { - debug("Option -x requires a command"); + tqDebug("Option -x requires a command"); return KVI_ARGS_RETCODE_ERROR; } p = a->argv[idx]; @@ -184,7 +184,7 @@ int parseArgs(ParseArgs * a) idx++; if(idx >= a->argc) { - debug("Option -r requires a command"); + tqDebug("Option -r requires a command"); return KVI_ARGS_RETCODE_ERROR; } p = a->argv[idx]; @@ -204,13 +204,13 @@ int parseArgs(ParseArgs * a) idx++; if(idx >= a->argc) { - debug("Option -n requires a config file name"); + tqDebug("Option -n requires a config file name"); return KVI_ARGS_RETCODE_ERROR; } p = a->argv[idx]; a->configFile = p; a->createFile=true; - debug("Using file %s as config",p); + tqDebug("Using file %s as config",p); continue; } @@ -385,7 +385,7 @@ int main(int argc,char ** argv) if(a.bShowPopup) TQMessageBox::information(0,"Session - KVIrc",tmp.ptr(),TQMessageBox::Ok); else - debug("%s", tmp.ptr()); + tqDebug("%s", tmp.ptr()); } delete theApp; return 0; |