summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kvirc
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-05-07 01:06:08 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-05-07 01:06:08 +0200
commit9750a057f2f36c5b88a5bc53c0a051b605dac061 (patch)
tree4f205d3ed4ecf8d2df665b566674d12372363c7f /redhat/applications/kvirc
parent6bb431be79e8f75c26bbf0f81749fa7738965f65 (diff)
downloadtde-packaging-9750a057f2f36c5b88a5bc53c0a051b605dac061.tar.gz
tde-packaging-9750a057f2f36c5b88a5bc53c0a051b605dac061.zip
RHEL/Fedora: massive updates for Fedora 17 (TDE 3.5.13 entire build)
Diffstat (limited to 'redhat/applications/kvirc')
-rw-r--r--redhat/applications/kvirc/bp000-32a249ba.diff4337
-rw-r--r--redhat/applications/kvirc/bp001-f9114981.diff3358
-rw-r--r--redhat/applications/kvirc/bp002-2dd6d32b.diff4391
-rw-r--r--redhat/applications/kvirc/bp003-1c00d6ff.diff19
-rw-r--r--redhat/applications/kvirc/bp004-ff96f491.diff19
-rw-r--r--redhat/applications/kvirc/bp005-2285efe5.diff49
-rw-r--r--redhat/applications/kvirc/bp006-51bbe9e5.diff32
-rw-r--r--redhat/applications/kvirc/bp007-a24a8595.diff1956
-rw-r--r--redhat/applications/kvirc/kvirc-3.5.13-fix_acinclude_m4.patch66
-rw-r--r--redhat/applications/kvirc/trinity-kvirc.spec69
10 files changed, 14283 insertions, 13 deletions
diff --git a/redhat/applications/kvirc/bp000-32a249ba.diff b/redhat/applications/kvirc/bp000-32a249ba.diff
new file mode 100644
index 000000000..d86c58714
--- /dev/null
+++ b/redhat/applications/kvirc/bp000-32a249ba.diff
@@ -0,0 +1,4337 @@
+commit 32a249baaef1b910bffd79734c78cac3671f00f2
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1324253641 -0600
+
+ Rename old tq methods that no longer need a unique name
+
+diff --git a/data/deftheme/silverirc/themedata.kvc b/data/deftheme/silverirc/themedata.kvc
+index ddad668..a83296b 100644
+--- a/data/deftheme/silverirc/themedata.kvc
++++ b/data/deftheme/silverirc/themedata.kvc
+@@ -163,7 +163,7 @@ iccolor1=0,0,0
+ mirccolor12=15,15,255
+ mirccolor5=150,0,0
+ msgtypeChanAdmin=242,3,100,1,1
+-msgtypeGenerictqStatus=133,14,100,1,1
++msgtypeGenericStatus=133,14,100,1,1
+ msgtypeHalfOp=174,3,100,1,1
+ msgtypeDevoice=63,3,100,1,1
+ msgtypeJoin=39,14,100,1,2
+diff --git a/data/doctemplates/rfc2812.template b/data/doctemplates/rfc2812.template
+index 6672b51..9d81a1c 100644
+--- a/data/doctemplates/rfc2812.template
++++ b/data/doctemplates/rfc2812.template
+@@ -23,7 +23,7 @@ Category: Informational
+ [/td][/tr]
+
+ [tr][td]
+-[b]tqStatus of this Memo[/b]
++[b]Status of this Memo[/b]
+ [/td][/tr]
+
+ [tr][td]
+diff --git a/src/kvilib/ext/kvi_stringconversion.cpp b/src/kvilib/ext/kvi_stringconversion.cpp
+index 2836628..f316fc2 100644
+--- a/src/kvilib/ext/kvi_stringconversion.cpp
++++ b/src/kvilib/ext/kvi_stringconversion.cpp
+@@ -234,17 +234,17 @@ namespace KviStringConversion
+ bool fromString(const TQString & szValue,TQFont &buffer)
+ {
+ KviStr str = szValue;
+- KviStr family,pointSize,tqstyleHint,weight,options;
++ KviStr family,pointSize,styleHint,weight,options;
+ str.getToken(family,',');
+ str.getToken(pointSize,',');
+- str.getToken(tqstyleHint,',');
++ str.getToken(styleHint,',');
+ str.getToken(weight,',');
+ if(!family.isEmpty())buffer.setFamily(family.ptr());
+ int i;
+ bool bOk;
+ i = pointSize.toInt(&bOk);
+ if(bOk && (i > 0))buffer.setPointSize(i);
+- i = tqstyleHint.toInt(&bOk);
++ i = styleHint.toInt(&bOk);
+ if(bOk && (i >= 0))buffer.setStyleHint((TQFont::StyleHint)i);
+ i = weight.toInt(&bOk);
+ if(bOk && (i >= 0))buffer.setWeight(i);
+diff --git a/src/kvilib/net/kvi_http.cpp b/src/kvilib/net/kvi_http.cpp
+index 9986530..6b3dd91 100644
+--- a/src/kvilib/net/kvi_http.cpp
++++ b/src/kvilib/net/kvi_http.cpp
+@@ -55,24 +55,24 @@ KviHttpRequest::KviHttpRequest()
+ m_bHeaderProcessed = false;
+ m_pBuffer = new KviDataBuffer();
+
+- resettqStatus();
++ resetStatus();
+ resetData();
+ }
+
+ KviHttpRequest::~KviHttpRequest()
+ {
+- resetInternaltqStatus();
++ resetInternalStatus();
+ delete m_pBuffer;
+ }
+
+ void KviHttpRequest::abort()
+ {
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError = __tr2qs("Aborted");
+ emit terminated(false);
+ }
+
+-void KviHttpRequest::resetInternaltqStatus()
++void KviHttpRequest::resetInternalStatus()
+ {
+ if(m_pThread)delete m_pThread;
+ if(m_pDns)delete m_pDns;
+@@ -91,7 +91,7 @@ void KviHttpRequest::resetInternaltqStatus()
+ KviThreadManager::killPendingEvents(this);
+ }
+
+-void KviHttpRequest::resettqStatus()
++void KviHttpRequest::resetStatus()
+ {
+ m_szLastError = __tr2qs("No request");
+ m_uTotalSize = 0;
+@@ -114,9 +114,9 @@ void KviHttpRequest::resetData()
+
+ void KviHttpRequest::reset()
+ {
+- resettqStatus();
++ resetStatus();
+ resetData();
+- resetInternaltqStatus();
++ resetInternalStatus();
+ }
+
+ bool KviHttpRequest::get(const KviUrl &u,ProcessingType p,const TQString &szFileName)
+@@ -131,8 +131,8 @@ bool KviHttpRequest::get(const KviUrl &u,ProcessingType p,const TQString &szFile
+ bool KviHttpRequest::start()
+ {
+ // ensure that the file is closed
+- resetInternaltqStatus();
+- resettqStatus();
++ resetInternalStatus();
++ resetStatus();
+
+ if(m_eProcessingType == StoreToFile)
+ {
+@@ -156,14 +156,14 @@ bool KviHttpRequest::start()
+
+ if(m_url.host().isEmpty())
+ {
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError = __tr2qs("Invalid URL: Missing hostname");
+ return false;
+ }
+
+ if((!kvi_strEqualCI(m_url.protocol().ptr(),"http")) && (!kvi_strEqualCI(m_url.protocol().ptr(),"https")))
+ {
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError=__tr2qs("Unsupported protocol %1").tqarg(m_url.protocol().ptr());
+ return false;
+ }
+@@ -185,7 +185,7 @@ bool KviHttpRequest::startDnsLookup()
+
+ if(!m_pDns->lookup(m_url.host().ptr(),KviDns::IpV4))
+ {
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError = __tr2qs("Unable to start the DNS lookup");
+ return false;
+ }
+@@ -212,7 +212,7 @@ void KviHttpRequest::dnsLookupDone(KviDns *d)
+ haveServerIp();
+ } else {
+ int iErr = d->error();
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError = KviError::getDescription(iErr);
+ emit terminated(false);
+ }
+@@ -242,7 +242,7 @@ void KviHttpRequest::haveServerIp()
+
+ if(!m_pThread->start())
+ {
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError = __tr2qs("Unable to start the request slave thread");
+ emit terminated(false);
+ return;
+@@ -318,7 +318,7 @@ bool KviHttpRequest::event(TQEvent *e)
+ // nothing... just make gcc happy
+ break;
+ }
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError = __tr2qs("Success");
+ emit terminated(true);
+ return true;
+@@ -328,7 +328,7 @@ bool KviHttpRequest::event(TQEvent *e)
+ KviStr * err = ((KviThreadDataEvent<KviStr> *)e)->getData();
+ m_szLastError = __tr2qs_no_xgettext(err->ptr());
+ delete err;
+- resetInternaltqStatus();
++ resetInternalStatus();
+ emit terminated(false);
+ return true;
+ }
+@@ -425,7 +425,7 @@ bool KviHttpRequest::openFile()
+ if(!d.rename(m_szFileName,tmp))
+ {
+ // fail :(
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError = __tr2qs("Failed to rename the existing file, please rename manually and retry");
+ emit terminated(false);
+ return false;
+@@ -443,7 +443,7 @@ bool KviHttpRequest::openFile()
+
+ if(!m_pFile->openForWriting(bAppend))
+ {
+- resetInternaltqStatus();
++ resetInternalStatus();
+ KviTQString::sprintf(m_szLastError,__tr2qs("Can't open file \"%Q\" for writing"),&m_szFileName);
+ emit terminated(false);
+ return false;
+@@ -473,7 +473,7 @@ bool KviHttpRequest::processHeader(KviStr &szHeader)
+
+ bool bValid = false;
+
+- unsigned int utqStatus = 0;
++ unsigned int uStatus = 0;
+
+ // check the response value
+ if(kvi_strEqualCSN(szResponse.ptr(),"HTTP",4))
+@@ -486,14 +486,14 @@ bool KviHttpRequest::processHeader(KviStr &szHeader)
+ if(idx != -1)szNumber = szR.left(idx);
+ else szNumber = szR;
+ bool bOk;
+- utqStatus = szNumber.toUInt(&bOk);
++ uStatus = szNumber.toUInt(&bOk);
+ if(bOk)bValid = true;
+ }
+
+ if(!bValid)
+ {
+ // the response is invalid ?
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError=__tr2qs("Invalid HTTP response: %s").tqarg(szResponse.ptr());
+ emit terminated(false);
+ return false;
+@@ -608,14 +608,14 @@ bool KviHttpRequest::processHeader(KviStr &szHeader)
+ // case 504: // Gateway timeout
+ // case 505: // HTTP Version not supported
+
+- if((utqStatus != 200) && (utqStatus != 206))
++ if((uStatus != 200) && (uStatus != 206))
+ {
+ // this is not "OK" and not "Partial content"
+ // Error , redirect or something confusing
+ if(m_eProcessingType != HeadersOnly)
+ {
+ // this is an error then
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError = szResponse.ptr();
+ emit terminated(false);
+ return false;
+@@ -624,7 +624,7 @@ bool KviHttpRequest::processHeader(KviStr &szHeader)
+
+ if((m_uMaxContentLength > 0) && (m_uTotalSize > ((unsigned int)m_uMaxContentLength)))
+ {
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError=__tr2qs("Stream exceeding maximum length");
+ emit terminated(false);
+ return false;
+@@ -657,7 +657,7 @@ void KviHttpRequest::processData(KviDataBuffer * data)
+ // header not complete
+ if(m_pBuffer->size() > 4096)
+ {
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError = __tr2qs("Header too long: exceeded 4096 bytes");
+ emit terminated(false);
+ }
+@@ -706,7 +706,7 @@ void KviHttpRequest::processData(KviDataBuffer * data)
+
+ if(((m_uTotalSize > 0) && (m_uReceivedSize > m_uTotalSize)) || ((m_uMaxContentLength > 0) && (m_uReceivedSize > m_uMaxContentLength)))
+ {
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError=__tr2qs("Stream exceeded expected length");
+ emit terminated(false);
+ }
+@@ -794,7 +794,7 @@ void KviHttpRequest::processData(KviDataBuffer * data)
+ m_uRemainingChunkSize = szHexHeader.toLong(&bOk,16);
+ if(!bOk)
+ {
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError = __tr2qs("Protocol error: invalid chunk size");
+ emit terminated(false);
+ return;
+@@ -814,7 +814,7 @@ void KviHttpRequest::processData(KviDataBuffer * data)
+ // chunk header not complete
+ if(m_pBuffer->size() > 4096)
+ {
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError = __tr2qs("Chunk header too long: exceeded 4096 bytes");
+ emit terminated(false);
+ return;
+@@ -848,7 +848,7 @@ check_stream_length:
+
+ if(((m_uTotalSize > 0) && (m_uReceivedSize > m_uTotalSize)) || ((m_uMaxContentLength > 0) && (m_uReceivedSize > m_uMaxContentLength)))
+ {
+- resetInternaltqStatus();
++ resetInternalStatus();
+ m_szLastError=__tr2qs("Stream exceeded expected length");
+ emit terminated(false);
+ }
+diff --git a/src/kvilib/net/kvi_http.h b/src/kvilib/net/kvi_http.h
+index de4457d..2eeec37 100644
+--- a/src/kvilib/net/kvi_http.h
++++ b/src/kvilib/net/kvi_http.h
+@@ -104,9 +104,9 @@ protected:
+ bool openFile();
+ void emitLines(KviDataBuffer * pDataBuffer);
+
+- void resettqStatus();
++ void resetStatus();
+ void resetData();
+- void resetInternaltqStatus();
++ void resetInternalStatus();
+ protected slots:
+ void dnsLookupDone(KviDns *d);
+ void haveServerIp();
+diff --git a/src/kvilib/tal/kvi_tal_listview.cpp b/src/kvilib/tal/kvi_tal_listview.cpp
+index 2d946a2..1a7f975 100644
+--- a/src/kvilib/tal/kvi_tal_listview.cpp
++++ b/src/kvilib/tal/kvi_tal_listview.cpp
+@@ -479,7 +479,7 @@
+ return;
+
+ TQPoint pos;
+- int boxsize = lv->tqstyle()->tqpixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv);
++ int boxsize = lv->tqstyle()->pixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv);
+ if (activatedPos(pos)) {
+ bool parentControl = false;
+ if (parent() && parent()->rtti() == 1 &&
+@@ -652,7 +652,7 @@
+ int h = height();
+ KviTalListView *lv = listView();
+ if (lv)
+- h = qMax(lv->tqstyle()->tqpixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv),
++ h = qMax(lv->tqstyle()->pixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv),
+ h);
+ h = qMax(h, TQApplication::globalStrut().height());
+ setHeight(h);
+@@ -666,7 +666,7 @@
+ if (myType == RadioButtonController && pixmap(0)) {
+ // r += 0;
+ } else {
+- r += lv->tqstyle()->tqpixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv) + 4;
++ r += lv->tqstyle()->pixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv) + 4;
+ }
+ }
+ return qMax(r, TQApplication::globalStrut().width());
+@@ -700,7 +700,7 @@
+ parentControl = true;
+
+ TQFontMetrics fm(lv->fontMetrics());
+- int boxsize = lv->tqstyle()->tqpixelMetric(myType == RadioButtonController ? TQStyle::PM_CheckListControllerSize :
++ int boxsize = lv->tqstyle()->pixelMetric(myType == RadioButtonController ? TQStyle::PM_CheckListControllerSize :
+ TQStyle::PM_CheckListButtonSize, 0, lv);
+ int marg = lv->itemMargin();
+ int r = marg;
+@@ -782,7 +782,7 @@
+ (lv->rootIsDecorated() || myType == RadioButton ||
+ (myType == CheckBox && parentControl))) {
+ TQRect rect;
+- int boxsize = lv->tqstyle()->tqpixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv);
++ int boxsize = lv->tqstyle()->pixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv);
+ if (lv->columnAlignment(0) == TQt::AlignCenter) {
+ TQFontMetrics fm(lv->font());
+ int bx = (lv->columnWidth(0) - (boxsize + fm.width(text())))/2 + boxsize;
+@@ -1216,7 +1216,7 @@
+ return;
+
+ TQPoint pos;
+- int boxsize = lv->tqstyle().tqpixelMetric(TQStyle::PM_CheckListButtonSize, lv);
++ int boxsize = lv->tqstyle().pixelMetric(TQStyle::PM_CheckListButtonSize, lv);
+ if ( activatedPos( pos ) ) {
+ bool parentControl = FALSE;
+ if ( parent() && parent()->rtti() == 1 &&
+@@ -1388,7 +1388,7 @@
+ int h = height();
+ KviTalListView *lv = listView();
+ if ( lv )
+- h = TQMAX( lv->tqstyle().tqpixelMetric(TQStyle::PM_CheckListButtonSize, lv),
++ h = TQMAX( lv->tqstyle().pixelMetric(TQStyle::PM_CheckListButtonSize, lv),
+ h );
+ h = TQMAX( h, TQApplication::globalStrut().height() );
+ setHeight( h );
+@@ -1402,7 +1402,7 @@
+ if ( myType == RadioButtonController && pixmap( 0 ) ) {
+ // r += 0;
+ } else {
+- r += lv->tqstyle().tqpixelMetric(TQStyle::PM_CheckListButtonSize, lv) + 4;
++ r += lv->tqstyle().pixelMetric(TQStyle::PM_CheckListButtonSize, lv) + 4;
+ }
+ }
+ return TQMAX( r, TQApplication::globalStrut().width() );
+@@ -1420,7 +1420,7 @@
+
+ const BackgroundMode bgmode = lv->viewport()->backgroundMode();
+ const TQColorGroup::ColorRole crole = TQPalette::backgroundRoleFromMode( bgmode );
+- if ( cg.brush( crole ) != lv->tqcolorGroup().brush( crole ) )
++ if ( cg.brush( crole ) != lv->colorGroup().brush( crole ) )
+ p->fillRect( 0, 0, width, height(), cg.brush( crole ) );
+ else
+ lv->paintEmptyArea( p, TQRect( 0, 0, width, height() ) );
+@@ -1437,7 +1437,7 @@
+ parentControl = TRUE;
+
+ TQFontMetrics fm( lv->fontMetrics() );
+- int boxsize = lv->tqstyle().tqpixelMetric( myType == RadioButtonController ? TQStyle::PM_CheckListControllerSize :
++ int boxsize = lv->tqstyle().pixelMetric( myType == RadioButtonController ? TQStyle::PM_CheckListControllerSize :
+ TQStyle::PM_CheckListButtonSize, lv);
+ int marg = lv->itemMargin();
+ int r = marg;
+@@ -1519,7 +1519,7 @@
+ (lv->rootIsDecorated() || myType == RadioButton ||
+ (myType == CheckBox && parentControl) ) ) {
+ TQRect rect;
+- int boxsize = lv->tqstyle().tqpixelMetric(TQStyle::PM_CheckListButtonSize, lv);
++ int boxsize = lv->tqstyle().pixelMetric(TQStyle::PM_CheckListButtonSize, lv);
+ if ( lv->columnAlignment(0) == AlignCenter ) {
+ TQFontMetrics fm( lv->font() );
+ int bx = (lv->columnWidth(0) - (boxsize + fm.width(text())))/2 + boxsize;
+diff --git a/src/kvilib/tal/kvi_tal_wizard.cpp b/src/kvilib/tal/kvi_tal_wizard.cpp
+index 53b7c03..a0aee30 100644
+--- a/src/kvilib/tal/kvi_tal_wizard.cpp
++++ b/src/kvilib/tal/kvi_tal_wizard.cpp
+@@ -184,7 +184,7 @@ KviTalWizard::KviTalWizard(TQWidget * pParent)
+ #endif
+ m_p->pStepsLabel = new TQLabel(this);
+ m_p->pStepsLabel->setMinimumWidth(80);
+- m_p->pStepsLabel->tqsetAlignment(TQt::AlignRight);
++ m_p->pStepsLabel->setAlignment(TQt::AlignRight);
+ #ifdef COMPILE_USE_QT4
+ m_p->pLayout->addWidget(m_p->pStepsLabel,0,4,1,3);
+ #else
+diff --git a/src/kvirc/kernel/kvi_app.cpp b/src/kvirc/kernel/kvi_app.cpp
+index 30f26dc..c0afdad 100644
+--- a/src/kvirc/kernel/kvi_app.cpp
++++ b/src/kvirc/kernel/kvi_app.cpp
+@@ -228,7 +228,7 @@ void KviApp::setup()
+ //need to load image plugins:(
+ TQString szPluginsDir;
+ getGlobalKvircDirectory(szPluginsDir,None,"qt-plugins/");
+- tqsetLibraryPaths(TQStringList(szPluginsDir));
++ setLibraryPaths(TQStringList(szPluginsDir));
+ //KviMessageBox::information(libraryPaths().join(";"));
+ //debug("%1",loader.isLoaded());
+ #endif
+@@ -696,11 +696,11 @@ void KviApp::contextSensitiveHelp()
+ #ifndef COMPILE_USE_QT4
+ // the F1 Key has been pressed
+ // try to pass it to the active widget or one of its parents
+- TQWidget * w = g_pApp->tqfocusWidget();
++ TQWidget * w = g_pApp->focusWidget();
+ while(w)
+ {
+ //TQVariant v = w->property("contextSensitiveHelp"); <-- this prints a lot of warnings: this is a QT BUG
+- TQMetaObject * o = w->tqmetaObject();
++ TQMetaObject * o = w->metaObject();
+ if(o)
+ {
+ int i = o->findProperty("contextSensitiveHelp",true);
+@@ -1368,7 +1368,7 @@ void KviApp::updateApplicationFont()
+ if(KVI_OPTION_BOOL(KviOption_boolUseGlobalApplicationFont))
+ {
+ if(font() != KVI_OPTION_FONT(KviOption_fontApplication))
+- tqsetFont(KVI_OPTION_FONT(KviOption_fontApplication),true);
++ setFont(KVI_OPTION_FONT(KviOption_fontApplication),true);
+ }
+ // FIXME: #warning "And what if this option is turned off ?...a reboot only"
+ }
+diff --git a/src/kvirc/kernel/kvi_app_fs.cpp b/src/kvirc/kernel/kvi_app_fs.cpp
+index 6a9ad8a..ad8ce5a 100644
+--- a/src/kvirc/kernel/kvi_app_fs.cpp
++++ b/src/kvirc/kernel/kvi_app_fs.cpp
+@@ -228,7 +228,7 @@ bool KviApp::trashFile(const char *filename)
+ KviStr lastPart = filename;
+ lastPart.cutToLast(KVI_PATH_SEPARATOR_CHAR); // need only the filename
+ lastPart.append(".bak_");
+- TQDateTime tm(TQDateTime::tqcurrentDateTime());
++ TQDateTime tm(TQDateTime::currentDateTime());
+ lastPart.append(tm.toString());
+ lastPart.replaceAll(' ',"_");
+ // Ok...have lastPart.bak_Dec_11_31_1999
+diff --git a/src/kvirc/kernel/kvi_ircconnection.cpp b/src/kvirc/kernel/kvi_ircconnection.cpp
+index 4c91a48..ec6085a 100644
+--- a/src/kvirc/kernel/kvi_ircconnection.cpp
++++ b/src/kvirc/kernel/kvi_ircconnection.cpp
+@@ -981,10 +981,10 @@ void KviIrcConnection::loginToIrcServer()
+ if(KVI_OPTION_BOOL(KviOption_boolPrependGenderInfoToRealname) && !KVI_OPTION_STRING(KviOption_stringCtcpUserInfoGender).isEmpty())
+ {
+ szGenderTag.append(KVI_TEXT_COLOR);
+- if(KVI_OPTION_STRING(KviOption_stringCtcpUserInfoGender).tqstartsWith("m",false))
++ if(KVI_OPTION_STRING(KviOption_stringCtcpUserInfoGender).startsWith("m",false))
+ {
+ szGenderTag.append("1");
+- } else if(KVI_OPTION_STRING(KviOption_stringCtcpUserInfoGender).tqstartsWith("f",false))
++ } else if(KVI_OPTION_STRING(KviOption_stringCtcpUserInfoGender).startsWith("f",false))
+ {
+ szGenderTag.append("2");
+ }
+@@ -1017,9 +1017,9 @@ void KviIrcConnection::loginToIrcServer()
+ }
+ } // else buuug
+
+- if(KVI_OPTION_STRING(KviOption_stringCtcpUserInfoGender).tqstartsWith("m",false)){
++ if(KVI_OPTION_STRING(KviOption_stringCtcpUserInfoGender).startsWith("m",false)){
+ e->setGender(KviIrcUserEntry::Male);
+- } else if(KVI_OPTION_STRING(KviOption_stringCtcpUserInfoGender).tqstartsWith("f",false)){
++ } else if(KVI_OPTION_STRING(KviOption_stringCtcpUserInfoGender).startsWith("f",false)){
+ e->setGender(KviIrcUserEntry::Female);
+ }
+
+diff --git a/src/kvirc/kernel/kvi_ircconnectiontargetresolver.cpp b/src/kvirc/kernel/kvi_ircconnectiontargetresolver.cpp
+index f092b62..fa3ae79 100644
+--- a/src/kvirc/kernel/kvi_ircconnectiontargetresolver.cpp
++++ b/src/kvirc/kernel/kvi_ircconnectiontargetresolver.cpp
+@@ -70,7 +70,7 @@ KviIrcConnectionTargetResolver::KviIrcConnectionTargetResolver(KviIrcConnection
+ m_pServerDns = 0;
+
+ m_eState = Idle;
+- m_etqStatus = Success;
++ m_eStatus = Success;
+
+ m_iLastError = KviError_success;
+ }
+@@ -544,12 +544,12 @@ void KviIrcConnectionTargetResolver::haveServerIp()
+ terminate(Success,KviError_success);
+ }
+
+-void KviIrcConnectionTargetResolver::terminate(tqStatus s,int iLastError)
++void KviIrcConnectionTargetResolver::terminate(Status s,int iLastError)
+ {
+ __ASSERT(m_eState != Terminated);
+ cleanup(); // do a cleanup anyway
+ m_eState = Terminated;
+- m_etqStatus = s;
++ m_eStatus = s;
+ m_iLastError = iLastError;
+ emit terminated();
+ }
+diff --git a/src/kvirc/kernel/kvi_ircconnectiontargetresolver.h b/src/kvirc/kernel/kvi_ircconnectiontargetresolver.h
+index 4d5d72c..a37f595 100644
+--- a/src/kvirc/kernel/kvi_ircconnectiontargetresolver.h
++++ b/src/kvirc/kernel/kvi_ircconnectiontargetresolver.h
+@@ -44,13 +44,13 @@ protected:
+ KviIrcConnectionTargetResolver(KviIrcConnection * pConnection);
+ ~KviIrcConnectionTargetResolver();
+ public:
+- enum tqStatus { Success, Error };
++ enum Status { Success, Error };
+ enum State { Idle, Running, Terminated };
+ private:
+ KviIrcConnection * m_pConnection; // shallow, never null
+ KviIrcConnectionTarget * m_pTarget; // shallow, never null
+ KviConsole * m_pConsole; // shallow, never null
+- tqStatus m_etqStatus;
++ Status m_eStatus;
+ State m_eState;
+
+ // Auxiliary stuff
+@@ -66,7 +66,7 @@ private:
+ public:
+ void start(KviIrcConnectionTarget * t);
+ // valid only after the terminated() signal
+- tqStatus status(){ return m_etqStatus; };
++ Status status(){ return m_eStatus; };
+ int lastError(){ return m_iLastError; };
+ // causes the resolver to terminate with iLastError == KviError_operationAborted
+ // the terminated() signal is emitted.
+@@ -81,7 +81,7 @@ private:
+ void lookupServerHostname();
+ void haveServerIp();
+ bool validateLocalAddress(const TQString &szAddress,TQString &szBuffer);
+- void terminate(tqStatus s,int iLastError);
++ void terminate(Status s,int iLastError);
+ signals:
+ void terminated();
+ };
+diff --git a/src/kvirc/kernel/kvi_main.cpp b/src/kvirc/kernel/kvi_main.cpp
+index 7a55ee9..05fed67 100644
+--- a/src/kvirc/kernel/kvi_main.cpp
++++ b/src/kvirc/kernel/kvi_main.cpp
+@@ -367,7 +367,7 @@ int main(int argc,char ** argv)
+ bool bLocked = false;
+ if(inf.exists())
+ {
+- iLocked = inf.lastModified().secsTo(TQDateTime::tqcurrentDateTime());
++ iLocked = inf.lastModified().secsTo(TQDateTime::currentDateTime());
+ }
+ */
+
+diff --git a/src/kvirc/kvs/kvi_kvs_callbackobject.cpp b/src/kvirc/kvs/kvi_kvs_callbackobject.cpp
+index 7222f05..9abb9a7 100644
+--- a/src/kvirc/kvs/kvi_kvs_callbackobject.cpp
++++ b/src/kvirc/kvs/kvi_kvs_callbackobject.cpp
+@@ -55,7 +55,7 @@ KviKvsCallbackObject::~KviKvsCallbackObject()
+ delete m_pMagicParams;
+ }
+
+-KviKvsCallbackObject::CallbacktqStatus KviKvsCallbackObject::execute(KviKvsVariantList * pParams,KviKvsVariant * pRetVal)
++KviKvsCallbackObject::CallbackStatus KviKvsCallbackObject::execute(KviKvsVariantList * pParams,KviKvsVariant * pRetVal)
+ {
+ // first of all check the window
+ if(!m_pTargetWindow)
+diff --git a/src/kvirc/kvs/kvi_kvs_callbackobject.h b/src/kvirc/kvs/kvi_kvs_callbackobject.h
+index c45ec1b..fca4f89 100644
+--- a/src/kvirc/kvs/kvi_kvs_callbackobject.h
++++ b/src/kvirc/kvs/kvi_kvs_callbackobject.h
+@@ -49,7 +49,7 @@ public:
+ // the callback is executed in another window (the associated console, if possible, otherwise the first available console)
+ OnlyIfWindowExists = 1
+ };
+- enum CallbacktqStatus {
++ enum CallbackStatus {
+ // succesfull execution
+ Success,
+ // error in command
+@@ -76,7 +76,7 @@ protected:
+ unsigned int m_uFlags;
+ protected:
+ // the parameter list is always shallow!
+- CallbacktqStatus execute(KviKvsVariantList * pParams = 0,KviKvsVariant * pRetVal = 0);
++ CallbackStatus execute(KviKvsVariantList * pParams = 0,KviKvsVariant * pRetVal = 0);
+ };
+
+
+diff --git a/src/kvirc/kvs/kvi_kvs_object.cpp b/src/kvirc/kvs/kvi_kvs_object.cpp
+index 677095d..eaae3fd 100644
+--- a/src/kvirc/kvs/kvi_kvs_object.cpp
++++ b/src/kvirc/kvs/kvi_kvs_object.cpp
+@@ -1042,7 +1042,7 @@ bool KviKvsObject::function_listProperties(KviKvsObjectFunctionCall * c)
+ kvs_int_t cnt = 0;
+ if(m_pObject)
+ {
+- const TQMetaObject *o = m_pObject->tqmetaObject();
++ const TQMetaObject *o = m_pObject->metaObject();
+ if(!bArray)
+ w->output(KVI_OUT_SYSTEMMESSAGE,__tr2qs("Properties for TQt class %s"),o->className());
+ #ifndef COMPILE_USE_QT4
+@@ -1120,7 +1120,7 @@ bool KviKvsObject::function_listProperties(KviKvsObjectFunctionCall * c)
+ cnt++;
+ }
+ #ifndef COMPILE_USE_QT4
+- o = o->tqsuperClass();
++ o = o->superClass();
+ }
+ #endif
+
+@@ -1154,9 +1154,9 @@ bool KviKvsObject::function_setProperty(KviKvsObjectFunctionCall * c)
+ }
+
+ #ifdef COMPILE_USE_QT4
+- int idx = m_pObject->tqmetaObject()->indexOfProperty(szName);
++ int idx = m_pObject->metaObject()->indexOfProperty(szName);
+ #else
+- int idx = m_pObject->tqmetaObject()->findProperty(szName,true);
++ int idx = m_pObject->metaObject()->findProperty(szName,true);
+ #endif
+ if(idx < 0)
+ {
+@@ -1164,10 +1164,10 @@ bool KviKvsObject::function_setProperty(KviKvsObjectFunctionCall * c)
+ return true;
+ }
+ #ifdef COMPILE_USE_QT4
+- TQMetaProperty prop = m_pObject->tqmetaObject()->property(idx);
++ TQMetaProperty prop = m_pObject->metaObject()->property(idx);
+ const TQMetaProperty * p = &prop;
+ #else
+- const TQMetaProperty * p = m_pObject->tqmetaObject()->property(idx,true);
++ const TQMetaProperty * p = m_pObject->metaObject()->property(idx,true);
+ #endif
+ if(!p)
+ {
+@@ -1385,9 +1385,9 @@ bool KviKvsObject::function_property(KviKvsObjectFunctionCall * c)
+ }
+
+ #ifdef COMPILE_USE_QT4
+- int idx = m_pObject->tqmetaObject()->indexOfProperty(szName);
++ int idx = m_pObject->metaObject()->indexOfProperty(szName);
+ #else
+- int idx = m_pObject->tqmetaObject()->findProperty(szName,true);
++ int idx = m_pObject->metaObject()->findProperty(szName,true);
+ #endif
+ if(idx < 0)
+ {
+@@ -1400,10 +1400,10 @@ bool KviKvsObject::function_property(KviKvsObjectFunctionCall * c)
+ return true;
+ }
+ #ifdef COMPILE_USE_QT4
+- TQMetaProperty prop = m_pObject->tqmetaObject()->property(idx);
++ TQMetaProperty prop = m_pObject->metaObject()->property(idx);
+ const TQMetaProperty * p = &prop;
+ #else
+- const TQMetaProperty * p = m_pObject->tqmetaObject()->property(idx,true);
++ const TQMetaProperty * p = m_pObject->metaObject()->property(idx,true);
+ #endif
+ if(!p)
+ {
+diff --git a/src/kvirc/kvs/kvi_kvs_processmanager.cpp b/src/kvirc/kvs/kvi_kvs_processmanager.cpp
+index a7aeacb..2f3219c 100644
+--- a/src/kvirc/kvs/kvi_kvs_processmanager.cpp
++++ b/src/kvirc/kvs/kvi_kvs_processmanager.cpp
+@@ -330,7 +330,7 @@ void KviKvsProcessAsyncOperation::processExited()
+ if(m_pData->iFlags & KVI_KVS_PROCESSDESCRIPTOR_TRIGGERTERMINATED)
+ {
+ TQString szRetVal;
+- szRetVal.setNum(m_pProcess->exitqStatus());
++ szRetVal.setNum(m_pProcess->exiStatus());
+ trigger(EventTerminated,szRetVal);
+ }
+
+diff --git a/src/kvirc/kvs/kvi_kvs_script.cpp b/src/kvirc/kvs/kvi_kvs_script.cpp
+index c9c4f4f..d77919d 100644
+--- a/src/kvirc/kvs/kvi_kvs_script.cpp
++++ b/src/kvirc/kvs/kvi_kvs_script.cpp
+@@ -293,22 +293,22 @@ int KviKvsScript::executeInternal(KviKvsRunTimeContext * pContext)
+ // lock this script
+ m_pData->m_uLock++;
+
+- int iRuntqStatus = Success;
++ int iRunStatus = Success;
+
+ if(!m_pData->m_pTree->execute(pContext))
+ {
+- if(pContext->error())iRuntqStatus = Error;
++ if(pContext->error())iRunStatus = Error;
+ else {
+ // else just a halt, return or sth like that
+ if(pContext->haltCalled())
+- iRuntqStatus |= HaltEncountered;
++ iRunStatus |= HaltEncountered;
+ }
+ }
+
+ // we can't block any longer: unlock
+ m_pData->m_uLock--;
+
+- return iRuntqStatus;
++ return iRunStatus;
+ }
+
+ int KviKvsScript::execute(KviWindow * pWnd,KviKvsVariantList * pParams,KviKvsVariant * pRetVal,int iRunFlags,KviKvsExtendedRunTimeData * pExtData)
+@@ -343,13 +343,13 @@ int KviKvsScript::execute(KviWindow * pWnd,KviKvsVariantList * pParams,KviKvsVar
+ if(iRunFlags & Quiet)
+ ctx.disableReporting();
+
+- int iRuntqStatus = executeInternal(&ctx);
++ int iRunStatus = executeInternal(&ctx);
+
+ // don't forget to delete the params
+ if(bDeleteParams)delete pParams;
+ if(bDeleteRetVal)delete pRetVal;
+ pParams = 0; pRetVal = 0;
+- return iRuntqStatus;
++ return iRunStatus;
+ }
+
+
+diff --git a/src/kvirc/kvs/kvi_kvs_script.h b/src/kvirc/kvs/kvi_kvs_script.h
+index 2bfd6b8..60e96a0 100644
+--- a/src/kvirc/kvs/kvi_kvs_script.h
++++ b/src/kvirc/kvs/kvi_kvs_script.h
+@@ -52,7 +52,7 @@ class KVIRC_API KviKvsScript : public KviHeapObject
+ friend class KviKvsParser;
+ friend class KviKvsRunTimeContext;
+ public:
+- enum RuntqStatus {
++ enum RunStatus {
+ // the script returned an error
+ Error = 0,
+ // the script ran succesfully
+@@ -97,7 +97,7 @@ public:
+ Quiet = 8
+ };
+ // returns 0 (KviKvsScript::RunFailure) on error
+- // returns a nonzero combination of RuntqStatus flags on success
++ // returns a nonzero combination of RunStatus flags on success
+ int run(KviWindow * pWnd, // window that the command has to be bound to
+ KviKvsVariantList * pParams = 0, // parameter list (0 if you don't pass params) ownership transferred if PreserverParams is not used
+ KviKvsVariant * pRetVal = 0, // return value buffer (0 if you ignore it)
+@@ -105,7 +105,7 @@ public:
+ KviKvsExtendedRunTimeData * pExtData = 0); // extended data (usually 0) (if you need to pass extended scope variables or alias switch lists...)
+
+ // returns 0 (KviKvsScript::RunFailure) on error
+- // returns a nonzero combination of RuntqStatus flags on success
++ // returns a nonzero combination of RunStatus flags on success
+ // this is probably used only in /eval
+ int run(KviKvsRunTimeContext * pContext,int iRunFlags = 0);
+
+@@ -118,12 +118,12 @@ public:
+ KviKvsExtendedRunTimeData * pExtData = 0);
+
+ // static helpers for quick running
+- // returns a combination of RuntqStatus flags (nonzero on no error)
++ // returns a combination of RunStatus flags (nonzero on no error)
+ // does NOT take params ownership
+ static int run(const TQString &szCode,KviWindow * pWindow,KviKvsVariantList * pParams = 0,KviKvsVariant * pRetVal = 0);
+
+ // static helper for quick evaluating parameters
+- // returns a combination of RuntqStatus flags (nonzero on no error)
++ // returns a combination of RunStatus flags (nonzero on no error)
+ // does NOT take params ownership
+ // pRetVal CAN'T be zero here since we're evaluating stuff here
+ static int evaluate(const TQString &szCode,KviWindow * pWindow,KviKvsVariantList * pParams,KviKvsVariant * pRetVal);
+@@ -137,14 +137,14 @@ protected:
+ bool parse(KviWindow * pOutput = 0,
+ int iRunFlags = 0);
+ // returns 0 (KviKvsScript::RunFailure) on error
+- // returns a nonzero combination of RuntqStatus flags on success
++ // returns a nonzero combination of RunStatus flags on success
+ int execute(KviWindow * pWnd,
+ KviKvsVariantList * pParams = 0,
+ KviKvsVariant * pRetVal = 0,
+ int iRunFlags = 0,
+ KviKvsExtendedRunTimeData * pExtData = 0);
+ // returns 0 (KviKvsScript::RunFailure) on error
+- // returns a nonzero combination of RuntqStatus flags on success
++ // returns a nonzero combination of RunStatus flags on success
+ int executeInternal(KviKvsRunTimeContext * pContext);
+ const TQChar * buffer() const;
+ // detaches this script from any other shallow copies
+diff --git a/src/kvirc/sparser/kvi_sp_ctcp.cpp b/src/kvirc/sparser/kvi_sp_ctcp.cpp
+index b92afd9..86e129d 100644
+--- a/src/kvirc/sparser/kvi_sp_ctcp.cpp
++++ b/src/kvirc/sparser/kvi_sp_ctcp.cpp
+@@ -1331,7 +1331,7 @@ void KviServerParser::parseCtcpRequestTime(KviCtcpMessage *msg)
+ {
+ if(!KVI_OPTION_BOOL(KviOption_boolIgnoreCtcpTime))
+ {
+- replyCtcp(msg,TQDateTime::tqcurrentDateTime().toString());
++ replyCtcp(msg,TQDateTime::currentDateTime().toString());
+ } else msg->bIgnored = true;
+ }
+
+@@ -1491,9 +1491,9 @@ void KviServerParser::parseCtcpRequestAvatar(KviCtcpMessage *msg)
+ if(!KVI_OPTION_BOOL(KviOption_boolIgnoreCtcpAvatar))
+ {
+ TQString szGenderTag=" ";
+- if(KVI_OPTION_STRING(KviOption_stringCtcpUserInfoGender).tqstartsWith("m",false)){
++ if(KVI_OPTION_STRING(KviOption_stringCtcpUserInfoGender).startsWith("m",false)){
+ szGenderTag.append("M");
+- } else if(KVI_OPTION_STRING(KviOption_stringCtcpUserInfoGender).tqstartsWith("f",false)){
++ } else if(KVI_OPTION_STRING(KviOption_stringCtcpUserInfoGender).startsWith("f",false)){
+ szGenderTag.append("F");
+ } else {
+ szGenderTag.append("?");
+diff --git a/src/kvirc/sparser/kvi_sp_literal.cpp b/src/kvirc/sparser/kvi_sp_literal.cpp
+index 155a734..18ab099 100644
+--- a/src/kvirc/sparser/kvi_sp_literal.cpp
++++ b/src/kvirc/sparser/kvi_sp_literal.cpp
+@@ -1402,7 +1402,7 @@ void KviServerParser::parseLiteralTopic(KviIrcMessage *msg)
+
+ chan->topicWidget()->setTopic(szTopic);
+ chan->topicWidget()->setTopicSetBy(szNick);
+- TQString tmp = TQDateTime::tqcurrentDateTime().toString();
++ TQString tmp = TQDateTime::currentDateTime().toString();
+ chan->topicWidget()->setTopicSetAt(tmp);
+
+ chan->userAction(szNick,szUser,szHost,KVI_USERACTION_TOPIC);
+@@ -1800,7 +1800,7 @@ void KviServerParser::parseChannelMode(const TQString &szNick,const TQString &sz
+ #define CHANNEL_MODE(__modefl,__evmeset,__evmeunset,__evset,__evunset,__icomeset,__icomeunset,__icoset,__icounset) \
+ case __modefl: \
+ aParam = msg->connection()->decodeText(msg->safeParam(curParam++)); \
+- chan->setMask(*aux,aParam,bSet,msg->connection()->decodeText(msg->safePrefix()),TQDateTime::tqcurrentDateTime().toTime_t()); \
++ chan->setMask(*aux,aParam,bSet,msg->connection()->decodeText(msg->safePrefix()),TQDateTime::currentDateTime().toTime_t()); \
+ auxMask = new KviIrcMask(aParam); \
+ bIsMe = auxMask->matchesFixed( \
+ msg->connection()->userInfo()->nickName(), \
+diff --git a/src/kvirc/ui/kvi_channel.cpp b/src/kvirc/ui/kvi_channel.cpp
+index b9e2f2b..c35b1fe 100644
+--- a/src/kvirc/ui/kvi_channel.cpp
++++ b/src/kvirc/ui/kvi_channel.cpp
+@@ -220,7 +220,7 @@ KviChannel::KviChannel(KviFrame * lpFrm,KviConsole * lpConsole,const char * name
+ if(KVI_OPTION_BOOL(KviOption_boolAutoLogChannels))m_pIrcView->startLogging();
+
+ applyOptions();
+- m_joinTime = TQDateTime::tqcurrentDateTime();
++ m_joinTime = TQDateTime::currentDateTime();
+ m_tLastReceivedWhoReply = (kvi_time_t)m_joinTime.toTime_t();
+
+
+@@ -547,23 +547,23 @@ void KviChannel::resizeEvent(TQResizeEvent *e)
+ {
+ #ifdef COMPILE_USE_QT4
+ int hght = m_pInput->heightHint();
+- int hght2 = m_pTopicWidget->tqsizeHint().height();
++ int hght2 = m_pTopicWidget->sizeHint().height();
+ m_pButtonBox->setGeometry(0,0,width(),hght2);
+ m_pSplitter->setGeometry(0,hght2,width(),height() - (hght + hght2));
+ m_pInput->setGeometry(0,height() - hght,width(),hght);
+ #else
+ int hght = m_pInput->heightHint();
+- int hght2 = m_pButtonBox->tqsizeHint().height();
++ int hght2 = m_pButtonBox->sizeHint().height();
+ m_pButtonBox->setGeometry(0,0,width(),hght2);
+ m_pSplitter->setGeometry(0,hght2,width(),height() - (hght + hght2));
+ m_pInput->setGeometry(0,height() - hght,width(),hght);
+ #endif
+ }
+
+-TQSize KviChannel::tqsizeHint() const
++TQSize KviChannel::sizeHint() const
+ {
+- TQSize ret(m_pSplitter->tqsizeHint().width(),
+- m_pIrcView->tqsizeHint().height() + m_pInput->heightHint() + m_pButtonBox->tqsizeHint().height());
++ TQSize ret(m_pSplitter->sizeHint().width(),
++ m_pIrcView->sizeHint().height() + m_pInput->heightHint() + m_pButtonBox->sizeHint().height());
+ return ret;
+ }
+
+@@ -655,7 +655,7 @@ void KviChannel::setAliveChan()
+ m_iStateFlags = 0;
+ setType(KVI_WINDOW_TYPE_CHANNEL);
+ m_pUserListView->setUserDataBase(connection()->userDataBase());
+- m_joinTime = TQDateTime::tqcurrentDateTime();
++ m_joinTime = TQDateTime::currentDateTime();
+ context()->unregisterDeadChannel(this);
+ connection()->registerChannel(this);
+ // Update log file name
+@@ -1170,7 +1170,7 @@ bool KviChannel::activityMeter(unsigned int * puActivityValue,unsigned int * puA
+
+ if(m_pActionHistory->count() < KVI_CHANNEL_ACTION_HISTORY_MAX_COUNT)
+ {
+- if(m_joinTime.secsTo(TQDateTime::tqcurrentDateTime()) < KVI_CHANNEL_ACTION_HISTORY_MAX_TIMESPAN)
++ if(m_joinTime.secsTo(TQDateTime::currentDateTime()) < KVI_CHANNEL_ACTION_HISTORY_MAX_TIMESPAN)
+ {
+ // we can't exactly estimate
+ if(dSpan < 60.0)dSpan = 60.0;
+@@ -1281,7 +1281,7 @@ void KviChannel::getChannelActivityStats(KviChannelActivityStats * s)
+
+ if(s->uActionCount < KVI_CHANNEL_ACTION_HISTORY_MAX_COUNT)
+ {
+- if(m_joinTime.secsTo(TQDateTime::tqcurrentDateTime()) < KVI_CHANNEL_ACTION_HISTORY_MAX_TIMESPAN)
++ if(m_joinTime.secsTo(TQDateTime::currentDateTime()) < KVI_CHANNEL_ACTION_HISTORY_MAX_TIMESPAN)
+ {
+ // we can't exactly estimate
+ s->bStatsInaccurate = true;
+diff --git a/src/kvirc/ui/kvi_channel.h b/src/kvirc/ui/kvi_channel.h
+index 45a4801..3c86b6a 100644
+--- a/src/kvirc/ui/kvi_channel.h
++++ b/src/kvirc/ui/kvi_channel.h
+@@ -233,7 +233,7 @@ public:
+ void prependUserFlag(const TQString &nick,TQString &buffer){ m_pUserListView->prependUserFlag(nick,buffer); };
+ char getUserFlag(const TQString &nick){ return m_pUserListView->getUserFlag(nick); };
+ bool isDeadChan(){ return (m_iStateFlags & KVI_CHANNEL_STATE_DEADCHAN); };
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ void enableUserListUpdates(bool bEnable){ m_pUserListView->enableUpdates(bEnable); };
+ KviUserListEntry * join(const TQString &nick,const TQString &user = TQString(),const TQString &host = TQString(),int iFlags = 0)
+ { return m_pUserListView->join(nick,user,host,iFlags); };
+diff --git a/src/kvirc/ui/kvi_console.cpp b/src/kvirc/ui/kvi_console.cpp
+index fdce502..b2a19f4 100644
+--- a/src/kvirc/ui/kvi_console.cpp
++++ b/src/kvirc/ui/kvi_console.cpp
+@@ -1087,15 +1087,15 @@ void KviConsole::applyOptions()
+ void KviConsole::resizeEvent(TQResizeEvent *e)
+ {
+ int hght = m_pInput->heightHint();
+- int hght2 = m_pButtonBox->tqsizeHint().height();
++ int hght2 = m_pButtonBox->sizeHint().height();
+ m_pButtonBox->setGeometry(0,0,width(),hght2);
+ m_pSplitter->setGeometry(0,hght2,width(),height() - (hght + hght2));
+ m_pInput->setGeometry(0,height() - hght,width(),hght);
+ }
+
+-TQSize KviConsole::tqsizeHint() const
++TQSize KviConsole::sizeHint() const
+ {
+- TQSize ret(m_pIrcView->tqsizeHint().height(),m_pIrcView->tqsizeHint().height() + m_pInput->heightHint());
++ TQSize ret(m_pIrcView->sizeHint().height(),m_pIrcView->sizeHint().height() + m_pInput->heightHint());
+ return ret;
+ }
+
+diff --git a/src/kvirc/ui/kvi_console.h b/src/kvirc/ui/kvi_console.h
+index 18c02ee..a32ae7f 100644
+--- a/src/kvirc/ui/kvi_console.h
++++ b/src/kvirc/ui/kvi_console.h
+@@ -101,7 +101,7 @@ protected:
+ virtual void getBaseLogFileName(TQString &buffer);
+ virtual void getTaskBarTipText(TQString &buffer);
+ virtual void fillContextPopup(KviTalPopupMenu * p);
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ virtual void applyOptions();
+ virtual void triggerCreationEvents();
+ void fillStatusString();
+@@ -181,7 +181,7 @@ public:
+
+ void terminateConnectionRequest(bool bForce = false,const char * quitMsg = 0);
+
+- // tqStatus string (usermode + nick) (connection related too)
++ // Status string (usermode + nick) (connection related too)
+ const TQString & statusString(){ return m_szStatusString; };
+
+ // forwarders from KviIrcConnection
+diff --git a/src/kvirc/ui/kvi_cryptcontroller.cpp b/src/kvirc/ui/kvi_cryptcontroller.cpp
+index 83ac72e..1af4c18 100644
+--- a/src/kvirc/ui/kvi_cryptcontroller.cpp
++++ b/src/kvirc/ui/kvi_cryptcontroller.cpp
+@@ -107,9 +107,9 @@
+ m_pDescriptionLabel = new TQLabel(this);
+ m_pDescriptionLabel->setFrameStyle(TQFrame::Sunken | TQFrame::StyledPanel);
+ #ifdef COMPILE_USE_QT4
+- m_pDescriptionLabel->tqsetAlignment(TQt::AlignTop | TQt::AlignLeft);
++ m_pDescriptionLabel->setAlignment(TQt::AlignTop | TQt::AlignLeft);
+ #else
+- m_pDescriptionLabel->tqsetAlignment(TQt::AlignTop | TQt::AlignLeft);
++ m_pDescriptionLabel->setAlignment(TQt::AlignTop | TQt::AlignLeft);
+ #endif
+ g->addMultiCellWidget(m_pDescriptionLabel,3,3,1,3);
+
+diff --git a/src/kvirc/ui/kvi_ctcppagedialog.cpp b/src/kvirc/ui/kvi_ctcppagedialog.cpp
+index da82146..8a151e6 100644
+--- a/src/kvirc/ui/kvi_ctcppagedialog.cpp
++++ b/src/kvirc/ui/kvi_ctcppagedialog.cpp
+@@ -103,7 +103,7 @@ void KviCtcpPageDialog::addPage(const TQString &szNick,const TQString &szUser,co
+ TQLabel * l = new TQLabel(this);
+ l->setFrameStyle(TQFrame::Raised | TQFrame::StyledPanel);
+ //l->setMaximumWidth(600);
+- TQString date = TQDateTime::tqcurrentDateTime().toString();
++ TQString date = TQDateTime::currentDateTime().toString();
+
+ TQString tmp = "<center>";
+ tmp += __tr2qs("You have been paged by");
+diff --git a/src/kvirc/ui/kvi_customtoolbar.cpp b/src/kvirc/ui/kvi_customtoolbar.cpp
+index 828eb02..e6b234e 100644
+--- a/src/kvirc/ui/kvi_customtoolbar.cpp
++++ b/src/kvirc/ui/kvi_customtoolbar.cpp
+@@ -62,17 +62,17 @@ KviCustomToolBarSeparator::KviCustomToolBarSeparator(KviCustomToolBar *pParent,c
+ m_pToolBar = pParent;
+ setBackgroundMode(pParent->backgroundMode());
+ setBackgroundOrigin(ParentOrigin);
+- tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Minimum,TQSizePolicy::Minimum));
++ setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum,TQSizePolicy::Minimum));
+ }
+
+-TQSize KviCustomToolBarSeparator::tqsizeHint() const
++TQSize KviCustomToolBarSeparator::sizeHint() const
+ {
+ #ifdef COMPILE_USE_QT4
+ TQStyleOption opt;
+ opt.initFrom(this);
+- int extent = tqstyle()->tqpixelMetric(TQStyle::PM_ToolBarSeparatorExtent,&opt,this);
++ int extent = tqstyle()->pixelMetric(TQStyle::PM_ToolBarSeparatorExtent,&opt,this);
+ #else
+- int extent = tqstyle().tqpixelMetric(TQStyle::PM_DockWindowSeparatorExtent,this);
++ int extent = tqstyle().pixelMetric(TQStyle::PM_DockWindowSeparatorExtent,this);
+ #endif
+ if(m_pToolBar->orientation() == Qt::Horizontal)return TQSize(extent,0);
+ else return TQSize(0,extent);
+@@ -88,7 +88,7 @@ void KviCustomToolBarSeparator::paintEvent(TQPaintEvent *)
+ #else
+ TQStyle::SFlags flags = TQStyle::Style_Default;
+ if(m_pToolBar->orientation() == Qt::Horizontal)flags |= TQStyle::Style_Horizontal;
+- tqstyle().tqdrawPrimitive(TQStyle::PE_DockWindowSeparator,&p,rect(),tqcolorGroup(),flags);
++ tqstyle().tqdrawPrimitive(TQStyle::PE_DockWindowSeparator,&p,rect(),colorGroup(),flags);
+ #endif
+ }
+
+@@ -293,7 +293,7 @@ void KviCustomToolBar::dragEnterEvent(TQDragEnterEvent *e)
+ boxLayout()->insertWidget(idx,m_pDraggedChild);
+ #ifdef COMPILE_KDE_SUPPORT
+ // bleah ://///
+- insertWidget(-1,m_pDraggedChild->tqsizeHint().width(),m_pDraggedChild,idx);
++ insertWidget(-1,m_pDraggedChild->sizeHint().width(),m_pDraggedChild,idx);
+ #endif
+ #endif
+ TQEvent ev(TQEvent::LayoutHint);
+diff --git a/src/kvirc/ui/kvi_customtoolbar.h b/src/kvirc/ui/kvi_customtoolbar.h
+index ec6483b..d02ad59 100644
+--- a/src/kvirc/ui/kvi_customtoolbar.h
++++ b/src/kvirc/ui/kvi_customtoolbar.h
+@@ -41,7 +41,7 @@ class KviCustomToolBarSeparator : public TQWidget
+ TQ_OBJECT
+ public:
+ KviCustomToolBarSeparator(KviCustomToolBar *pParent,const char * name);
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+ protected:
+ KviCustomToolBar * m_pToolBar;
+ protected:
+diff --git a/src/kvirc/ui/kvi_debugwindow.cpp b/src/kvirc/ui/kvi_debugwindow.cpp
+index 8110967..dcbb49d 100644
+--- a/src/kvirc/ui/kvi_debugwindow.cpp
++++ b/src/kvirc/ui/kvi_debugwindow.cpp
+@@ -124,9 +124,9 @@ void KviDebugWindow::resizeEvent(TQResizeEvent *e)
+ m_pInput->setGeometry(0,height() - hght,width(),hght);
+ }
+
+-TQSize KviDebugWindow::tqsizeHint() const
++TQSize KviDebugWindow::sizeHint() const
+ {
+- TQSize ret(m_pSplitter->tqsizeHint().width(),m_pIrcView->tqsizeHint().height() + m_pInput->heightHint());
++ TQSize ret(m_pSplitter->sizeHint().width(),m_pIrcView->sizeHint().height() + m_pInput->heightHint());
+ return ret;
+ }
+
+diff --git a/src/kvirc/ui/kvi_debugwindow.h b/src/kvirc/ui/kvi_debugwindow.h
+index 616752a..1eab1ee 100644
+--- a/src/kvirc/ui/kvi_debugwindow.h
++++ b/src/kvirc/ui/kvi_debugwindow.h
+@@ -49,7 +49,7 @@ protected:
+ virtual void loadProperties(KviConfig * cfg);
+ virtual void saveProperties(KviConfig * cfg);
+ virtual void getBaseLogFileName(TQString &buffer);
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ };
+
+ #endif //_KVI_DEBUGWINDOW_H_
+diff --git a/src/kvirc/ui/kvi_frame.cpp b/src/kvirc/ui/kvi_frame.cpp
+index db5efa8..96c63e6 100644
+--- a/src/kvirc/ui/kvi_frame.cpp
++++ b/src/kvirc/ui/kvi_frame.cpp
+@@ -879,7 +879,7 @@ void KviFrame::childWindowActivated(KviWindow *wnd)
+ if(wnd->isMaximized() && wnd->mdiParent())updateCaption();
+ m_pTaskBar->setActiveItem(wnd->taskBarItem());
+
+- //wnd->gainedActiveWindowtqStatus(); // <-- atm unused
++ //wnd->gainedActiveWindowStatus(); // <-- atm unused
+
+ if(g_pActiveWindow->view())
+ g_pActiveWindow->view()->clearUnreaded();
+@@ -1165,7 +1165,7 @@ void KviFrame::toolbarsPopupSelected(int id)
+ bool KviFrame::focusNextPrevChild(bool next)
+ {
+ //debug("FOCUS NEXT PREV CHILD");
+- TQWidget * w = tqfocusWidget();
++ TQWidget * w = focusWidget();
+ if(w)
+ {
+ #ifdef COMPILE_USE_QT4
+diff --git a/src/kvirc/ui/kvi_imagedialog.cpp b/src/kvirc/ui/kvi_imagedialog.cpp
+index a4c89ad..03eeeee 100644
+--- a/src/kvirc/ui/kvi_imagedialog.cpp
++++ b/src/kvirc/ui/kvi_imagedialog.cpp
+@@ -67,7 +67,7 @@ void KviImageDialogItem::paint(TQPainter * p)
+ p->drawRect(3,3,pm->width() + 4,pm->height() + 4);
+ }
+
+- TQRect daRect(listBox()->tqitemRect(this));
++ TQRect daRect(listBox()->itemRect(this));
+
+ p->setPen(TQt::black);
+ p->drawRect(1,1,daRect.width() - 2,daRect.height() - 2);
+@@ -361,7 +361,7 @@ void KviImageDialog::tipRequest(KviDynamicToolTip *,const TQPoint &pnt)
+ {
+ KviTalListBoxItem * it = (KviTalListBoxItem *)m_pListBox->itemAt(pnt);
+ if(!it)return;
+- TQRect r = m_pListBox->tqitemRect(it);
++ TQRect r = m_pListBox->itemRect(it);
+ KviImageDialogItem * i = (KviImageDialogItem *)it;
+ m_pTip->tip(r,i->tipText());
+ }
+diff --git a/src/kvirc/ui/kvi_input.cpp b/src/kvirc/ui/kvi_input.cpp
+index 5258577..5445738 100644
+--- a/src/kvirc/ui/kvi_input.cpp
++++ b/src/kvirc/ui/kvi_input.cpp
+@@ -299,10 +299,10 @@ void KviInputEditor::dropEvent(TQDropEvent *e)
+
+ int KviInputEditor::heightHint() const
+ {
+- return tqsizeHint().height();
++ return sizeHint().height();
+ }
+
+-TQSize KviInputEditor::tqsizeHint() const
++TQSize KviInputEditor::sizeHint() const
+ {
+ //grabbed from qlineedit.cpp
+ constPolish();
+@@ -2335,7 +2335,7 @@ KviInput::KviInput(KviWindow *par,KviUserListView * view)
+ m_pButtonContainer->setSpacing(0);
+
+ #ifdef COMPILE_USE_QT4
+- m_pButtonContainer->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Minimum,TQSizePolicy::Preferred));
++ m_pButtonContainer->setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum,TQSizePolicy::Preferred));
+ // if(m_pButtonContainer->tqlayout())
+ // m_pButtonContainer->tqlayout()->setSizeConstraint(TQLayout::SetMinimumSize);
+ #endif
+@@ -2396,9 +2396,9 @@ KviInput::KviInput(KviWindow *par,KviUserListView * view)
+ m_pInputEditor = new KviInputEditor(this,par,view);
+ connect(m_pInputEditor,TQT_SIGNAL(enterPressed()),this,TQT_SLOT(inputEditorEnterPressed()));
+ #ifdef COMPILE_USE_QT4
+- m_pInputEditor->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Ignored));
++ m_pInputEditor->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Ignored));
+ #else
+- m_pInputEditor->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Ignored,TQSizePolicy::Ignored));
++ m_pInputEditor->setSizePolicy(TQSizePolicy(TQSizePolicy::Ignored,TQSizePolicy::Ignored));
+ #endif
+
+
+diff --git a/src/kvirc/ui/kvi_input.h b/src/kvirc/ui/kvi_input.h
+index 777fb41..6e2d5c9 100644
+--- a/src/kvirc/ui/kvi_input.h
++++ b/src/kvirc/ui/kvi_input.h
+@@ -144,7 +144,7 @@ protected:
+ bool m_bReadOnly;
+ public:
+ int heightHint() const;
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ void setText(const TQString text);
+ TQString text() { return m_szTextBuffer; };
+ void insertChar(TQChar c);
+diff --git a/src/kvirc/ui/kvi_ipeditor.cpp b/src/kvirc/ui/kvi_ipeditor.cpp
+index 0e12d2d..df15e02 100644
+--- a/src/kvirc/ui/kvi_ipeditor.cpp
++++ b/src/kvirc/ui/kvi_ipeditor.cpp
+@@ -208,7 +208,7 @@ void KviIpEditor::recreateChildren()
+ m_pEdit[i] = new TQLineEdit(this);
+ m_pEdit[i]->installEventFilter(this);
+ m_pEdit[i]->setFrame(false);
+- m_pEdit[i]->tqsetAlignment(TQt::AlignCenter);
++ m_pEdit[i]->setAlignment(TQt::AlignCenter);
+ }
+ //m_pEdit[i]->setMinimumWidth(minWidth);
+ m_pEdit[i]->setMaxLength(bIpV4 ? 3 : 4);
+@@ -243,8 +243,8 @@ void KviIpEditor::recreateChildren()
+ }
+ }
+ }
+- //setMinimumWidth(4 + (max * minWidth) + ((max - 1) * m_pLabel[0]->tqsizeHint().width()));
+- setMinimumHeight(m_pLabel[0]->tqsizeHint().height() + 4);
++ //setMinimumWidth(4 + (max * minWidth) + ((max - 1) * m_pLabel[0]->sizeHint().width()));
++ setMinimumHeight(m_pLabel[0]->sizeHint().height() + 4);
+ resizeEvent(0);
+ }
+
+@@ -395,7 +395,7 @@ void KviIpEditor::resizeEvent(TQResizeEvent *e)
+ if(m_pEdit[0])
+ {
+ int maxW = (m_addrType == IpV4) ? 4 : 8;
+- int labHint = m_pLabel[0]->tqsizeHint().width();
++ int labHint = m_pLabel[0]->sizeHint().width();
+ int hghHint = height() - 4;
+ int ediWdth = ((width() - 4) - ((maxW - 1) * labHint)) / maxW;
+ int curX = 2;
+@@ -413,16 +413,16 @@ void KviIpEditor::resizeEvent(TQResizeEvent *e)
+ if(e)TQFrame::resizeEvent(e);
+ }
+
+-TQSize KviIpEditor::tqsizeHint()
++TQSize KviIpEditor::sizeHint()
+ {
+ if(m_pEdit[0])
+ {
+- int labHint = m_pLabel[0]->tqsizeHint().width();
+- int hghHint = m_pEdit[0]->tqsizeHint().height();
+- int ediHint = m_pEdit[0]->tqsizeHint().width();
++ int labHint = m_pLabel[0]->sizeHint().width();
++ int hghHint = m_pEdit[0]->sizeHint().height();
++ int ediHint = m_pEdit[0]->sizeHint().width();
+ if(m_addrType == IpV4)return TQSize((labHint * 3) + (ediHint * 4) + 4,hghHint + 4);
+ else return TQSize((labHint * 7) + (ediHint * 8) + 4,hghHint + 4);
+- } else return TQFrame::tqsizeHint();
++ } else return TQFrame::sizeHint();
+ }
+
+
+diff --git a/src/kvirc/ui/kvi_ipeditor.h b/src/kvirc/ui/kvi_ipeditor.h
+index 19e2a3c..625f164 100644
+--- a/src/kvirc/ui/kvi_ipeditor.h
++++ b/src/kvirc/ui/kvi_ipeditor.h
+@@ -55,7 +55,7 @@ public:
+ protected:
+ virtual bool eventFilter(TQObject * o,TQEvent *e);
+ virtual void resizeEvent(TQResizeEvent *e);
+- virtual TQSize tqsizeHint();
++ virtual TQSize sizeHint();
+ private:
+ void recreateChildren();
+ };
+diff --git a/src/kvirc/ui/kvi_irctoolbar.cpp b/src/kvirc/ui/kvi_irctoolbar.cpp
+index e551771..2f2a237 100644
+--- a/src/kvirc/ui/kvi_irctoolbar.cpp
++++ b/src/kvirc/ui/kvi_irctoolbar.cpp
+@@ -77,7 +77,7 @@ KviToolBarGraphicalApplet::KviToolBarGraphicalApplet(TQWidget * par,const char *
+ setMouseTracking(true);
+ m_bResizeMode = false;
+
+- m_tqsizeHint = TQSize(180,32);
++ m_sizeHint = TQSize(180,32);
+ m_bSizeLoaded = false;
+ }
+
+@@ -95,16 +95,16 @@ void KviToolBarGraphicalApplet::saveAppletWidth(unsigned int uWidth)
+
+ void KviToolBarGraphicalApplet::setupSizeHint()
+ {
+- m_tqsizeHint = TQSize(loadAppletWidth(),22);
++ m_sizeHint = TQSize(loadAppletWidth(),22);
+ m_bSizeLoaded = true;
+ }
+
+-TQSize KviToolBarGraphicalApplet::tqsizeHint() const
++TQSize KviToolBarGraphicalApplet::sizeHint() const
+ {
+ // forget constness :(
+ KviToolBarGraphicalApplet * that = (KviToolBarGraphicalApplet *)this;
+ if(!m_bSizeLoaded)that->setupSizeHint();
+- return m_tqsizeHint;
++ return m_sizeHint;
+ }
+
+ /*
+@@ -127,7 +127,7 @@ void KviToolBarGraphicalApplet::mouseMoveEvent(TQMouseEvent * e)
+ int w = e->pos().x();
+ if(w < 32)w = 32;
+ if(w > 480)w = 480;
+- m_tqsizeHint = TQSize(w,22);
++ m_sizeHint = TQSize(w,22);
+ resize(w,height());
+ g_pApp->postEvent(parentWidget(),new TQEvent(TQEvent::LayoutHint));
+ }
+@@ -155,7 +155,7 @@ void KviToolBarGraphicalApplet::mouseReleaseEvent(TQMouseEvent * e)
+
+ KviToolBarGraphicalApplet::~KviToolBarGraphicalApplet()
+ {
+- saveAppletWidth(m_tqsizeHint.width());
++ saveAppletWidth(m_sizeHint.width());
+ g_pToolBarGraphicalAppletList->removeRef(this);
+ if(g_pToolBarGraphicalAppletList->isEmpty())
+ {
+@@ -208,10 +208,10 @@ void KviToolBarGraphicalApplet::paintEvent(TQPaintEvent *e)
+ drawContents(&pa);
+
+ //Need to draw the sunken rect around the view now...
+- pa.setPen(tqcolorGroup().dark());
++ pa.setPen(colorGroup().dark());
+ pa.drawLine(0,0,width(),0);
+ pa.drawLine(0,0,0,width());
+- pa.setPen(tqcolorGroup().light());
++ pa.setPen(colorGroup().light());
+ pa.drawLine(1,height() - 1,width() - 1,height() - 1);
+ pa.drawLine(width() - 1,1,width() - 1,height());
+
+@@ -332,7 +332,7 @@ void KviIrcContextDisplay::tipRequest(KviDynamicToolTip * tip,const TQPoint &)
+
+
+ /*
+-TQSize KviIrcContextDisplay::tqsizeHint() const
++TQSize KviIrcContextDisplay::sizeHint() const
+ {
+ return TQSize(160,22);
+ }
+@@ -416,7 +416,7 @@ void KviIrcContextDisplay::drawContents(TQPainter * p)
+
+ p->setClipping(false);
+
+- TQColor base = tqcolorGroup().background();
++ TQColor base = colorGroup().background();
+ TQColor cntx = KVI_OPTION_ICCOLOR(c->ircContextId() % KVI_NUM_ICCOLOR_OPTIONS);
+ base.setRgb((base.red() + cntx.red()) >> 1,(base.green() + cntx.green()) >> 1,
+ (base.blue() + cntx.blue()) >> 1);
+diff --git a/src/kvirc/ui/kvi_irctoolbar.h b/src/kvirc/ui/kvi_irctoolbar.h
+index dd6c93e..1b1d94e 100644
+--- a/src/kvirc/ui/kvi_irctoolbar.h
++++ b/src/kvirc/ui/kvi_irctoolbar.h
+@@ -55,7 +55,7 @@ public:
+ private:
+ bool m_bResizeMode;
+ bool m_bSizeLoaded;
+- TQSize m_tqsizeHint;
++ TQSize m_sizeHint;
+ private:
+ void resizeMemBuffer();
+ protected:
+@@ -63,7 +63,7 @@ protected:
+
+ virtual unsigned int loadAppletWidth();
+ virtual void saveAppletWidth(unsigned int uWidth);
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ virtual void mouseMoveEvent(TQMouseEvent *e);
+ virtual void mousePressEvent(TQMouseEvent *e);
+ virtual void mouseReleaseEvent(TQMouseEvent *e);
+diff --git a/src/kvirc/ui/kvi_ircview.cpp b/src/kvirc/ui/kvi_ircview.cpp
+index a500c46..9d469f7 100644
+--- a/src/kvirc/ui/kvi_ircview.cpp
++++ b/src/kvirc/ui/kvi_ircview.cpp
+@@ -165,7 +165,7 @@
+
+ #define KVI_DEF_BACK 200
+
+-// FIXME: #warning "The scrollbar should NOT have a fixed size : the KDE styles can configure the size (tqsizeHint() ?)"
++// FIXME: #warning "The scrollbar should NOT have a fixed size : the KDE styles can configure the size (sizeHint() ?)"
+
+ //
+ // FIXME: PgUp and PgDn scrolls a fixed number of lines!
+@@ -532,7 +532,7 @@ void KviIrcView::stopLogging()
+ if(m_pLogFile)
+ {
+ TQString szLogEnd;
+- szLogEnd.sprintf(__tr2qs("### Log session terminated at %s ###"),TQDateTime::tqcurrentDateTime().toString().utf8().data());
++ szLogEnd.sprintf(__tr2qs("### Log session terminated at %s ###"),TQDateTime::currentDateTime().toString().utf8().data());
+
+ add2Log(szLogEnd);
+ m_pLogFile->close();
+@@ -706,7 +706,7 @@ bool KviIrcView::startLogging(const TQString& fname,bool bPrependCurBuffer)
+ }
+
+ TQString szLogStart;
+- szLogStart.sprintf(__tr2qs("### Log session started at %s ###"),TQDateTime::tqcurrentDateTime().toString().utf8().data());
++ szLogStart.sprintf(__tr2qs("### Log session started at %s ###"),TQDateTime::currentDateTime().toString().utf8().data());
+ add2Log(szLogStart);
+ if(bPrependCurBuffer)
+ {
+@@ -803,7 +803,7 @@ void KviIrcView::clearLineMark(bool bRepaint)
+
+ void KviIrcView::checkLogDate()
+ {
+- TQDate::tqcurrentDate();
++ TQDate::currentDate();
+ }
+
+ void KviIrcView::clearUnreaded()
+@@ -1264,7 +1264,7 @@ void KviIrcView::appendText(int iMsgType,const kvi_wchar_t *data_ptr,int iFlags)
+ {
+ TQString szBuffer;
+ kvi_appendWCharToTQStringWithLength(&szBuffer,data_ptr,kvi_wstrlen(data_ptr));
+- szBuffer.prepend(TQDateTime::tqcurrentDateTime().toString("[h:mm:ss] "));
++ szBuffer.prepend(TQDateTime::currentDateTime().toString("[h:mm:ss] "));
+ if(m_pLogFile && KVI_OPTION_MSGTYPE(iMsgType).logEnabled())
+ {
+ add2Log(szBuffer,iMsgType);
+@@ -1923,7 +1923,7 @@ const kvi_wchar_t * KviIrcView::getTextLine(int iMsgType,
+ if(bEnableTimeStamp && KVI_OPTION_BOOL(KviOption_boolIrcViewTimestamp))
+ {
+ TQString szTimestamp;
+- szTimestamp=TQDateTime::tqcurrentDateTime (
++ szTimestamp=TQDateTime::currentDateTime (
+ KVI_OPTION_BOOL(KviOption_boolIrcViewTimestampUTC) ? Qt::UTC : Qt::LocalTime ).toString(
+ KVI_OPTION_STRING(KviOption_stringIrcViewTimestampFormat) );
+ szTimestamp.append(' ');
+@@ -3428,10 +3428,10 @@ no_selection_paint:
+ }
+
+ //Need to draw the sunken rect around the view now...
+- pa.setPen(tqcolorGroup().dark());
++ pa.setPen(colorGroup().dark());
+ pa.drawLine(0,0,widgetWidth,0);
+ pa.drawLine(0,0,0,widgetHeight);
+- pa.setPen(tqcolorGroup().light());
++ pa.setPen(colorGroup().light());
+ widgetWidth--;
+ pa.drawLine(1,widgetHeight-1,widgetWidth,widgetHeight-1);
+ pa.drawLine(widgetWidth,1,widgetWidth,widgetHeight);
+@@ -3858,7 +3858,7 @@ void KviIrcView::recalcFontVariables(const TQFontMetrics &fm,const TQFontInfo &f
+
+ void KviIrcView::resizeEvent(TQResizeEvent *)
+ {
+- int iScr = m_pScrollBar->tqsizeHint().width();
++ int iScr = m_pScrollBar->sizeHint().width();
+ int iLeft = width()-iScr;
+ m_pToolsButton->setGeometry(iLeft,0,iScr,iScr);
+ m_pScrollBar->setGeometry(iLeft,iScr,iScr,height() - iScr);
+@@ -3873,7 +3873,7 @@ void KviIrcView::resizeEvent(TQResizeEvent *)
+ }
+ }
+
+-TQSize KviIrcView::tqsizeHint() const
++TQSize KviIrcView::sizeHint() const
+ {
+ TQSize ret(KVI_IRCVIEW_SIZEHINT_WIDTH,KVI_IRCVIEW_SIZEHINT_HEIGHT);
+ return ret;
+@@ -3900,7 +3900,7 @@ void KviIrcView::showToolsPopup()
+ m_pToolsPopup->insertSeparator();
+ m_pToolsPopup->insertItem(__tr2qs("Clear Buffer"),this,TQT_SLOT(clearBuffer()));
+
+- TQSize s = m_pToolsPopup->tqsizeHint();
++ TQSize s = m_pToolsPopup->sizeHint();
+
+ m_pToolsPopup->popup(m_pToolsButton->mapToGlobal(TQPoint(m_pToolsButton->width() - s.width(),m_pToolsButton->height())));
+ }
+@@ -3959,7 +3959,7 @@ void KviIrcView::toggleToolWidget()
+
+ } else {
+ m_pToolWidget = new KviIrcViewToolWidget(this);
+- int w = m_pToolWidget->tqsizeHint().width();
++ int w = m_pToolWidget->sizeHint().width();
+ m_pToolWidget->move(width() - (w + 40),10);
+ m_pToolWidget->show();
+ }
+diff --git a/src/kvirc/ui/kvi_ircview.h b/src/kvirc/ui/kvi_ircview.h
+index 092d5ed..84b485f 100644
+--- a/src/kvirc/ui/kvi_ircview.h
++++ b/src/kvirc/ui/kvi_ircview.h
+@@ -197,7 +197,7 @@ public:
+ void nextLine();
+ void nextPage();
+ void prevPage();
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ const TQString & lastLineOfText();
+ const TQString & lastMessageText();
+ virtual void setFont(const TQFont &f);
+diff --git a/src/kvirc/ui/kvi_mdicaption.cpp b/src/kvirc/ui/kvi_mdicaption.cpp
+index f1d47c9..7f57350 100644
+--- a/src/kvirc/ui/kvi_mdicaption.cpp
++++ b/src/kvirc/ui/kvi_mdicaption.cpp
+@@ -81,11 +81,11 @@ void KviMdiCaptionButton::drawButton(TQPainter *p)
+ #ifdef COMPILE_USE_QT4
+ TQBrush b(parentWidget()->palette().window());
+ #else
+- TQBrush b(parentWidget()->tqcolorGroup().background());
++ TQBrush b(parentWidget()->colorGroup().background());
+ #endif
+
+ if(isDown())
+- qDrawShadePanel(p,0,0,width(),height(),tqcolorGroup(),true,1,&b);
++ qDrawShadePanel(p,0,0,width(),height(),colorGroup(),true,1,&b);
+ else
+ p->fillRect(0,0,width(),height(),b);
+
+@@ -229,7 +229,7 @@ void KviMdiCaption::paintEvent(TQPaintEvent * e)
+ TQPainter p(this);
+ p.fillRect(r,m_bActive ? KVI_OPTION_COLOR(KviOption_colorMdiCaptionActive) : KVI_OPTION_COLOR(KviOption_colorMdiCaptionInactive));
+ TQSimpleRichText rt(m_bActive ? ((KviMdiChild *)parent())->xmlActiveCaption() : ((KviMdiChild *)parent())->xmlInactiveCaption(),font());
+- rt.draw(&p,height() + 2,-1,rect(),tqcolorGroup());
++ rt.draw(&p,height() + 2,-1,rect(),colorGroup());
+ }
+
+ void KviMdiCaption::mouseReleaseEvent(TQMouseEvent *)
+@@ -278,7 +278,7 @@ KviMenuBarToolButton::~KviMenuBarToolButton()
+ {
+ }
+
+-TQSize KviMenuBarToolButton::tqsizeHint() const
++TQSize KviMenuBarToolButton::sizeHint() const
+ {
+ return TQSize(20,20);
+ }
+diff --git a/src/kvirc/ui/kvi_mdicaption.h b/src/kvirc/ui/kvi_mdicaption.h
+index c46572a..d214d9a 100644
+--- a/src/kvirc/ui/kvi_mdicaption.h
++++ b/src/kvirc/ui/kvi_mdicaption.h
+@@ -57,7 +57,7 @@ public:
+ KviMenuBarToolButton(TQWidget * par,const TQPixmap &img, const char * name);
+ ~KviMenuBarToolButton();
+ public:
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ };
+
+
+diff --git a/src/kvirc/ui/kvi_mdichild.cpp b/src/kvirc/ui/kvi_mdichild.cpp
+index 2bf0130..248a2a1 100644
+--- a/src/kvirc/ui/kvi_mdichild.cpp
++++ b/src/kvirc/ui/kvi_mdichild.cpp
+@@ -442,8 +442,8 @@ void KviMdiChild::calculateResizeRect(int resizeCorner,TQPoint mousePos,TQRect &
+ void KviMdiChild::calculateMinimumSize(int &minWidth,int &minHeight)
+ {
+ if(m_pClient){
+- minWidth = m_pClient->tqminimumSize().width() + (KVI_MDICHILD_BORDER << 1);
+- minHeight = m_pClient->tqminimumSize().height()+ (KVI_MDICHILD_BORDER << 1)+
++ minWidth = m_pClient->minimumSize().width() + (KVI_MDICHILD_BORDER << 1);
++ minHeight = m_pClient->minimumSize().height()+ (KVI_MDICHILD_BORDER << 1)+
+ m_pCaption->heightHint() + KVI_MDICHILD_SPACING;
+ }
+ if(minWidth<KVI_MDICHILD_MIN_WIDTH)minWidth=KVI_MDICHILD_MIN_WIDTH;
+@@ -508,10 +508,10 @@ void KviMdiChild::setClient(TQWidget *w)
+ */
+ //linkChildren(w);
+
+- if(m_pClient->tqminimumSize().width() > KVI_MDICHILD_MIN_WIDTH &&
+- m_pClient->tqminimumSize().height() > KVI_MDICHILD_MIN_HEIGHT){
+- setMinimumWidth(m_pClient->tqminimumSize().width() + (KVI_MDICHILD_BORDER << 1));
+- setMinimumHeight(m_pClient->tqminimumSize().height()+ (KVI_MDICHILD_BORDER << 1) +
++ if(m_pClient->minimumSize().width() > KVI_MDICHILD_MIN_WIDTH &&
++ m_pClient->minimumSize().height() > KVI_MDICHILD_MIN_HEIGHT){
++ setMinimumWidth(m_pClient->minimumSize().width() + (KVI_MDICHILD_BORDER << 1));
++ setMinimumHeight(m_pClient->minimumSize().height()+ (KVI_MDICHILD_BORDER << 1) +
+ m_pCaption->heightHint() + KVI_MDICHILD_SPACING);
+ }
+
+@@ -561,16 +561,16 @@ void KviMdiChild::focusInEvent(TQFocusEvent *)
+ #endif
+ }
+
+-TQSize KviMdiChild::tqsizeHint()
++TQSize KviMdiChild::sizeHint()
+ {
+ if(m_pClient)
+ {
+- TQSize s = m_pClient->tqsizeHint();
++ TQSize s = m_pClient->sizeHint();
+ TQSize ret(s.width() + (KVI_MDICHILD_BORDER << 1),
+ s.height() + (KVI_MDICHILD_BORDER << 1) + KVI_MDICHILD_SPACING + m_pCaption->heightHint());
+ return ret;
+ }
+- return TQFrame::tqsizeHint();
++ return TQFrame::sizeHint();
+ }
+
+
+diff --git a/src/kvirc/ui/kvi_mdichild.h b/src/kvirc/ui/kvi_mdichild.h
+index feac48b..6d7b879 100644
+--- a/src/kvirc/ui/kvi_mdichild.h
++++ b/src/kvirc/ui/kvi_mdichild.h
+@@ -77,7 +77,7 @@ public:
+ const TQString & xmlActiveCaption(){ return m_szXmlActiveCaption; };
+ const TQString & xmlInactiveCaption(){ return m_szXmlInactiveCaption; };
+ void setCaption(const TQString & plain,const TQString & xmlActive,const TQString & xmlInactive);
+- virtual TQSize tqsizeHint();
++ virtual TQSize sizeHint();
+ void setIcon(const TQPixmap &pix);
+ const TQPixmap * icon();
+ void enableClose(bool bEnable);
+diff --git a/src/kvirc/ui/kvi_mdimanager.cpp b/src/kvirc/ui/kvi_mdimanager.cpp
+index 9163595..59f5850 100644
+--- a/src/kvirc/ui/kvi_mdimanager.cpp
++++ b/src/kvirc/ui/kvi_mdimanager.cpp
+@@ -225,7 +225,7 @@ void KviMdiManager::setTopChild(KviMdiChild *lpC,bool bSetFocus)
+ {
+ lpC->setFocus();
+ /*
+- if(tqtopLevelWidget()->isActiveWindow())
++ if(topLevelWidget()->isActiveWindow())
+ {
+
+ }
+@@ -284,8 +284,8 @@ TQPoint KviMdiManager::getCascadePoint(int indexOfWindow)
+ if(indexOfWindow==0)return pnt;
+ KviMdiChild *lpC=m_pZ->first();
+ int step=(lpC ? (lpC->captionLabel()->heightHint()+KVI_MDICHILD_BORDER) : 20);
+- int availableHeight=viewport()->height()-(lpC ? lpC->tqminimumSize().height() : KVI_MDICHILD_MIN_HEIGHT);
+- int availableWidth=viewport()->width()-(lpC ? lpC->tqminimumSize().width() : KVI_MDICHILD_MIN_WIDTH);
++ int availableHeight=viewport()->height()-(lpC ? lpC->minimumSize().height() : KVI_MDICHILD_MIN_HEIGHT);
++ int availableWidth=viewport()->width()-(lpC ? lpC->minimumSize().width() : KVI_MDICHILD_MIN_WIDTH);
+ int ax=0;
+ int ay=0;
+ for(int i=0;i<indexOfWindow;i++)
+@@ -814,7 +814,7 @@ void KviMdiManager::cascadeWindows()
+ {
+ TQPoint p = getCascadePoint(idx);
+ moveChild(lpC,p.x(),p.y());
+- lpC->resize(lpC->tqsizeHint());
++ lpC->resize(lpC->sizeHint());
+ idx++;
+ }
+ list.removeFirst();
+@@ -844,8 +844,8 @@ void KviMdiManager::cascadeMaximized()
+ TQPoint pnt(getCascadePoint(idx));
+ moveChild(lpC,pnt.x(),pnt.y());
+ TQSize curSize(viewport()->width() - pnt.x(),viewport()->height() - pnt.y());
+- if((lpC->tqminimumSize().width() > curSize.width()) ||
+- (lpC->tqminimumSize().height() > curSize.height()))lpC->resize(lpC->tqminimumSize());
++ if((lpC->minimumSize().width() > curSize.width()) ||
++ (lpC->minimumSize().height() > curSize.height()))lpC->resize(lpC->minimumSize());
+ else lpC->resize(curSize);
+ idx++;
+ }
+@@ -1007,13 +1007,13 @@ void KviMdiManager::tileAllInternal(int maxWnds,bool bHorizontal)
+
+ int numToHandle=((numVisible > maxWnds) ? maxWnds : numVisible);
+ int xQuantum=viewport()->width()/pColstable[numToHandle-1];
+- if(xQuantum < ((lpTop->tqminimumSize().width() > KVI_MDICHILD_MIN_WIDTH) ? lpTop->tqminimumSize().width() : KVI_MDICHILD_MIN_WIDTH)){
++ if(xQuantum < ((lpTop->minimumSize().width() > KVI_MDICHILD_MIN_WIDTH) ? lpTop->minimumSize().width() : KVI_MDICHILD_MIN_WIDTH)){
+ if(pColrecall[numToHandle-1]==0)debug("Tile : Not enouh space");
+ else tileAllInternal(pColrecall[numToHandle-1],bHorizontal);
+ return;
+ }
+ int yQuantum=viewport()->height()/pRowstable[numToHandle-1];
+- if(yQuantum < ((lpTop->tqminimumSize().height() > KVI_MDICHILD_MIN_HEIGHT) ? lpTop->tqminimumSize().height() : KVI_MDICHILD_MIN_HEIGHT)){
++ if(yQuantum < ((lpTop->minimumSize().height() > KVI_MDICHILD_MIN_HEIGHT) ? lpTop->minimumSize().height() : KVI_MDICHILD_MIN_HEIGHT)){
+ if(pRowrecall[numToHandle-1]==0)debug("Tile : Not enough space");
+ else tileAllInternal(pRowrecall[numToHandle-1],bHorizontal);
+ return;
+diff --git a/src/kvirc/ui/kvi_optionswidget.cpp b/src/kvirc/ui/kvi_optionswidget.cpp
+index 8b959a7..d0dae63 100644
+--- a/src/kvirc/ui/kvi_optionswidget.cpp
++++ b/src/kvirc/ui/kvi_optionswidget.cpp
+@@ -676,7 +676,7 @@ KviTalGroupBox * KviOptionsWidget::addGroupBox(int x1,int y1,int x2,int y2,int n
+
+ void KviOptionsWidget::addAdvancedButton(int x1,int y1,int x2,int y2)
+ {
+- TQWidget * w = tqtopLevelWidget();
++ TQWidget * w = topLevelWidget();
+ if(!w)return;
+ if(!w->inherits("KviGeneralOptionsDialog"))return;
+
+diff --git a/src/kvirc/ui/kvi_query.cpp b/src/kvirc/ui/kvi_query.cpp
+index ce26661..a5455bb 100644
+--- a/src/kvirc/ui/kvi_query.cpp
++++ b/src/kvirc/ui/kvi_query.cpp
+@@ -559,15 +559,15 @@ TQPixmap * KviQuery::myIconPtr()
+ void KviQuery::resizeEvent(TQResizeEvent *e)
+ {
+ int hght = m_pInput->heightHint();
+- int hght2 = m_pButtonBox->tqsizeHint().height();
++ int hght2 = m_pButtonBox->sizeHint().height();
+ m_pButtonBox->setGeometry(0,0,width(),hght2);
+ m_pSplitter->setGeometry(0,hght2,width(),height() - (hght + hght2));
+ m_pInput->setGeometry(0,height() - hght,width(),hght);
+ }
+
+-TQSize KviQuery::tqsizeHint() const
++TQSize KviQuery::sizeHint() const
+ {
+- TQSize ret(m_pSplitter->tqsizeHint().width(),m_pIrcView->tqsizeHint().height() + m_pInput->heightHint());
++ TQSize ret(m_pSplitter->sizeHint().width(),m_pIrcView->sizeHint().height() + m_pInput->heightHint());
+ return ret;
+ }
+
+diff --git a/src/kvirc/ui/kvi_query.h b/src/kvirc/ui/kvi_query.h
+index 3b1a81b..d0a12e5 100644
+--- a/src/kvirc/ui/kvi_query.h
++++ b/src/kvirc/ui/kvi_query.h
+@@ -66,7 +66,7 @@ public:
+ void setDeadQuery();
+ void setAliveQuery();
+ bool isDeadQuery(){ return m_iFlags & KVI_TQUERY_FLAG_DEAD; };
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ virtual const TQString & target(){ return windowName(); };
+ virtual void applyOptions();
+ KviUserListEntry * setTarget(const TQString &nick,const TQString &user,const TQString &host);
+diff --git a/src/kvirc/ui/kvi_selectors.cpp b/src/kvirc/ui/kvi_selectors.cpp
+index c3e5473..f63392e 100644
+--- a/src/kvirc/ui/kvi_selectors.cpp
++++ b/src/kvirc/ui/kvi_selectors.cpp
+@@ -513,7 +513,7 @@ KviColorSelector::KviColorSelector(TQWidget * par,const TQString & txt,TQColor *
+
+ void KviColorSelector::setButtonPalette(TQColor * pOption)
+ {
+- TQPalette pal(*pOption,tqcolorGroup().background());
++ TQPalette pal(*pOption,colorGroup().background());
+ m_memColor = *pOption;
+ m_pButton->setPalette(pal);
+
+diff --git a/src/kvirc/ui/kvi_statusbar.cpp b/src/kvirc/ui/kvi_statusbar.cpp
+index 861facd..1985217 100644
+--- a/src/kvirc/ui/kvi_statusbar.cpp
++++ b/src/kvirc/ui/kvi_statusbar.cpp
+@@ -106,9 +106,9 @@ KviStatusBar::KviStatusBar(KviFrame * pFrame)
+ m_pMessageLabel = new TQLabel("<b>[x]</b> x",this,"msgstatuslabel");
+ m_pMessageLabel->setMargin(1);
+ #ifdef COMPILE_USE_QT4
+- m_pMessageLabel->tqsetAlignment(TQt::AlignVCenter | TQt::AlignLeft);
++ m_pMessageLabel->setAlignment(TQt::AlignVCenter | TQt::AlignLeft);
+ #else
+- m_pMessageLabel->tqsetAlignment(SingleLine | TQt::AlignVCenter | TQt::AlignLeft);
++ m_pMessageLabel->setAlignment(SingleLine | TQt::AlignVCenter | TQt::AlignLeft);
+ #endif
+ m_pMessageLabel->setMinimumWidth(350);
+
+@@ -210,7 +210,7 @@ void KviStatusBar::layoutChildren()
+ int h = height() - (VMARGIN * 2);
+ for(KviStatusBarApplet * a = m_pAppletList->last();a;a = m_pAppletList->prev())
+ {
+- int w = a->tqsizeHint().width();
++ int w = a->sizeHint().width();
+ x -= w;
+ a->setGeometry(x,VMARGIN,w,h);
+ x -= SPACING;
+@@ -237,11 +237,11 @@ bool KviStatusBar::event(TQEvent * e)
+ void KviStatusBar::recalcMinimumHeight()
+ {
+ int s = 18;
+- int h = m_pMessageLabel->tqsizeHint().height();
++ int h = m_pMessageLabel->sizeHint().height();
+ if(h > s)s = h;
+ for(KviStatusBarApplet * a = m_pAppletList->last();a;a = m_pAppletList->prev())
+ {
+- h = a->tqsizeHint().height();
++ h = a->sizeHint().height();
+ if(h > s)s = h;
+ }
+ s += (VMARGIN * 2) + RICHTEXTLABELTRICK;
+@@ -467,9 +467,9 @@ void KviStatusBar::paintEvent(TQPaintEvent * e)
+ {
+ // avoid the ugly rectangle around the widgets painted by TQStatusBar
+ // TQPainter p(this);
+-// style().drawPrimitive(TQStyle::PE_Panel,&p,rect(),tqcolorGroup(),TQStyle::Style_Raised,TQStyleOption(1,1));
++// style().drawPrimitive(TQStyle::PE_Panel,&p,rect(),colorGroup(),TQStyle::Style_Raised,TQStyleOption(1,1));
+ //TQStatusBar::paintEvent(e);
+- //qDrawWinPanel(&p,0,0,width(),height(),tqcolorGroup(),false,0);
++ //qDrawWinPanel(&p,0,0,width(),height(),colorGroup(),false,0);
+ }
+
+ void KviStatusBar::mousePressEvent(TQMouseEvent * e)
+diff --git a/src/kvirc/ui/kvi_styled_controls.cpp b/src/kvirc/ui/kvi_styled_controls.cpp
+index 629fae9..e67cef1 100644
+--- a/src/kvirc/ui/kvi_styled_controls.cpp
++++ b/src/kvirc/ui/kvi_styled_controls.cpp
+@@ -279,7 +279,7 @@ void KviStyledToolButton::paintEvent ( TQPaintEvent * event)
+
+ pDoubleBufferPixmap->fill(
+ bActive ? TQColor(206,215,223) :
+- tqcolorGroup().background()
++ colorGroup().background()
+ );
+
+
+diff --git a/src/kvirc/ui/kvi_taskbar.cpp b/src/kvirc/ui/kvi_taskbar.cpp
+index ad47661..952501f 100644
+--- a/src/kvirc/ui/kvi_taskbar.cpp
++++ b/src/kvirc/ui/kvi_taskbar.cpp
+@@ -290,7 +290,7 @@ void KviTaskBarButton::drawButtonLabel(TQPainter * painter)
+ if(KVI_OPTION_BOOL(KviOption_boolUseTaskBarIrcContextIndicator))
+ {
+ iHeight -= KVI_TASKBARBUTTON_CONTEXTINDICATORHEIGHT;
+- TQColor base = tqcolorGroup().background();
++ TQColor base = colorGroup().background();
+ if(m_pWindow->console())
+ {
+ TQColor cntx = KVI_OPTION_ICCOLOR(m_pWindow->console()->ircContextId() % KVI_NUM_ICCOLOR_OPTIONS);
+@@ -298,7 +298,7 @@ void KviTaskBarButton::drawButtonLabel(TQPainter * painter)
+ (base.blue() + cntx.blue()) >> 1);
+ pPainter->fillRect(2,iHeight,iWidth - 4,KVI_TASKBARBUTTON_CONTEXTINDICATORHEIGHT - 2,base);
+ } else {
+- pPainter->fillRect(2,iHeight,iWidth - 4,KVI_TASKBARBUTTON_CONTEXTINDICATORHEIGHT - 2,tqcolorGroup().brush(TQColorGroup::Background));
++ pPainter->fillRect(2,iHeight,iWidth - 4,KVI_TASKBARBUTTON_CONTEXTINDICATORHEIGHT - 2,colorGroup().brush(TQColorGroup::Background));
+ }
+ }
+
+@@ -394,7 +394,7 @@ void KviTaskBarButton::drawButtonLabel(TQPainter * painter)
+ {
+ pPainter->setClipRect(cRect.right(),cRect.y(),10,cRect.height());
+ TQColor base = pPainter->pen().color();
+- TQColor bg = tqcolorGroup().color(TQColorGroup::Background);
++ TQColor bg = colorGroup().color(TQColorGroup::Background);
+ base.setRgb((base.red() + bg.red()) / 2,(base.green() + bg.green()) / 2,(base.blue() + bg.blue()) / 2);
+ pPainter->setPen(base);
+ cRect.setWidth(cRect.width() + 10);
+@@ -907,7 +907,7 @@ void KviTreeTaskBarItem::paintCell(TQPainter *painter,const TQColorGroup &cg,int
+ #ifdef COMPILE_PSEUDO_TRANSPARENCY
+ if(g_pShadedChildGlobalDesktopBackground)
+ {
+- TQPoint pnt = listView()->viewport()->mapToGlobal(TQPoint(int(painter->tqworldMatrix().dx()),int(painter->tqworldMatrix().dy())));
++ TQPoint pnt = listView()->viewport()->mapToGlobal(TQPoint(int(painter->worldMatrix().dx()),int(painter->worldMatrix().dy())));
+ p.drawTiledPixmap(0,0,width,height(),*g_pShadedChildGlobalDesktopBackground,pnt.x(),pnt.y());
+ } else {
+ #endif
+@@ -918,7 +918,7 @@ void KviTreeTaskBarItem::paintCell(TQPainter *painter,const TQColorGroup &cg,int
+ TQPixmap * pix = KVI_OPTION_PIXMAP(KviOption_pixmapTreeTaskBarBackground).pixmap();
+ if(pix)
+ {
+- TQPoint pnt = listView()->viewportToContents(TQPoint(int(painter->tqworldMatrix().dx()),int(painter->tqworldMatrix().dy())));
++ TQPoint pnt = listView()->viewportToContents(TQPoint(int(painter->worldMatrix().dx()),int(painter->worldMatrix().dy())));
+ //p.drawTiledPixmap(0,0,width,height(),*pix,pnt.x(),pnt.y());
+ // debug("%i %i",pnt.x(),pnt.y());
+ p.translate(-pnt.x(),-pnt.y());
+@@ -1192,7 +1192,7 @@ void KviTreeTaskBarListView::paintEmptyArea(TQPainter * p,const TQRect &rct)
+ #ifdef COMPILE_PSEUDO_TRANSPARENCY
+ if(g_pShadedChildGlobalDesktopBackground)
+ {
+- TQPoint pnt = viewport()->mapToGlobal(TQPoint(rct.x() + int(p->tqworldMatrix().dx()),rct.y() + int(p->tqworldMatrix().dy())));
++ TQPoint pnt = viewport()->mapToGlobal(TQPoint(rct.x() + int(p->worldMatrix().dx()),rct.y() + int(p->worldMatrix().dy())));
+ p->drawTiledPixmap(rct.x(),rct.y(),rct.width(),rct.height(),*g_pShadedChildGlobalDesktopBackground,pnt.x(),pnt.y());
+ } else {
+ #endif
+@@ -1204,7 +1204,7 @@ void KviTreeTaskBarListView::paintEmptyArea(TQPainter * p,const TQRect &rct)
+ TQPixmap * pix = KVI_OPTION_PIXMAP(KviOption_pixmapTreeTaskBarBackground).pixmap();
+ if(pix)
+ {
+- TQPoint pnt = viewportToContents(TQPoint(rct.x() + int(p->tqworldMatrix().dx()),rct.y() + int(p->tqworldMatrix().dy())));
++ TQPoint pnt = viewportToContents(TQPoint(rct.x() + int(p->worldMatrix().dx()),rct.y() + int(p->worldMatrix().dy())));
+ //p->drawTiledPixmap(rct.x(),rct.y(),rct.width(),rct.height(),*pix,pnt.x(),pnt.y());
+ KviPixmapUtils::drawPixmapWithPainter(p,pix,KVI_OPTION_UINT(KviOption_uintTreeTaskBarPixmapAlign),rct,viewport()->width(),viewport()->height(),pnt.x(),pnt.y());
+ }
+@@ -1235,7 +1235,7 @@ KviTreeTaskBar::KviTreeTaskBar()
+ // FIXME: this code is useless ?
+ if(KVI_OPTION_UINT(KviOption_uintTreeTaskBarMinimumWidth) < 48)
+ KVI_OPTION_UINT(KviOption_uintTreeTaskBarMinimumWidth) = 48;
+- int iMin = m_pListView->tqminimumSize().width() + 4;
++ int iMin = m_pListView->minimumSize().width() + 4;
+ if(((unsigned int)iMin) < KVI_OPTION_UINT(KviOption_uintTreeTaskBarMinimumWidth))
+ iMin = KVI_OPTION_UINT(KviOption_uintTreeTaskBarMinimumWidth);
+ setMinimumWidth(iMin);
+@@ -1305,7 +1305,7 @@ void KviTreeTaskBar::tipRequest(KviDynamicToolTip *,const TQPoint &pnt)
+ {
+ TQString szText;
+ ((KviTreeTaskBarItem *)it)->m_pWindow->getTaskBarTipText(szText);
+- m_pToolTip->tip(m_pListView->tqitemRect(it),szText);
++ m_pToolTip->tip(m_pListView->itemRect(it),szText);
+ }
+ }
+ }
+diff --git a/src/kvirc/ui/kvi_themedlabel.cpp b/src/kvirc/ui/kvi_themedlabel.cpp
+index 1f57db0..ef54460 100644
+--- a/src/kvirc/ui/kvi_themedlabel.cpp
++++ b/src/kvirc/ui/kvi_themedlabel.cpp
+@@ -44,9 +44,9 @@ KviThemedLabel::~KviThemedLabel()
+ {
+ }
+
+-/*TQSize KviThemedLabel::tqsizeHint()
++/*TQSize KviThemedLabel::sizeHint()
+ {
+- TQSize size=TQFrame::tqsizeHint();
++ TQSize size=TQFrame::sizeHint();
+ int iHeight=fontMetrics().height()*TQStringList::split('\n',m_szText).count()+4;
+ size.setHeight(iHeight);
+ return size;
+diff --git a/src/kvirc/ui/kvi_themedlabel.h b/src/kvirc/ui/kvi_themedlabel.h
+index a307149..f704310 100644
+--- a/src/kvirc/ui/kvi_themedlabel.h
++++ b/src/kvirc/ui/kvi_themedlabel.h
+@@ -55,7 +55,7 @@ public:
+ void setAutoHeight(bool value) { m_bAutoHeight=value; };
+ void applyOptions();
+
+-// TQSize tqsizeHint();
++// TQSize sizeHint();
+ signals:
+ void doubleClicked();
+ };
+diff --git a/src/kvirc/ui/kvi_toolwindows_container.cpp b/src/kvirc/ui/kvi_toolwindows_container.cpp
+index 65c6dec..b45f7be 100644
+--- a/src/kvirc/ui/kvi_toolwindows_container.cpp
++++ b/src/kvirc/ui/kvi_toolwindows_container.cpp
+@@ -94,7 +94,7 @@ KviWindowToolPageButton::KviWindowToolPageButton ( int pixon,int pixoff, const T
+ setToggleButton(true);
+ setOn(bOn);
+
+-// tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Ignored));
++// setSizePolicy(TQSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Ignored));
+ }
+
+ KviWindowToolPageButton::~KviWindowToolPageButton()
+@@ -106,9 +106,9 @@ KviWindowToolPageButton::~KviWindowToolPageButton()
+ {
+ TQPixmap pixmap( height(), width() );
+ if(isOn())
+- pixmap.fill(tqcolorGroup().mid());
++ pixmap.fill(colorGroup().mid());
+ else
+- pixmap.fill(tqcolorGroup().button());
++ pixmap.fill(colorGroup().button());
+ TQPainter painter( &pixmap );
+
+ TQPixmap icon;
+@@ -118,7 +118,7 @@ KviWindowToolPageButton::~KviWindowToolPageButton()
+ icon=iconSet()->pixmap(TQIconSet::Small,TQIconSet::Normal,TQIconSet::Off);
+
+ // Draw the frame
+- //painter.setPen( tqcolorGroup().mid() );
++ //painter.setPen( colorGroup().mid() );
+ //if ( m_id != NUM_TABS - 1 ) painter.drawLine( 0, 0, 0, pixmap.height() - 1 );
+ //painter.drawLine( 0, pixmap.height() - 1, pixmap.width() - 1, pixmap.height() - 1 );
+
+@@ -127,7 +127,7 @@ KviWindowToolPageButton::~KviWindowToolPageButton()
+ TQString str = text();
+ str.remove("&");
+ const int textX = pixmap.width() / 2 - TQFontMetrics( font ).width( str ) / 2;
+- painter.setPen( tqcolorGroup().buttonText() );
++ painter.setPen( colorGroup().buttonText() );
+ const TQRect rect( textX + icon.width() / 2 + 2, 0, pixmap.width(), pixmap.height() );
+ painter.drawText( rect, TQt::AlignLeft | TQt::AlignVCenter, str );
+
+diff --git a/src/kvirc/ui/kvi_topicw.cpp b/src/kvirc/ui/kvi_topicw.cpp
+index fe9011e..63fd4e6 100644
+--- a/src/kvirc/ui/kvi_topicw.cpp
++++ b/src/kvirc/ui/kvi_topicw.cpp
+@@ -74,7 +74,7 @@ int KviListBoxTopicItem::width ( const KviTalListBox * lb ) const
+
+ void KviListBoxTopicItem::paint ( TQPainter * p )
+ {
+- KviTopicWidget::paintColoredText(p,text(),listBox()->tqcolorGroup(),height(listBox()));
++ KviTopicWidget::paintColoredText(p,text(),listBox()->colorGroup(),height(listBox()));
+ }
+
+
+@@ -438,11 +438,11 @@ void KviTopicWidget::drawContents(TQPainter *p)
+ #ifdef COMPILE_PSEUDO_TRANSPARENCY
+ }
+ #endif
+- TQColorGroup tqcolorGroup;
+- //tqcolorGroup()
+- tqcolorGroup.setColor(TQColorGroup::Text,KVI_OPTION_COLOR(KviOption_colorLabelForeground));
+- tqcolorGroup.setColor(TQColorGroup::Background,KVI_OPTION_COLOR(KviOption_colorLabelBackground));
+- paintColoredText(p,m_szTopic,tqcolorGroup);
++ TQColorGroup colorGroup;
++ //colorGroup()
++ colorGroup.setColor(TQColorGroup::Text,KVI_OPTION_COLOR(KviOption_colorLabelForeground));
++ colorGroup.setColor(TQColorGroup::Background,KVI_OPTION_COLOR(KviOption_colorLabelBackground));
++ paintColoredText(p,m_szTopic,colorGroup);
+ }
+
+ void KviTopicWidget::setTopic(const TQString & topic)
+@@ -541,7 +541,7 @@ void KviTopicWidget::updateToolTip()
+ KviTalToolTip::add(this,txt);
+ }
+
+-TQSize KviTopicWidget::tqsizeHint() const
++TQSize KviTopicWidget::sizeHint() const
+ {
+ TQFontMetrics fm(font());
+ int hght = fm.lineSpacing() + (frameWidth() << 1) + 4;
+diff --git a/src/kvirc/ui/kvi_topicw.h b/src/kvirc/ui/kvi_topicw.h
+index 5a59ced..89e4901 100644
+--- a/src/kvirc/ui/kvi_topicw.h
++++ b/src/kvirc/ui/kvi_topicw.h
+@@ -102,7 +102,7 @@ public:
+ const TQString & topic(){ return m_szTopic; };
+ const TQString & topicSetBy(){ return m_szSetBy; };
+ const TQString & topicSetAt(){ return m_szSetAt; };
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ void applyOptions();
+
+ static void paintColoredText(TQPainter *p, TQString text,const TQColorGroup& cg, int h=-1, int w=-1);
+diff --git a/src/kvirc/ui/kvi_userlistview.cpp b/src/kvirc/ui/kvi_userlistview.cpp
+index d504915..cc3d866 100644
+--- a/src/kvirc/ui/kvi_userlistview.cpp
++++ b/src/kvirc/ui/kvi_userlistview.cpp
+@@ -1141,7 +1141,7 @@ void KviUserListView::resizeEvent(TQResizeEvent *)
+ int hght;
+ if(!KVI_OPTION_BOOL(KviOption_boolDisableUserListLabel))//G&N 2005
+ {
+- hght = m_pUsersLabel->tqsizeHint().height();
++ hght = m_pUsersLabel->sizeHint().height();
+ if(hght < 16)hght = 16; // at least
+ m_pUsersLabel->setGeometry(0,0,width(),hght);
+ }
+@@ -1531,9 +1531,9 @@ void KviUserListViewArea::paintEvent(TQPaintEvent *ev)
+ p.setPen(TQPen(KVI_OPTION_COLOR(KviOption_colorUserListViewGrid),0 /*,TQPen::DotLine*/));
+ if((bShowState || bShowIcons) && (KVI_OPTION_UINT(KviOption_uintUserListViewGridType) == KVI_USERLISTVIEW_GRIDTYPE_3DGRID))
+ p.drawLine(iAvatarAndTextX,bottom - 1,iAvatarAndTextX,theY);
+- p.setPen(tqcolorGroup().shadow());
++ p.setPen(colorGroup().shadow());
+ p.drawLine(0,bottom - 1,wdth,bottom - 1);
+- p.setPen(tqcolorGroup().light());
++ p.setPen(colorGroup().light());
+ p.drawLine(0,theY,wdth,theY);
+ theY--;
+ }
+@@ -1725,10 +1725,10 @@ void KviUserListViewArea::paintEvent(TQPaintEvent *ev)
+ //we really do not need any self-draw borders.
+ //if we will need it, we will draw a better one with system style
+
+- //p.setPen(tqcolorGroup().dark());
++ //p.setPen(colorGroup().dark());
+ //p.drawLine(0,0,wdth,0);
+ //p.drawLine(0,0,0,height());
+- //p.setPen(tqcolorGroup().light());
++ //p.setPen(colorGroup().light());
+ //p.drawLine(1,height()-1,wdth,height()-1);
+ //p.drawLine(wdth - 1,1,wdth - 1,height());
+
+@@ -1742,7 +1742,7 @@ void KviUserListViewArea::paintEvent(TQPaintEvent *ev)
+
+ void KviUserListViewArea::resizeEvent(TQResizeEvent *)
+ {
+- int iScr = m_pScrollBar->tqsizeHint().width();
++ int iScr = m_pScrollBar->sizeHint().width();
+ m_pScrollBar->setGeometry(width() - iScr,0,iScr,height());
+ m_pScrollBar->setPageStep(height());
+ m_pScrollBar->setLineStep(m_pListView->m_iFontHeight - 1);
+diff --git a/src/kvirc/ui/kvi_window.cpp b/src/kvirc/ui/kvi_window.cpp
+index 6c959e7..e0c8621 100644
+--- a/src/kvirc/ui/kvi_window.cpp
++++ b/src/kvirc/ui/kvi_window.cpp
+@@ -285,7 +285,7 @@ void KviWindow::demandAttention()
+
+ bool KviWindow::focusNextPrevChild(bool next)
+ {
+- TQWidget * w = tqfocusWidget();
++ TQWidget * w = focusWidget();
+ if(w)
+ {
+ #ifdef COMPILE_USE_QT4
+@@ -299,9 +299,9 @@ bool KviWindow::focusNextPrevChild(bool next)
+ if(w->parent())
+ {
+ #ifdef COMPILE_USE_QT4
+- if(w->parent()->tqmetaObject()->indexOfProperty("KviProperty_ChildFocusOwner") == -1)
++ if(w->parent()->metaObject()->indexOfProperty("KviProperty_ChildFocusOwner") == -1)
+ #else
+- if(w->parent()->tqmetaObject()->findProperty("KviProperty_ChildFocusOwner") == -1)
++ if(w->parent()->metaObject()->findProperty("KviProperty_ChildFocusOwner") == -1)
+ #endif
+ return false; // Do NOT change the focus widget!
+ }
+@@ -586,7 +586,7 @@ void KviWindow::getDefaultLogFileName(TQString &buffer)
+ {
+ // FIXME: #warning "Make it configurable ?"
+ TQString date;
+- TQDate dt(TQDate::tqcurrentDate());
++ TQDate dt(TQDate::currentDate());
+ date=dt.toString("yyyy.MM.dd");
+ TQString base;
+ getBaseLogFileName(base);
+@@ -1224,7 +1224,7 @@ void KviWindow::updateBackgrounds(TQObject * obj)
+ for(TQList<TQObject *>::Iterator it = list.begin();it != list.end();++it)
+ {
+ TQObject * child = *it;
+- if(child->tqmetaObject()->indexOfProperty("TransparencyCapable") != -1){
++ if(child->metaObject()->indexOfProperty("TransparencyCapable") != -1){
+ // if (child->isWidgetType())
+ ((TQWidget *)child)->update();
+ }
+@@ -1239,7 +1239,7 @@ void KviWindow::updateBackgrounds(TQObject * obj)
+ {
+ TQObject * child = list.at(i);
+ // FIXME: check if this code can work with qt < 3.0.0 too
+- if(child->tqmetaObject()->findProperty("TransparencyCapable",true) != -1)
++ if(child->metaObject()->findProperty("TransparencyCapable",true) != -1)
+ ((TQWidget *)child)->update();
+
+ updateBackgrounds(child);
+diff --git a/src/modules/about/aboutdialog.cpp b/src/modules/about/aboutdialog.cpp
+index 47f18ad..52651e2 100644
+--- a/src/modules/about/aboutdialog.cpp
++++ b/src/modules/about/aboutdialog.cpp
+@@ -86,7 +86,7 @@ KviAboutDialog::KviAboutDialog()
+ TQLabel * l = new TQLabel(w);
+ l->setFrameStyle(TQFrame::WinPanel | TQFrame::Sunken);
+ l->setBackgroundColor(TQt::black);
+- l->tqsetAlignment(TQt::AlignCenter);
++ l->setAlignment(TQt::AlignCenter);
+ l->setPixmap(pix);
+
+ g->addWidget(l,0,0);
+@@ -99,7 +99,7 @@ KviAboutDialog::KviAboutDialog()
+ aboutString += KVI_SOURCES_DATE;
+
+ l = new TQLabel(aboutString,w);
+- l->tqsetAlignment(TQt::AlignCenter);
++ l->setAlignment(TQt::AlignCenter);
+ g->addWidget(l,1,0);
+
+ addTab(w,__tr2qs_ctx("About","about"));
+diff --git a/src/modules/actioneditor/actioneditor.cpp b/src/modules/actioneditor/actioneditor.cpp
+index 5957d90..a0ac665 100644
+--- a/src/modules/actioneditor/actioneditor.cpp
++++ b/src/modules/actioneditor/actioneditor.cpp
+@@ -980,7 +980,7 @@ TQPixmap * KviActionEditorWindow::myIconPtr()
+
+ void KviActionEditorWindow::resizeEvent(TQResizeEvent *e)
+ {
+- int hght = m_pBase->tqsizeHint().height();
++ int hght = m_pBase->sizeHint().height();
+ m_pEditor->setGeometry(0,0,width(),height()- hght);
+ m_pBase->setGeometry(0,height() - hght,width(),hght);
+ }
+diff --git a/src/modules/addon/managementdialog.cpp b/src/modules/addon/managementdialog.cpp
+index 24c539f..8b08c54 100644
+--- a/src/modules/addon/managementdialog.cpp
++++ b/src/modules/addon/managementdialog.cpp
+@@ -213,7 +213,7 @@ KviScriptManagementDialog::KviScriptManagementDialog(TQWidget * p)
+ lb->setFixedWidth(pix->width());
+ }
+ lb->setBackgroundColor(TQt::black);
+- lb->tqsetAlignment(TQt::AlignBottom | TQt::AlignRight);
++ lb->setAlignment(TQt::AlignBottom | TQt::AlignRight);
+ */
+ m_pListView = new KviScriptAddonListView(this);
+ g->addMultiCellWidget(m_pListView,0,10,1,1);
+diff --git a/src/modules/aliaseditor/aliaseditor.cpp b/src/modules/aliaseditor/aliaseditor.cpp
+index e7bd5d7..0f1201e 100644
+--- a/src/modules/aliaseditor/aliaseditor.cpp
++++ b/src/modules/aliaseditor/aliaseditor.cpp
+@@ -1383,7 +1383,7 @@ TQPixmap * KviAliasEditorWindow::myIconPtr()
+
+ void KviAliasEditorWindow::resizeEvent(TQResizeEvent *e)
+ {
+- int hght = m_pBase->tqsizeHint().height();
++ int hght = m_pBase->sizeHint().height();
+ m_pEditor->setGeometry(0,0,width(),height()- hght);
+ m_pBase->setGeometry(0,height() - hght,width(),hght);
+ }
+diff --git a/src/modules/clock/libkviclock.cpp b/src/modules/clock/libkviclock.cpp
+index 1b73121..b1682bc 100644
+--- a/src/modules/clock/libkviclock.cpp
++++ b/src/modules/clock/libkviclock.cpp
+@@ -169,7 +169,7 @@ void KviClockDisplay::drawContents(TQPainter *p)
+
+ }
+
+-TQSize KviClockDisplay::tqsizeHint() const
++TQSize KviClockDisplay::sizeHint() const
+ {
+ return TQSize(KVI_IRCTOOLBARAPPLET_MAXIMUM_WIDTH,KVI_IRCTOOLBARAPPLET_MAXIMUM_HEIGHT);
+ }
+diff --git a/src/modules/clock/libkviclock.h b/src/modules/clock/libkviclock.h
+index 7c960df..a841047 100644
+--- a/src/modules/clock/libkviclock.h
++++ b/src/modules/clock/libkviclock.h
+@@ -38,7 +38,7 @@ protected:
+ unsigned char m_uDigit[6];
+ protected:
+ virtual void drawContents(TQPainter * p);
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ virtual void timerEvent(TQTimerEvent *e);
+ };
+
+diff --git a/src/modules/dcc/broker.cpp b/src/modules/dcc/broker.cpp
+index 4110c21..f472817 100644
+--- a/src/modules/dcc/broker.cpp
++++ b/src/modules/dcc/broker.cpp
+@@ -81,7 +81,7 @@ KviDccZeroPortTag * KviDccBroker::addZeroPortTag()
+ static unsigned int g_uNextZeroPortTag = 0;
+ g_uNextZeroPortTag++;
+ KviDccZeroPortTag * t = new KviDccZeroPortTag;
+- t->m_tTimestamp = TQDateTime::tqcurrentDateTime();
++ t->m_tTimestamp = TQDateTime::currentDateTime();
+ t->m_szTag.setNum(g_uNextZeroPortTag);
+ //t->m_szTag.prepend("mIrc-zero-port-");
+ t->m_uResumePosition = 0;
+@@ -94,7 +94,7 @@ KviDccZeroPortTag * KviDccBroker::findZeroPortTag(const TQString &szTag)
+ {
+ KviDccZeroPortTag * t = m_pZeroPortTags->find(szTag);
+ if(!t)return 0;
+- if(t->m_tTimestamp.secsTo(TQDateTime::tqcurrentDateTime()) > 180)
++ if(t->m_tTimestamp.secsTo(TQDateTime::currentDateTime()) > 180)
+ {
+ // too late man...
+ m_pZeroPortTags->remove(szTag);
+diff --git a/src/modules/dcc/canvas.cpp b/src/modules/dcc/canvas.cpp
+index 6b5f687..cea1b91 100644
+--- a/src/modules/dcc/canvas.cpp
++++ b/src/modules/dcc/canvas.cpp
+@@ -258,16 +258,16 @@ bool KviDccCanvas::event(TQEvent *e)
+ void KviDccCanvas::resizeEvent(TQResizeEvent *e)
+ {
+ int hght = m_pInput->heightHint();
+-// int hght2 = m_pTopSplitter->tqsizeHint().height();
++// int hght2 = m_pTopSplitter->sizeHint().height();
+ // m_pTopSplitter->setGeometry(0,0,width(),hght2);
+ m_pSplitter->setGeometry(0,0,width(),height() - hght);
+ m_pInput->setGeometry(0,height() - hght,width(),hght);
+ }
+
+-TQSize KviDccCanvas::tqsizeHint() const
++TQSize KviDccCanvas::sizeHint() const
+ {
+- TQSize ret(m_pIrcView->tqsizeHint().width(),
+- m_pIrcView->tqsizeHint().height() + m_pInput->heightHint());
++ TQSize ret(m_pIrcView->sizeHint().width(),
++ m_pIrcView->sizeHint().height() + m_pInput->heightHint());
+ return ret;
+ }
+
+diff --git a/src/modules/dcc/canvas.h b/src/modules/dcc/canvas.h
+index 38349ca..6c48125 100644
+--- a/src/modules/dcc/canvas.h
++++ b/src/modules/dcc/canvas.h
+@@ -61,7 +61,7 @@ protected:
+ virtual void getBaseLogFileName(KviStr &buffer);
+ virtual TQPixmap * myIconPtr();
+ virtual void resizeEvent(TQResizeEvent *e);
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ virtual bool event(TQEvent *e);
+ virtual void ownMessage(const char *text);
+ virtual void ownAction(const char *text);
+diff --git a/src/modules/dcc/canvaswidget.cpp b/src/modules/dcc/canvaswidget.cpp
+index e007a3c..47bacf5 100644
+--- a/src/modules/dcc/canvaswidget.cpp
++++ b/src/modules/dcc/canvaswidget.cpp
+@@ -1540,9 +1540,9 @@ KviCanvasWidget::~KviCanvasWidget()
+
+ void KviCanvasWidget::resizeEvent(TQResizeEvent *)
+ {
+- int h = m_pMenuBar->tqsizeHint().height();
++ int h = m_pMenuBar->sizeHint().height();
+ m_pMenuBar->setGeometry(0,0,width(),h);
+- int h2 = m_pStatusLabel->tqsizeHint().height();
++ int h2 = m_pStatusLabel->sizeHint().height();
+ m_pStatusLabel->setGeometry(0,height() - h2,width(),h2);
+ m_pSplitter->setGeometry(0,h,width(),height() - (h + h2));
+ }
+diff --git a/src/modules/dcc/chat.cpp b/src/modules/dcc/chat.cpp
+index 7e41034..660191f 100644
+--- a/src/modules/dcc/chat.cpp
++++ b/src/modules/dcc/chat.cpp
+@@ -473,16 +473,16 @@ bool KviDccChat::event(TQEvent *e)
+ void KviDccChat::resizeEvent(TQResizeEvent *e)
+ {
+ int hght = m_pInput->heightHint();
+- int hght2 = m_pTopSplitter->tqsizeHint().height();
++ int hght2 = m_pTopSplitter->sizeHint().height();
+ m_pTopSplitter->setGeometry(0,0,width(),hght2);
+ m_pSplitter->setGeometry(0,hght2,width(),height() - (hght + hght2));
+ m_pInput->setGeometry(0,height() - hght,width(),hght);
+ }
+
+-TQSize KviDccChat::tqsizeHint() const
++TQSize KviDccChat::sizeHint() const
+ {
+- TQSize ret(m_pIrcView->tqsizeHint().width(),
+- m_pIrcView->tqsizeHint().height() + m_pInput->heightHint());
++ TQSize ret(m_pIrcView->sizeHint().width(),
++ m_pIrcView->sizeHint().height() + m_pInput->heightHint());
+ return ret;
+ }
+
+diff --git a/src/modules/dcc/chat.h b/src/modules/dcc/chat.h
+index c278591..bf492b3 100644
+--- a/src/modules/dcc/chat.h
++++ b/src/modules/dcc/chat.h
+@@ -81,7 +81,7 @@ protected:
+ virtual void getBaseLogFileName(KviStr &buffer);
+ virtual TQPixmap * myIconPtr();
+ virtual void resizeEvent(TQResizeEvent *e);
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ virtual const TQString & localNick();
+ virtual bool event(TQEvent *e);
+ virtual void ownMessage(const TQString &text);
+diff --git a/src/modules/dcc/libkvidcc.cpp b/src/modules/dcc/libkvidcc.cpp
+index ce6949f..56f28b3 100644
+--- a/src/modules/dcc/libkvidcc.cpp
++++ b/src/modules/dcc/libkvidcc.cpp
+@@ -2369,16 +2369,16 @@ static bool dcc_kvs_fnc_ircContext(KviKvsModuleFunctionCall * c)
+
+
+ /*
+- @doc: dcc.transfertqStatus
++ @doc: dcc.transferStatus
+ @type:
+ function
+ @title:
+- $dcc.transfertqStatus
++ $dcc.transferStatus
+ @short:
+ Returns the current status of a dcc file transfer
+ @syntax:
+- <string> $dcc.transfertqStatus
+- <string> $dcc.transfertqStatus(<dcc_id:uint>)
++ <string> $dcc.transferStatus
++ <string> $dcc.transferStatus(<dcc_id:uint>)
+ @description:
+ Returns the status in the specified DCC session.[br]
+ The status is one of the strings "connecting", "transferring", "success" and "failure".
+@@ -2393,7 +2393,7 @@ static bool dcc_kvs_fnc_ircContext(KviKvsModuleFunctionCall * c)
+ See the [module:dcc]dcc module[/module] documentation for more informations.[br]
+ */
+
+-static bool dcc_kvs_fnc_transfertqStatus(KviKvsModuleFunctionCall * c)
++static bool dcc_kvs_fnc_transferStatus(KviKvsModuleFunctionCall * c)
+ {
+ kvs_uint_t uDccId;
+ KVSM_PARAMETERS_BEGIN(c)
+@@ -2669,7 +2669,7 @@ static bool dcc_kvs_fnc_sessionList(KviKvsModuleFunctionCall * c)
+ [fnc]$dcc.sessionList[/fnc][br]
+ [fnc]$dcc.protocol[/fnc][br]
+ [fnc]$dcc.connectionType[/fnc][br]
+- [fnc]$dcc.transfertqStatus[/fnc][br]
++ [fnc]$dcc.transferStatus[/fnc][br]
+ [fnc]$dcc.isFileTransfer[/fnc][br]
+ [fnc]$dcc.isFileUpload[/fnc][br]
+ [fnc]$dcc.isFileDownload[/fnc][br]
+@@ -2708,7 +2708,7 @@ static bool dcc_module_init(KviModule * m)
+
+ // FIXME: file upload / download state ?
+
+- KVSM_REGISTER_FUNCTION(m,"transferStatus",dcc_kvs_fnc_transfertqStatus);
++ KVSM_REGISTER_FUNCTION(m,"transferStatus",dcc_kvs_fnc_transferStatus);
+ KVSM_REGISTER_FUNCTION(m,"protocol",dcc_kvs_fnc_protocol);
+ KVSM_REGISTER_FUNCTION(m,"connectionType",dcc_kvs_fnc_connectionType);
+ KVSM_REGISTER_FUNCTION(m,"isFileTransfer",dcc_kvs_fnc_isFileTransfer);
+diff --git a/src/modules/dcc/send.cpp b/src/modules/dcc/send.cpp
+index a7485ca..969a54a 100644
+--- a/src/modules/dcc/send.cpp
++++ b/src/modules/dcc/send.cpp
+@@ -753,7 +753,7 @@ KviDccFileTransfer::KviDccFileTransfer(KviDccDescriptor * dcc)
+ m_tTransferEndTime = 0;
+
+ m_szStatusString = __tr2qs_ctx("Setting up the connection","dcc");
+- m_eGeneraltqStatus = Connecting;
++ m_eGeneralStatus = Connecting;
+
+ bool bOk;
+ m_uTotalFileSize = dcc->bRecvFile ? dcc->szFileSize.toUInt(&bOk) : dcc->szLocalFileSize.toUInt(&bOk);
+@@ -919,7 +919,7 @@ void KviDccFileTransfer::abort()
+ else if(m_pSlaveSendThread)tmp.setNum(m_pSlaveSendThread->sentBytes());
+ else tmp = '0';
+
+- m_eGeneraltqStatus = Failure;
++ m_eGeneralStatus = Failure;
+ m_tTransferEndTime = kvi_unixTime();
+ m_szStatusString = __tr2qs_ctx("Transfer failed: ","dcc");
+ m_szStatusString += __tr2qs_ctx("Aborted","dcc");
+@@ -988,7 +988,7 @@ void KviDccFileTransfer::retryRevDCC()
+
+ void KviDccFileTransfer::fillStatusString(TQString &szBuffer)
+ {
+- switch(m_eGeneraltqStatus)
++ switch(m_eGeneralStatus)
+ {
+ case Connecting:
+ szBuffer = "connecting";
+@@ -1010,7 +1010,7 @@ void KviDccFileTransfer::fillStatusString(TQString &szBuffer)
+
+ bool KviDccFileTransfer::active()
+ {
+- return ((m_eGeneraltqStatus == Connecting) || (m_eGeneraltqStatus == Transferring));
++ return ((m_eGeneralStatus == Connecting) || (m_eGeneralStatus == Transferring));
+ }
+
+ int KviDccFileTransfer::bandwidthLimit()
+@@ -1108,7 +1108,7 @@ void KviDccFileTransfer::displayPaint(TQPainter * p,int column,int width,int hei
+ {
+
+ TQString txt;
+- bool bIsTerminated = ((m_eGeneraltqStatus == Success) || (m_eGeneraltqStatus == Failure));
++ bool bIsTerminated = ((m_eGeneralStatus == Success) || (m_eGeneralStatus == Failure));
+
+ switch(column)
+ {
+@@ -1117,7 +1117,7 @@ void KviDccFileTransfer::displayPaint(TQPainter * p,int column,int width,int hei
+ int xoffset = 0;
+ int yoffset = 0;
+ if(m_pDescriptor->bRecvFile)yoffset = 64;
+- switch(m_eGeneraltqStatus)
++ switch(m_eGeneralStatus)
+ {
+ case Connecting: xoffset = 0; break;
+ case Transferring: xoffset = 48; break;
+@@ -1396,7 +1396,7 @@ KviDccFileTransfer * KviDccFileTransfer::nonFailedTransferWithLocalFileName(cons
+ if(t->localFileName() == szLocalFileName)
+ #endif
+ {
+- if(t->m_eGeneraltqStatus != Failure)
++ if(t->m_eGeneralStatus != Failure)
+ return t;
+ }
+ }
+@@ -1456,7 +1456,7 @@ void KviDccFileTransfer::outputAndLog(int msgtype,const TQString &s)
+
+ void KviDccFileTransfer::addToTransferLog(const TQString &s)
+ {
+- TQDateTime dt = TQDateTime::tqcurrentDateTime();
++ TQDateTime dt = TQDateTime::currentDateTime();
+ TQString ts;
+ ts.sprintf("[%4d.%2d.%2d %2d:%2d:%2d] ",dt.date().year(),dt.date().month(),dt.date().day(),dt.time().hour(),dt.time().minute(),dt.time().second());
+ m_szTransferLog += ts+s;
+@@ -1602,7 +1602,7 @@ bool KviDccFileTransfer::event(TQEvent *e)
+
+ m_szStatusString = __tr2qs_ctx("Transfer failed: ","dcc");
+ m_szStatusString += szErrorString;
+- m_eGeneraltqStatus = Failure;
++ m_eGeneralStatus = Failure;
+ m_tTransferEndTime = kvi_unixTime();
+
+ KVS_TRIGGER_EVENT_3(KviEvent_OnDCCFileTransferFailed,
+@@ -1642,7 +1642,7 @@ bool KviDccFileTransfer::event(TQEvent *e)
+ if(m_pDescriptor->bRecvFile)g_pApp->fileDownloadTerminated(true,m_pDescriptor->szFileName.utf8().data(),m_pDescriptor->szLocalFileName.utf8().data(),m_pDescriptor->szNick.utf8().data());
+ m_szStatusString = __tr2qs_ctx("Transfer completed","dcc");
+ outputAndLog(m_szStatusString);
+- m_eGeneraltqStatus = Success;
++ m_eGeneralStatus = Success;
+ m_tTransferEndTime = kvi_unixTime();
+
+ KVS_TRIGGER_EVENT_2(KviEvent_OnDCCFileTransferSuccess,
+@@ -1677,7 +1677,7 @@ bool KviDccFileTransfer::event(TQEvent *e)
+ void KviDccFileTransfer::handleMarshalError(int err)
+ {
+ TQString szErr = KviError::getDescription(err);
+- m_eGeneraltqStatus = Failure;
++ m_eGeneralStatus = Failure;
+ m_szStatusString = __tr2qs_ctx("Transfer failed: ","dcc");
+ m_szStatusString += szErr;
+ outputAndLog(m_szStatusString);
+@@ -1731,7 +1731,7 @@ void KviDccFileTransfer::connected()
+ m_pSlaveSendThread->start();
+ }
+
+- m_eGeneraltqStatus = Transferring;
++ m_eGeneralStatus = Transferring;
+ m_szStatusString = __tr2qs_ctx("Transferring data","dcc");
+
+ KVS_TRIGGER_EVENT_1(KviEvent_OnDCCFileTransferBegin,eventWindow(),m_pDescriptor->idString());
+diff --git a/src/modules/dcc/send.h b/src/modules/dcc/send.h
+index a5e80be..8b03306 100644
+--- a/src/modules/dcc/send.h
++++ b/src/modules/dcc/send.h
+@@ -173,7 +173,7 @@ class KviTalPopupMenu;
+
+ class KviDccFileTransfer : public KviFileTransfer, public KviDccMarshalOutputContext
+ {
+- enum GeneraltqStatus { Connecting , Transferring , Success , Failure };
++ enum GeneralStatus { Connecting , Transferring , Success , Failure };
+ Q_OBJECT
+ TQ_OBJECT
+ public:
+@@ -190,7 +190,7 @@ private:
+ TQString m_szTransferIdString;
+
+ TQString m_szStatusString;
+- GeneraltqStatus m_eGeneraltqStatus;
++ GeneralStatus m_eGeneralStatus;
+
+ TQString m_szTransferLog; // html
+
+diff --git a/src/modules/dcc/voice.cpp b/src/modules/dcc/voice.cpp
+index e9d8a2a..deec445 100644
+--- a/src/modules/dcc/voice.cpp
++++ b/src/modules/dcc/voice.cpp
+@@ -886,16 +886,16 @@ void KviDccVoice::updateInfo()
+
+ void KviDccVoice::resizeEvent(TQResizeEvent *e)
+ {
+- int hght2 = m_pHBox->tqsizeHint().height();
++ int hght2 = m_pHBox->sizeHint().height();
+ m_pHBox->setGeometry(0,0,width(),hght2);
+ m_pSplitter->setGeometry(0,hght2,width(),height() - hght2);
+ }
+
+-TQSize KviDccVoice::tqsizeHint() const
++TQSize KviDccVoice::sizeHint() const
+ {
+- int w = m_pIrcView->tqsizeHint().width();
+- int w2 = m_pHBox->tqsizeHint().width();
+- TQSize ret(w > w2 ? w : w2, m_pIrcView->tqsizeHint().height() + m_pHBox->tqsizeHint().height());
++ int w = m_pIrcView->sizeHint().width();
++ int w2 = m_pHBox->sizeHint().width();
++ TQSize ret(w > w2 ? w : w2, m_pIrcView->sizeHint().height() + m_pHBox->sizeHint().height());
+ return ret;
+ }
+
+diff --git a/src/modules/dcc/voice.h b/src/modules/dcc/voice.h
+index c241f4a..4989960 100644
+--- a/src/modules/dcc/voice.h
++++ b/src/modules/dcc/voice.h
+@@ -124,7 +124,7 @@ protected:
+ virtual void fillCaptionBuffers();
+ virtual TQPixmap * myIconPtr();
+ virtual void resizeEvent(TQResizeEvent *e);
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ virtual bool event(TQEvent *e);
+ virtual void getBaseLogFileName(KviStr &buffer);
+ void startTalking();
+diff --git a/src/modules/dialog/libkvidialog.cpp b/src/modules/dialog/libkvidialog.cpp
+index 7e3149f..4080479 100644
+--- a/src/modules/dialog/libkvidialog.cpp
++++ b/src/modules/dialog/libkvidialog.cpp
+@@ -222,7 +222,7 @@ KviKvsCallbackTextInput::KviKvsCallbackTextInput(
+ {
+ TQLabel * il = new TQLabel(this);
+ il->setPixmap(*pix);
+- il->tqsetAlignment(TQt::AlignCenter);
++ il->setAlignment(TQt::AlignCenter);
+ g->addWidget(il,0,0);
+ TQLabel * tl = new TQLabel(szLabel,this);
+ g->addWidget(tl,0,1);
+diff --git a/src/modules/dockwidget/libkvidockwidget_qt3.cpp b/src/modules/dockwidget/libkvidockwidget_qt3.cpp
+index 771db15..6978ce0 100644
+--- a/src/modules/dockwidget/libkvidockwidget_qt3.cpp
++++ b/src/modules/dockwidget/libkvidockwidget_qt3.cpp
+@@ -308,7 +308,7 @@ static const char * idlemsgs[NIDLEMSGS]=
+ void KviDockWidget::enterEvent( TQEvent* )
+ {
+ #ifdef COMPILE_KDE_SUPPORT
+- if(!g_pApp->tqfocusWidget())
++ if(!g_pApp->focusWidget())
+ {
+ XEvent ev;
+ kvi_memset(&ev, 0, sizeof(ev));
+@@ -475,7 +475,7 @@ void KviDockWidget::fillContextPopup()
+
+ void KviDockWidget::toggleParentFrame()
+ {
+- TQWidget *top_widget = m_pFrm->tqtopLevelWidget();
++ TQWidget *top_widget = m_pFrm->topLevelWidget();
+
+ if(m_pFrm->isVisible()) {
+ m_pFrm->hide();
+diff --git a/src/modules/dockwidget/libkvidockwidget_qt4.cpp b/src/modules/dockwidget/libkvidockwidget_qt4.cpp
+index 00fd009..d1f4eff 100644
+--- a/src/modules/dockwidget/libkvidockwidget_qt4.cpp
++++ b/src/modules/dockwidget/libkvidockwidget_qt4.cpp
+@@ -307,7 +307,7 @@ void KviDockWidget::fillContextPopup()
+
+ void KviDockWidget::toggleParentFrame()
+ {
+- TQWidget *top_widget = m_pFrm->tqtopLevelWidget();
++ TQWidget *top_widget = m_pFrm->topLevelWidget();
+
+ if(m_pFrm->isVisible()) {
+ m_pFrm->hide();
+diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp
+index 25508d6..525acfd 100644
+--- a/src/modules/editor/scripteditor.cpp
++++ b/src/modules/editor/scripteditor.cpp
+@@ -1128,7 +1128,7 @@ KviScriptEditorReplaceDialog::KviScriptEditorReplaceDialog( TQWidget* parent, co
+
+ m_pFindlineedit = new TQLineEdit( this, "findlineedit" );
+ #ifndef COMPILE_USE_QT4
+- m_pFindlineedit->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, m_pFindlineedit->sizePolicy().hasHeightForWidth() ) );
++ m_pFindlineedit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, m_pFindlineedit->sizePolicy().hasHeightForWidth() ) );
+ m_pFindlineedit->setFrameShape( TQLineEdit::LineEditPanel );
+ m_pFindlineedit->setFrameShadow( TQLineEdit::Sunken );
+ #endif
+diff --git a/src/modules/eventeditor/eventeditor.cpp b/src/modules/eventeditor/eventeditor.cpp
+index fc7a4d4..3a6b6b2 100644
+--- a/src/modules/eventeditor/eventeditor.cpp
++++ b/src/modules/eventeditor/eventeditor.cpp
+@@ -476,7 +476,7 @@ TQPixmap * KviEventEditorWindow::myIconPtr()
+
+ void KviEventEditorWindow::resizeEvent(TQResizeEvent *e)
+ {
+- int hght = m_pBase->tqsizeHint().height();
++ int hght = m_pBase->sizeHint().height();
+ m_pEditor->setGeometry(0,0,width(),height()- hght);
+ m_pBase->setGeometry(0,height() - hght,width(),hght);
+ }
+diff --git a/src/modules/filetransferwindow/filetransferwindow.cpp b/src/modules/filetransferwindow/filetransferwindow.cpp
+index f606837..3fcf59d 100644
+--- a/src/modules/filetransferwindow/filetransferwindow.cpp
++++ b/src/modules/filetransferwindow/filetransferwindow.cpp
+@@ -233,7 +233,7 @@ void KviFileTransferWindow::tipRequest(KviDynamicToolTip * tip,const TQPoint &pn
+ KviFileTransferItem * it = (KviFileTransferItem *)m_pListView->itemAt(pnt);
+ if(!it)return;
+ TQString txt = it->transfer()->tipText();
+- tip->tip(m_pListView->tqitemRect(it),txt);
++ tip->tip(m_pListView->itemRect(it),txt);
+ }
+
+ void KviFileTransferWindow::fillTransferView()
+@@ -701,9 +701,9 @@ void KviFileTransferWindow::resizeEvent(TQResizeEvent *e)
+ m_pInput->setGeometry(0,height() - h,width(),h);
+ }
+
+-TQSize KviFileTransferWindow::tqsizeHint() const
++TQSize KviFileTransferWindow::sizeHint() const
+ {
+- return m_pSplitter->tqsizeHint();
++ return m_pSplitter->sizeHint();
+ }
+
+ void KviFileTransferWindow::fillCaptionBuffers()
+diff --git a/src/modules/filetransferwindow/filetransferwindow.h b/src/modules/filetransferwindow/filetransferwindow.h
+index 963c12e..b213f6b 100644
+--- a/src/modules/filetransferwindow/filetransferwindow.h
++++ b/src/modules/filetransferwindow/filetransferwindow.h
+@@ -88,7 +88,7 @@ protected:
+ virtual void fontChange(const TQFont &oldFont);
+ bool eventFilter( TQObject *obj, TQEvent *ev );
+ public:
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ int lineSpacing(){ return m_iLineSpacing; };
+ protected slots:
+ void transferRegistered(KviFileTransfer *t);
+diff --git a/src/modules/help/helpwidget.cpp b/src/modules/help/helpwidget.cpp
+index 67ee30b..c0f7f1c 100644
+--- a/src/modules/help/helpwidget.cpp
++++ b/src/modules/help/helpwidget.cpp
+@@ -108,7 +108,7 @@ void KviHelpWidget::showIndex()
+
+ void KviHelpWidget::resizeEvent(TQResizeEvent *e)
+ {
+- int hght = m_pToolBar->tqsizeHint().height();
++ int hght = m_pToolBar->sizeHint().height();
+ if(hght < 40)hght = 40;
+ m_pToolBar->setGeometry(0,0,width(),hght);
+ m_pTextBrowser->setGeometry(0,hght,width(),height() - hght);
+@@ -128,11 +128,11 @@ void KviHelpWidget::suicide()
+ delete this;
+ }
+
+-TQSize KviHelpWidget::tqsizeHint() const
++TQSize KviHelpWidget::sizeHint() const
+ {
+- int wdth = m_pTextBrowser->tqsizeHint().width();
+- if(m_pToolBar->tqsizeHint().width() > wdth)wdth = m_pToolBar->tqsizeHint().width();
+- TQSize s(wdth,m_pTextBrowser->tqsizeHint().height() + m_pToolBar->tqsizeHint().height());
++ int wdth = m_pTextBrowser->sizeHint().width();
++ if(m_pToolBar->sizeHint().width() > wdth)wdth = m_pToolBar->sizeHint().width();
++ TQSize s(wdth,m_pTextBrowser->sizeHint().height() + m_pToolBar->sizeHint().height());
+ return s;
+ }
+
+diff --git a/src/modules/help/helpwidget.h b/src/modules/help/helpwidget.h
+index 9e2c1c4..48019e7 100644
+--- a/src/modules/help/helpwidget.h
++++ b/src/modules/help/helpwidget.h
+@@ -54,7 +54,7 @@ protected slots:
+ void showIndex();
+ void suicide();
+ public:
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ TQTextBrowser * textBrowser() { return m_pTextBrowser; }
+ };
+
+diff --git a/src/modules/help/helpwindow.cpp b/src/modules/help/helpwindow.cpp
+index 8200348..1be7f5e 100644
+--- a/src/modules/help/helpwindow.cpp
++++ b/src/modules/help/helpwindow.cpp
+@@ -303,9 +303,9 @@ void KviHelpWindow::resizeEvent(TQResizeEvent *e)
+ m_pSplitter->setGeometry(0,0,width(),height());
+ }
+
+-TQSize KviHelpWindow::tqsizeHint() const
++TQSize KviHelpWindow::sizeHint() const
+ {
+- return m_pHelpWidget->tqsizeHint();
++ return m_pHelpWidget->sizeHint();
+ }
+ void KviHelpWindow::fillCaptionBuffers()
+ {
+diff --git a/src/modules/help/helpwindow.h b/src/modules/help/helpwindow.h
+index 300116f..1f24353 100644
+--- a/src/modules/help/helpwindow.h
++++ b/src/modules/help/helpwindow.h
+@@ -62,7 +62,7 @@ protected:
+ virtual void saveProperties(KviConfig * cfg);
+ virtual void loadProperties(KviConfig * cfg);
+ public:
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ TQTextBrowser * textBrowser();
+ public slots:
+ void indexSelected ( int );
+diff --git a/src/modules/http/httpfiletransfer.cpp b/src/modules/http/httpfiletransfer.cpp
+index 789b7a1..cfe9087 100644
+--- a/src/modules/http/httpfiletransfer.cpp
++++ b/src/modules/http/httpfiletransfer.cpp
+@@ -67,7 +67,7 @@ KviHttpFileTransfer::KviHttpFileTransfer()
+ connect(m_pHttpRequest,TQT_SIGNAL(receivedResponse(const TQString &)),this,TQT_SLOT(receivedResponse(const TQString &)));
+ connect(m_pHttpRequest,TQT_SIGNAL(connectionEstabilished()),this,TQT_SLOT(connectionEstabilished()));
+
+- m_eGeneraltqStatus = Initializing;
++ m_eGeneralStatus = Initializing;
+ m_szStatusString = __tr2qs_ctx("Initializing","http");
+ }
+
+@@ -110,20 +110,20 @@ void KviHttpFileTransfer::fillContextPopup(KviTalPopupMenu * m,int column)
+
+ bool KviHttpFileTransfer::active()
+ {
+- return ((m_eGeneraltqStatus == Connecting) || (m_eGeneraltqStatus == Downloading));
++ return ((m_eGeneralStatus == Connecting) || (m_eGeneralStatus == Downloading));
+ }
+
+ void KviHttpFileTransfer::displayPaint(TQPainter * p,int column,int width,int height)
+ {
+ TQString txt;
+- bool bIsTerminated = ((m_eGeneraltqStatus == Success) || (m_eGeneraltqStatus == Failure));
++ bool bIsTerminated = ((m_eGeneralStatus == Success) || (m_eGeneralStatus == Failure));
+
+ switch(column)
+ {
+ case COLUMN_TRANSFERTYPE:
+ {
+ int offset = 0;
+- switch(m_eGeneraltqStatus)
++ switch(m_eGeneralStatus)
+ {
+ case Initializing: offset = 0; break;
+ case Connecting: offset = 0; break;
+@@ -406,7 +406,7 @@ void KviHttpFileTransfer::receivedResponse(const TQString &response)
+ m_lHeaders.append(response);
+ m_szStatusString = __tr2qs_ctx("Transferring data (%1)","http").tqarg(response);
+ m_tTransferStartTime = kvi_unixTime();
+- m_eGeneraltqStatus = Downloading;
++ m_eGeneralStatus = Downloading;
+ displayUpdate();
+ }
+
+@@ -439,7 +439,7 @@ void KviHttpFileTransfer::transferTerminated(bool bSuccess)
+ if(bSuccess)
+ {
+ m_szStatusString = __tr2qs_ctx("Transfer completed","http");
+- m_eGeneraltqStatus = Success;
++ m_eGeneralStatus = Success;
+ displayUpdate();
+ if(out && (!m_bNoOutput))out->output(KVI_OUT_GENERICSUCCESS,__tr2qs_ctx("[HTTP %d]: Transfer completed","http"),id());
+ g_pApp->fileDownloadTerminated(true,m_pHttpRequest->url().url().ptr(),m_pHttpRequest->fileName(),TQString(),TQString(),!m_bNotifyCompletion);
+@@ -447,7 +447,7 @@ void KviHttpFileTransfer::transferTerminated(bool bSuccess)
+ m_szStatusString = __tr2qs_ctx("Transfer failed","http");
+ m_szStatusString += ": ";
+ m_szStatusString += m_pHttpRequest->lastError();
+- m_eGeneraltqStatus = Failure;
++ m_eGeneralStatus = Failure;
+ displayUpdate();
+ if(out && (!m_bNoOutput))out->output(KVI_OUT_GENERICERROR,__tr2qs_ctx("[HTTP %d]: Transfer failed: %Q","http"),id(),&(m_pHttpRequest->lastError()));
+ g_pApp->fileDownloadTerminated(false,m_pHttpRequest->url().url().ptr(),m_pHttpRequest->fileName(),TQString(),m_pHttpRequest->lastError(),!m_bNotifyCompletion);
+@@ -482,7 +482,7 @@ void KviHttpFileTransfer::headersReceived(KviPointerHashTable<const char *,KviSt
+
+ bool KviHttpFileTransfer::startDownload()
+ {
+- m_eGeneraltqStatus = Connecting;
++ m_eGeneralStatus = Connecting;
+ return m_pHttpRequest->start();
+ }
+
+diff --git a/src/modules/http/httpfiletransfer.h b/src/modules/http/httpfiletransfer.h
+index 792205b..cfba891 100644
+--- a/src/modules/http/httpfiletransfer.h
++++ b/src/modules/http/httpfiletransfer.h
+@@ -38,7 +38,7 @@ class KviTalPopupMenu;
+
+ class KviHttpFileTransfer : public KviFileTransfer
+ {
+- enum GeneraltqStatus { Initializing, Connecting, Downloading, Success, Failure };
++ enum GeneralStatus { Initializing, Connecting, Downloading, Success, Failure };
+ Q_OBJECT
+ TQ_OBJECT
+ public:
+@@ -46,7 +46,7 @@ public:
+ ~KviHttpFileTransfer();
+ private:
+ KviHttpRequest * m_pHttpRequest;
+- GeneraltqStatus m_eGeneraltqStatus;
++ GeneralStatus m_eGeneralStatus;
+ TQString m_szStatusString;
+
+ TQStringList m_lHeaders;
+diff --git a/src/modules/iograph/libkviiograph.cpp b/src/modules/iograph/libkviiograph.cpp
+index f6398f0..745937f 100644
+--- a/src/modules/iograph/libkviiograph.cpp
++++ b/src/modules/iograph/libkviiograph.cpp
+@@ -199,7 +199,7 @@ void KviIOGraphDisplay::drawContents(TQPainter * p)
+ }
+ }
+
+-TQSize KviIOGraphDisplay::tqsizeHint() const
++TQSize KviIOGraphDisplay::sizeHint() const
+ {
+ return TQSize(KVI_IRCTOOLBARAPPLET_MAXIMUM_WIDTH,KVI_IRCTOOLBARAPPLET_MAXIMUM_HEIGHT);
+ }
+diff --git a/src/modules/iograph/libkviiograph.h b/src/modules/iograph/libkviiograph.h
+index 3c3d8f1..5ff83a9 100644
+--- a/src/modules/iograph/libkviiograph.h
++++ b/src/modules/iograph/libkviiograph.h
+@@ -47,7 +47,7 @@ protected:
+ bool m_bShowRecvGraph;
+ protected:
+ virtual void drawContents(TQPainter *p);
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ virtual void timerEvent(TQTimerEvent *e);
+ };
+
+diff --git a/src/modules/links/linkswindow.cpp b/src/modules/links/linkswindow.cpp
+index e01b316..51ebce1 100644
+--- a/src/modules/links/linkswindow.cpp
++++ b/src/modules/links/linkswindow.cpp
+@@ -136,15 +136,15 @@ TQPixmap * KviLinksWindow::myIconPtr()
+
+ void KviLinksWindow::resizeEvent(TQResizeEvent *e)
+ {
+- int hght2 = m_pTopSplitter->tqsizeHint().height();
++ int hght2 = m_pTopSplitter->sizeHint().height();
+ m_pTopSplitter->setGeometry(0,0,width(),hght2);
+ m_pSplitter->setGeometry(0,hght2,width(),height() - hght2);
+ }
+
+-TQSize KviLinksWindow::tqsizeHint() const
++TQSize KviLinksWindow::sizeHint() const
+ {
+- TQSize ret(m_pSplitter->tqsizeHint().width(),
+- m_pSplitter->tqsizeHint().height() + m_pTopSplitter->tqsizeHint().height());
++ TQSize ret(m_pSplitter->sizeHint().width(),
++ m_pSplitter->sizeHint().height() + m_pTopSplitter->sizeHint().height());
+ return ret;
+ }
+
+diff --git a/src/modules/links/linkswindow.h b/src/modules/links/linkswindow.h
+index d0af9eb..cf676d7 100644
+--- a/src/modules/links/linkswindow.h
++++ b/src/modules/links/linkswindow.h
+@@ -79,7 +79,7 @@ protected slots:
+ void requestLinks();
+ void connectionStateChange();
+ public:
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ private:
+ void reset();
+ void endOfLinks();
+diff --git a/src/modules/list/listwindow.cpp b/src/modules/list/listwindow.cpp
+index c9d56e3..acc6fd1 100644
+--- a/src/modules/list/listwindow.cpp
++++ b/src/modules/list/listwindow.cpp
+@@ -301,14 +301,14 @@ TQPixmap * KviListWindow::myIconPtr()
+
+ void KviListWindow::resizeEvent(TQResizeEvent *e)
+ {
+- int hght = m_pTopSplitter->tqsizeHint().height();
++ int hght = m_pTopSplitter->sizeHint().height();
+ m_pTopSplitter->setGeometry(0,0,width(),hght);
+ m_pSplitter->setGeometry(0,hght,width(),height() - hght);
+ }
+
+-TQSize KviListWindow::tqsizeHint() const
++TQSize KviListWindow::sizeHint() const
+ {
+- return m_pSplitter->tqsizeHint();
++ return m_pSplitter->sizeHint();
+ }
+
+ void KviListWindow::fillCaptionBuffers()
+@@ -346,7 +346,7 @@ void KviListWindow::exportList()
+ TQString szFile;
+ if(connection())
+ {
+- TQString szDate = TQDateTime::tqcurrentDateTime().toString("d MMM yyyy hh-mm");
++ TQString szDate = TQDateTime::currentDateTime().toString("d MMM yyyy hh-mm");
+ KviTQString::sprintf(szFile,__tr2qs("Channel list for %Q - %Q"),
+ &(connection()->networkName()),&(szDate));
+ } else {
+diff --git a/src/modules/list/listwindow.h b/src/modules/list/listwindow.h
+index c010351..51f5bce 100644
+--- a/src/modules/list/listwindow.h
++++ b/src/modules/list/listwindow.h
+@@ -113,7 +113,7 @@ protected slots:
+ void exportList();
+ void importList();
+ public:
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ private:
+ void reset();
+ void endOfList();
+diff --git a/src/modules/logview/logviewmdiwindow.cpp b/src/modules/logview/logviewmdiwindow.cpp
+index 97d5035..bab0a96 100644
+--- a/src/modules/logview/logviewmdiwindow.cpp
++++ b/src/modules/logview/logviewmdiwindow.cpp
+@@ -130,7 +130,7 @@ KviLogViewMDIWindow::KviLogViewMDIWindow(KviModuleExtensionDescriptor * d,KviFra
+
+ m_pEnableFromFilter = new KviStyledCheckBox(__tr2qs_ctx("Only older than","logview"),m_pSearchTab);
+ m_pFromDateEdit = new TQDateEdit(m_pSearchTab);
+- m_pFromDateEdit->setDate(TQDate::tqcurrentDate());
++ m_pFromDateEdit->setDate(TQDate::currentDate());
+ tqlayout->addWidget(m_pEnableFromFilter,8,0);
+ tqlayout->addWidget(m_pFromDateEdit,8,1);
+ connect(m_pEnableFromFilter,TQT_SIGNAL(toggled(bool)),m_pFromDateEdit,TQT_SLOT(setEnabled(bool)));
+@@ -138,7 +138,7 @@ KviLogViewMDIWindow::KviLogViewMDIWindow(KviModuleExtensionDescriptor * d,KviFra
+
+ m_pEnableToFilter = new KviStyledCheckBox(__tr2qs_ctx("Only newier than","logview"),m_pSearchTab);
+ m_pToDateEdit = new TQDateEdit(m_pSearchTab);
+- m_pToDateEdit->setDate(TQDate::tqcurrentDate());
++ m_pToDateEdit->setDate(TQDate::currentDate());
+ tqlayout->addWidget(m_pEnableToFilter,9,0);
+ tqlayout->addWidget(m_pToDateEdit,9,1);
+ connect(m_pEnableToFilter,TQT_SIGNAL(toggled(bool)),m_pToDateEdit,TQT_SLOT(setEnabled(bool)));
+@@ -149,7 +149,7 @@ KviLogViewMDIWindow::KviLogViewMDIWindow(KviModuleExtensionDescriptor * d,KviFra
+ tqlayout->addWidget(pb,10,1);
+
+ TQWidget *w = new TQWidget(m_pSearchTab);
+- w->tqsetSizePolicy(TQSizePolicy::Ignored,TQSizePolicy::Ignored);
++ w->setSizePolicy(TQSizePolicy::Ignored,TQSizePolicy::Ignored);
+ tqlayout->addWidget(w,11,1);
+
+ m_pIrcView = new KviIrcView(m_pSplitter,g_pFrame,this);
+@@ -216,9 +216,9 @@ void KviLogViewMDIWindow::die()
+ close();
+ }
+
+-TQSize KviLogViewMDIWindow::tqsizeHint() const
++TQSize KviLogViewMDIWindow::sizeHint() const
+ {
+- TQSize ret(m_pSplitter->tqsizeHint().width(),m_pIrcView->tqsizeHint().height());
++ TQSize ret(m_pSplitter->sizeHint().width(),m_pIrcView->sizeHint().height());
+ return ret;
+ }
+
+diff --git a/src/modules/logview/logviewmdiwindow.h b/src/modules/logview/logviewmdiwindow.h
+index 96546e7..d2a7e67 100644
+--- a/src/modules/logview/logviewmdiwindow.h
++++ b/src/modules/logview/logviewmdiwindow.h
+@@ -114,7 +114,7 @@ protected:
+ virtual void resizeEvent(TQResizeEvent *e);
+ virtual void fillCaptionBuffers();
+ virtual void die();
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ protected slots:
+ void rightButtonClicked ( KviTalListViewItem *, const TQPoint &, int );
+ void itemSelected(KviTalListViewItem * it);
+diff --git a/src/modules/mediaplayer/libkvimediaplayer.cpp b/src/modules/mediaplayer/libkvimediaplayer.cpp
+index 91badb3..5c04bdc 100644
+--- a/src/modules/mediaplayer/libkvimediaplayer.cpp
++++ b/src/modules/mediaplayer/libkvimediaplayer.cpp
+@@ -1401,7 +1401,7 @@ MP_KVS_FUNCTION(localFile)
+ MP_KVS_FAIL_ON_NO_INTERFACE
+ TQString szRet = g_pMPInterface->mrl();
+ if(szRet.isEmpty())return true;
+- if(szRet.tqstartsWith("file://",false))
++ if(szRet.startsWith("file://",false))
+ {
+ szRet.remove(0,7);
+ c->returnValue()->setString(szRet);
+@@ -1453,7 +1453,7 @@ MP_KVS_FUNCTION(status)
+ KVSM_PARAMETERS_END(c)
+
+ MP_KVS_FAIL_ON_NO_INTERFACE
+- KviMediaPlayerInterface::PlayertqStatus eStat = g_pMPInterface->status();
++ KviMediaPlayerInterface::PlayerStatus eStat = g_pMPInterface->status();
+ switch(eStat)
+ {
+ case KviMediaPlayerInterface::Stopped:
+diff --git a/src/modules/mediaplayer/mp_amarokinterface.cpp b/src/modules/mediaplayer/mp_amarokinterface.cpp
+index 699bc74..7bbfa92 100644
+--- a/src/modules/mediaplayer/mp_amarokinterface.cpp
++++ b/src/modules/mediaplayer/mp_amarokinterface.cpp
+@@ -143,7 +143,7 @@ bool KviAmarokInterface::setShuffle(bool &bVal)
+ return voidRetBoolDCOPCall("player","enableRandomMode(bool)",bVal);
+ }
+
+-KviMediaPlayerInterface::PlayertqStatus KviAmarokInterface::status()
++KviMediaPlayerInterface::PlayerStatus KviAmarokInterface::status()
+ {
+ int ret;
+ if(!intRetVoidDCOPCall("player","status()",ret))return KviMediaPlayerInterface::Unknown;
+diff --git a/src/modules/mediaplayer/mp_amarokinterface.h b/src/modules/mediaplayer/mp_amarokinterface.h
+index f0169bb..6dcfec6 100644
+--- a/src/modules/mediaplayer/mp_amarokinterface.h
++++ b/src/modules/mediaplayer/mp_amarokinterface.h
+@@ -62,7 +62,7 @@
+ //virtual int bitRate(); unsupported
+ virtual int sampleRate();
+ virtual bool playMrl(const TQString &mrl);
+- virtual KviMediaPlayerInterface::PlayertqStatus status();
++ virtual KviMediaPlayerInterface::PlayerStatus status();
+ virtual bool getRepeat();
+ virtual bool getShuffle();
+ virtual bool setRepeat(bool &bVal);
+diff --git a/src/modules/mediaplayer/mp_amipinterface.cpp b/src/modules/mediaplayer/mp_amipinterface.cpp
+index 3a363ed..29fc347 100644
+--- a/src/modules/mediaplayer/mp_amipinterface.cpp
++++ b/src/modules/mediaplayer/mp_amipinterface.cpp
+@@ -189,7 +189,7 @@ int KviAmipInterface::channels()
+ return ret;
+ }
+
+-KviMediaPlayerInterface::PlayertqStatus KviAmipInterface::status()
++KviMediaPlayerInterface::PlayerStatus KviAmipInterface::status()
+ {
+ int ret = eval_int("var_stat");
+ switch(ret)
+diff --git a/src/modules/mediaplayer/mp_amipinterface.h b/src/modules/mediaplayer/mp_amipinterface.h
+index 392d854..5d49f69 100644
+--- a/src/modules/mediaplayer/mp_amipinterface.h
++++ b/src/modules/mediaplayer/mp_amipinterface.h
+@@ -48,7 +48,7 @@
+ virtual bool setShuffle(bool &bVal);
+ virtual bool amipExec(const TQString &cmd);
+ virtual TQString amipEval(const TQString &cmd);
+- virtual KviMediaPlayerInterface::PlayertqStatus status();
++ virtual KviMediaPlayerInterface::PlayerStatus status();
+ };
+
+ MP_DECLARE_DESCRIPTOR(KviAmipInterface)
+diff --git a/src/modules/mediaplayer/mp_interface.cpp b/src/modules/mediaplayer/mp_interface.cpp
+index 0c0a97a..283f551 100644
+--- a/src/modules/mediaplayer/mp_interface.cpp
++++ b/src/modules/mediaplayer/mp_interface.cpp
+@@ -82,7 +82,7 @@ TQString KviMediaPlayerInterface::getLocalFile()
+ {
+ TQString ret = mrl();
+ if(ret.isEmpty())return ret;
+- if(ret.tqstartsWith("file://",false))
++ if(ret.startsWith("file://",false))
+ {
+ ret.remove(0,7);
+ return ret;
+@@ -183,7 +183,7 @@ bool KviMediaPlayerInterface::jumpTo(int &iPos)
+ return false;
+ }
+
+-KviMediaPlayerInterface::PlayertqStatus KviMediaPlayerInterface::status()
++KviMediaPlayerInterface::PlayerStatus KviMediaPlayerInterface::status()
+ {
+ notImplemented();
+ return KviMediaPlayerInterface::Unknown;
+@@ -265,12 +265,12 @@ bool KviMediaPlayerInterface::setShuffle(bool &bVal)
+ TQString KviMediaPlayerInterface::mediaType()
+ {
+ TQString ret = mrl();
+- if(ret.tqendsWith(".mp3",false))ret = "MPEG Layer 3";
+- else if(ret.tqendsWith(".ogg",false))ret = "OGG Vorbis";
+- else if(ret.tqendsWith(".avi",false))ret = "Audio Video Interleave";
+- else if(ret.tqendsWith(".mpeg",false))ret = "MPEG Video";
+- else if(ret.tqendsWith(".mpg",false))ret = "MPEG Video";
+- else if(ret.tqstartsWith("http://",false))ret = "HTTP Audio Stream";
++ if(ret.endsWith(".mp3",false))ret = "MPEG Layer 3";
++ else if(ret.endsWith(".ogg",false))ret = "OGG Vorbis";
++ else if(ret.endsWith(".avi",false))ret = "Audio Video Interleave";
++ else if(ret.endsWith(".mpeg",false))ret = "MPEG Video";
++ else if(ret.endsWith(".mpg",false))ret = "MPEG Video";
++ else if(ret.startsWith("http://",false))ret = "HTTP Audio Stream";
+ else ret = TQString();
+ return ret;
+ }
+diff --git a/src/modules/mediaplayer/mp_interface.h b/src/modules/mediaplayer/mp_interface.h
+index 593a249..f1a5479 100644
+--- a/src/modules/mediaplayer/mp_interface.h
++++ b/src/modules/mediaplayer/mp_interface.h
+@@ -108,8 +108,8 @@ public:
+ // return false only on communication failure
+ virtual bool quit();
+ // return the current player status
+- enum PlayertqStatus { Unknown, Stopped, Playing, Paused };
+- virtual KviMediaPlayerInterface::PlayertqStatus status();
++ enum PlayerStatus { Unknown, Stopped, Playing, Paused };
++ virtual KviMediaPlayerInterface::PlayerStatus status();
+ // current position in the media (msecs)
+ // 0 if the player isn't playing anything and -1 if unknown
+ virtual int position();
+diff --git a/src/modules/mediaplayer/mp_jukinterface.cpp b/src/modules/mediaplayer/mp_jukinterface.cpp
+index 5b50a04..0be694c 100644
+--- a/src/modules/mediaplayer/mp_jukinterface.cpp
++++ b/src/modules/mediaplayer/mp_jukinterface.cpp
+@@ -140,7 +140,7 @@ int KviJukInterface::position()
+ return ret * 1000;
+ }
+
+-KviMediaPlayerInterface::PlayertqStatus KviJukInterface::status()
++KviMediaPlayerInterface::PlayerStatus KviJukInterface::status()
+ {
+ int ret;
+ if(!intRetVoidDCOPCall("player","status()",ret))return KviMediaPlayerInterface::Unknown;
+diff --git a/src/modules/mediaplayer/mp_jukinterface.h b/src/modules/mediaplayer/mp_jukinterface.h
+index c2b7fd1..cde06ee 100644
+--- a/src/modules/mediaplayer/mp_jukinterface.h
++++ b/src/modules/mediaplayer/mp_jukinterface.h
+@@ -67,7 +67,7 @@
+ virtual bool setShuffle(bool &bVal);
+
+ virtual bool playMrl(const TQString &mrl);
+- virtual KviMediaPlayerInterface::PlayertqStatus status();
++ virtual KviMediaPlayerInterface::PlayerStatus status();
+ };
+
+ MP_DECLARE_DESCRIPTOR(KviJukInterface)
+diff --git a/src/modules/mediaplayer/mp_winampinterface.cpp b/src/modules/mediaplayer/mp_winampinterface.cpp
+index 6bc3e24..7820dbb 100644
+--- a/src/modules/mediaplayer/mp_winampinterface.cpp
++++ b/src/modules/mediaplayer/mp_winampinterface.cpp
+@@ -280,7 +280,7 @@ int KviWinampInterface::channels()
+ return ret;
+ }
+
+-KviMediaPlayerInterface::PlayertqStatus KviWinampInterface::status()
++KviMediaPlayerInterface::PlayerStatus KviWinampInterface::status()
+ {
+ HWND hWinamp = find_winamp(this);
+ int ret = 1000;
+diff --git a/src/modules/mediaplayer/mp_winampinterface.h b/src/modules/mediaplayer/mp_winampinterface.h
+index 3f2a62c..f1b3cf5 100644
+--- a/src/modules/mediaplayer/mp_winampinterface.h
++++ b/src/modules/mediaplayer/mp_winampinterface.h
+@@ -66,7 +66,7 @@
+ virtual bool getShuffle();
+ virtual bool setRepeat(bool &bVal);
+ virtual bool setShuffle(bool &bVal);
+- virtual KviMediaPlayerInterface::PlayertqStatus status();
++ virtual KviMediaPlayerInterface::PlayerStatus status();
+ };
+
+ MP_DECLARE_DESCRIPTOR(KviWinampInterface)
+diff --git a/src/modules/mediaplayer/mp_xmmsinterface.cpp b/src/modules/mediaplayer/mp_xmmsinterface.cpp
+index 730b4fe..60820f0 100644
+--- a/src/modules/mediaplayer/mp_xmmsinterface.cpp
++++ b/src/modules/mediaplayer/mp_xmmsinterface.cpp
+@@ -256,7 +256,7 @@ bool KviXmmsInterface::setShuffle(bool &bVal)
+ return true;
+ }
+
+-KviMediaPlayerInterface::PlayertqStatus KviXmmsInterface::status()
++KviMediaPlayerInterface::PlayerStatus KviXmmsInterface::status()
+ {
+ bool (*sym1)(int) = (bool (*)(int))lookupSymbol("xmms_remote_is_paused");
+ if(sym1)
+diff --git a/src/modules/mediaplayer/mp_xmmsinterface.h b/src/modules/mediaplayer/mp_xmmsinterface.h
+index e2b2c38..0b3f62b 100644
+--- a/src/modules/mediaplayer/mp_xmmsinterface.h
++++ b/src/modules/mediaplayer/mp_xmmsinterface.h
+@@ -52,7 +52,7 @@
+ virtual bool jumpTo(kvs_int_t &iPos);
+ virtual bool setVol(kvs_int_t &iVol);
+ virtual int getVol();
+- virtual KviMediaPlayerInterface::PlayertqStatus status();
++ virtual KviMediaPlayerInterface::PlayerStatus status();
+ virtual TQString nowPlaying();
+ virtual bool playMrl(const TQString &mrl);
+ virtual TQString mrl();
+diff --git a/src/modules/my/idle.cpp b/src/modules/my/idle.cpp
+index daa5c20..0917aec 100644
+--- a/src/modules/my/idle.cpp
++++ b/src/modules/my/idle.cpp
+@@ -72,12 +72,12 @@ bool Idle::usingPlatform() const
+
+ void Idle::start()
+ {
+- d->startTime = TQDateTime::tqcurrentDateTime();
++ d->startTime = TQDateTime::currentDateTime();
+
+ if(!platform) {
+ // generic idle
+ d->lastMousePos = TQCursor::pos();
+- d->idleSince = TQDateTime::tqcurrentDateTime();
++ d->idleSince = TQDateTime::currentDateTime();
+ }
+
+ // poll every second (use a lower value if you need more accuracy)
+@@ -96,7 +96,7 @@ int Idle::secondsIdle()
+ i = platform->secondsIdle();
+ else {
+ TQPoint curMousePos = TQCursor::pos();
+- TQDateTime curDateTime = TQDateTime::tqcurrentDateTime();
++ TQDateTime curDateTime = TQDateTime::currentDateTime();
+ if(d->lastMousePos != curMousePos) {
+ d->lastMousePos = curMousePos;
+ d->idleSince = curDateTime;
+@@ -105,7 +105,7 @@ int Idle::secondsIdle()
+ }
+
+ // set 'beginIdle' to the beginning of the idle time (by backtracking 'i' seconds from now)
+- TQDateTime beginIdle = TQDateTime::tqcurrentDateTime().addSecs(-i);
++ TQDateTime beginIdle = TQDateTime::currentDateTime().addSecs(-i);
+
+ // set 't' to hold the number of seconds between 'beginIdle' and 'startTime'
+ int t = beginIdle.secsTo(d->startTime);
+@@ -121,7 +121,7 @@ int Idle::secondsIdle()
+ }
+
+ // how long have we been idle?
+- int idleTime = d->startTime.secsTo(TQDateTime::tqcurrentDateTime());
++ int idleTime = d->startTime.secsTo(TQDateTime::currentDateTime());
+ return idleTime;
+ }
+
+diff --git a/src/modules/my/idle_mac.cpp b/src/modules/my/idle_mac.cpp
+index 4e116fa..92de564 100644
+--- a/src/modules/my/idle_mac.cpp
++++ b/src/modules/my/idle_mac.cpp
+@@ -24,8 +24,8 @@
+ #include <Carbon/Carbon.h>
+
+ // Why does Apple have to make this so complicated?
+-static OStqStatus LoadFrameworkBundle(CFStringRef framework, CFBundleRef *bundlePtr) {
+- OStqStatus err;
++static OSStatus LoadFrameworkBundle(CFStringRef framework, CFBundleRef *bundlePtr) {
++ OSStatus err;
+ FSRef frameworksFolderRef;
+ CFURLRef baseURL;
+ CFURLRef bundleURL;
+@@ -117,7 +117,7 @@ IdlePlatform::~IdlePlatform() {
+
+
+ // Typedef for the function we're getting back from CFBundleGetFunctionPointerForName.
+-typedef OStqStatus (*InstallEventLoopIdleTimerPtr)(EventLoopRef inEventLoop,
++typedef OSStatus (*InstallEventLoopIdleTimerPtr)(EventLoopRef inEventLoop,
+ EventTimerInterval inFireDelay,
+ EventTimerInterval inInterval,
+ EventLoopIdleTimerUPP inTimerProc,
+diff --git a/src/modules/notifier/notifierwindow.cpp b/src/modules/notifier/notifierwindow.cpp
+index e0f080a..3a7568b 100644
+--- a/src/modules/notifier/notifierwindow.cpp
++++ b/src/modules/notifier/notifierwindow.cpp
+@@ -727,7 +727,7 @@ void KviNotifierWindow::redrawText()
+
+ if(m_pLineEdit->isVisible())y -= (m_pLineEdit->height() + 4);
+
+- TQColorGroup grp = tqcolorGroup();
++ TQColorGroup grp = colorGroup();
+
+ int idx = iIdx;
+ KviNotifierMessage * m = cur;
+diff --git a/src/modules/objects/class_groupbox.cpp b/src/modules/objects/class_groupbox.cpp
+index 07f73be..d0ecae0 100644
+--- a/src/modules/objects/class_groupbox.cpp
++++ b/src/modules/objects/class_groupbox.cpp
+@@ -29,7 +29,7 @@
+ #include "kvi_locale.h"
+ #include "kvi_iconmanager.h"
+
+-// Tables used in $tqsetAlignment , $tqalignment and in $setOrientation & $orientation
++// Tables used in $setAlignment , $tqalignment and in $setOrientation & $orientation
+
+ const char * const align_tbl[] = {
+ "Left",
+@@ -91,7 +91,7 @@ const int align_cod[] = {
+ Adds an empty cell at the next free position.
+ !fn: <string> $tqalignment()
+ Returns the tqalignment of the group box title.
+- !fn: $tqsetAlignment(<tqalignment:string>)
++ !fn: $setAlignment(<tqalignment:string>)
+ Set the tqalignment of the groupbox; Valid values are Left,Right,HCenter.
+ !fn: $setOrientation<orientation:string>
+ Sets the group box's orientation. Valid values are:Qt::Horizontal,Qt::Vertical.
+@@ -108,7 +108,7 @@ const int align_cod[] = {
+ #then the groupbox [br]
+ %gb=$new(groupbox,%widget)[br]
+ %gb->$setTitle(Login)[br]
+- %gb->$tqsetAlignment("Left")[br]
++ %gb->$setAlignment("Left")[br]
+ [br]
+ #now we create the labels and lineedits.[br]
+ %labeluser=$new(label,%gb)[br]
+@@ -166,7 +166,7 @@ KVSO_BEGIN_REGISTERCLASS(KviKvsObject_groupbox,"groupbox","widget")
+ KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"columns", functionColumns)
+ KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"addSpace", functionAddSpace)
+ KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"tqalignment", functionAlignment)
+- KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"tqsetAlignment", functionSetAlignment)
++ KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"setAlignment", functionSetAlignment)
+ KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"setOrientation", functionSetOrientation)
+ KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"isChecked", functionIsChecked)
+ KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"setChecked", functionSetChecked)
+@@ -317,7 +317,7 @@ bool KviKvsObject_groupbox::functionSetAlignment(KviKvsObjectFunctionCall *c)
+ {
+ if(KviTQString::equalCI(szAlign, align_tbl[i]))
+ {
+- ((KviTalGroupBox *)widget())->tqsetAlignment(align_cod[i]);
++ ((KviTalGroupBox *)widget())->setAlignment(align_cod[i]);
+ return true;
+ }
+ }
+diff --git a/src/modules/objects/class_label.cpp b/src/modules/objects/class_label.cpp
+index ce2c536..580f93b 100644
+--- a/src/modules/objects/class_label.cpp
++++ b/src/modules/objects/class_label.cpp
+@@ -34,7 +34,7 @@
+
+
+
+-// Tables used in $tqsetAlignment & $tqalignment
++// Tables used in $setAlignment & $tqalignment
+ const char * const align_tbl[] = {
+ "Left",
+ "Right",
+@@ -149,9 +149,9 @@ const int frame_cod[] = {
+ this label. The flags are separated by commas. An example output
+ could look like this:[br]
+ [pre]Bottom, Right[/pre][br]
+- See [classfnc]$tqsetAlignment[/classfnc]() for explanation of all
++ See [classfnc]$setAlignment[/classfnc]() for explanation of all
+ tqalignment flags.
+- !fn: $tqsetAlignment(<flag1:string>, <flag2:string>, ...)
++ !fn: $setAlignment(<flag1:string>, <flag2:string>, ...)
+ This function sets tqalignment flags, given as parameters, for
+ this label. Valid flags are:
+ [pre]
+@@ -217,7 +217,7 @@ KVSO_BEGIN_REGISTERCLASS(KviKvsObject_label,"label","widget")
+ KVSO_REGISTER_HANDLER(KviKvsObject_label,"autoResize", functionAutoResize)
+ KVSO_REGISTER_HANDLER(KviKvsObject_label,"setAutoResize", functionSetAutoResize)
+ KVSO_REGISTER_HANDLER(KviKvsObject_label,"tqalignment", functionAlignment)
+- KVSO_REGISTER_HANDLER(KviKvsObject_label,"tqsetAlignment", functionSetAlignment)
++ KVSO_REGISTER_HANDLER(KviKvsObject_label,"setAlignment", functionSetAlignment)
+ KVSO_REGISTER_HANDLER(KviKvsObject_label,"clear", functionClear)
+ KVSO_REGISTER_HANDLER(KviKvsObject_label,"frameStyle", functionFrameStyle)
+ KVSO_REGISTER_HANDLER(KviKvsObject_label,"setFrameStyle", functionSetFrameStyle)
+@@ -321,7 +321,7 @@ bool KviKvsObject_label::functionSetAlignment(KviKvsObjectFunctionCall *c)
+ c->warning(__tr2qs("Unknown tqalignment: '%Q'"),&(*it));
+
+ }
+- ((TQLabel *)widget())->tqsetAlignment(sum);
++ ((TQLabel *)widget())->setAlignment(sum);
+ return true;
+ }
+ bool KviKvsObject_label::functionAlignment(KviKvsObjectFunctionCall *c)
+diff --git a/src/modules/objects/class_layout.cpp b/src/modules/objects/class_layout.cpp
+index b2842a8..4381416 100644
+--- a/src/modules/objects/class_layout.cpp
++++ b/src/modules/objects/class_layout.cpp
+@@ -83,8 +83,8 @@
+ Sets the resize mode of the parent widget in relation to this tqlayout.
+ <mode> can be one of:[br]
+ -Auto: this is the default[br]
+- -Fixed: the parent widget of this tqlayout is resized to the "tqsizeHint" value and it cannot be resized by the user.[br]
+- -Minimum: the minimum size of the parent widget of this tqlayout is set to tqminimumSize() and it cannot be smaller[br]
++ -Fixed: the parent widget of this tqlayout is resized to the "sizeHint" value and it cannot be resized by the user.[br]
++ -Minimum: the minimum size of the parent widget of this tqlayout is set to minimumSize() and it cannot be smaller[br]
+ -FreeResize: the parent widget of this tqlayout is not constrained at all[br]
+ */
+
+diff --git a/src/modules/objects/class_listbox.cpp b/src/modules/objects/class_listbox.cpp
+index 241c385..c85a4c0 100644
+--- a/src/modules/objects/class_listbox.cpp
++++ b/src/modules/objects/class_listbox.cpp
+@@ -100,7 +100,7 @@
+ This function is called by KVIrc when the current item changes.
+ !fn: <index:integer> $onItemEvent()
+ This function is called by KVIrc when the current item pointed by the mouse changes and gives in $0 the item index.
+- !fn: <array:x,y,width,height> $tqitemRect(<item:index>)
++ !fn: <array:x,y,width,height> $itemRect(<item:index>)
+ Returns the rectangle on the screen that item occupies, or an invalid rectangle if item is 0 or is not currently visible.
+
+ @signals:
+@@ -122,7 +122,7 @@ KVSO_BEGIN_REGISTERCLASS(KviKvsObject_listbox,"listbox","widget")
+ KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"currentItem", functioncurrentItem)
+ KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"textAt", functiontextAt);
+ KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"itemAt", functionitemAt);
+- KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"tqitemRect", functiontqitemRect);
++ KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"itemRect", functionitemRect);
+ KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"setCurrentItem", functionsetCurrentItem);
+
+
+@@ -367,7 +367,7 @@ void KviKvsObject_listbox::onItem(KviTalListBoxItem *item)
+ }
+
+
+-bool KviKvsObject_listbox::functiontqitemRect(KviKvsObjectFunctionCall *c)
++bool KviKvsObject_listbox::functionitemRect(KviKvsObjectFunctionCall *c)
+ {
+ kvs_uint_t uIndex;
+ KVSO_PARAMETERS_BEGIN(c)
+@@ -375,7 +375,7 @@ kvs_uint_t uIndex;
+ KVSO_PARAMETERS_END(c)
+ if(widget())
+ {
+- TQRect rect=((KviTalListBox *)widget())->tqitemRect(((KviTalListBox *)widget())->item(uIndex));
++ TQRect rect=((KviTalListBox *)widget())->itemRect(((KviTalListBox *)widget())->item(uIndex));
+ KviKvsArray * a = new KviKvsArray();
+ a->set(0,new KviKvsVariant((kvs_int_t)rect.left()));
+ a->set(1,new KviKvsVariant((kvs_int_t)rect.top()));
+diff --git a/src/modules/objects/class_listbox.h b/src/modules/objects/class_listbox.h
+index b7d00cb..911f784 100644
+--- a/src/modules/objects/class_listbox.h
++++ b/src/modules/objects/class_listbox.h
+@@ -60,7 +60,7 @@ protected:
+ bool functiononItemEvent(KviKvsObjectFunctionCall *c);
+
+ bool functionitemAt(KviKvsObjectFunctionCall *c);
+- bool functiontqitemRect(KviKvsObjectFunctionCall *c);
++ bool functionitemRect(KviKvsObjectFunctionCall *c);
+ protected slots:
+ void selectionChanged();
+ void currentItemChanged(KviTalListBoxItem *);
+diff --git a/src/modules/objects/class_multilineedit.cpp b/src/modules/objects/class_multilineedit.cpp
+index a4beed4..70d5086 100644
+--- a/src/modules/objects/class_multilineedit.cpp
++++ b/src/modules/objects/class_multilineedit.cpp
+@@ -226,7 +226,7 @@ static int mod_cod[] = {
+ Returns 1(TRUE) if undo is available; otherwise returns 0(FALSE).
+ !fn: <boolean> $isRedoAvailable ()
+ Returns 1(TRUE) if redo is available; otherwise returns 0(FALSE).
+- !fn: $tqsetAlignment(<tqalignment:string>)
++ !fn: $setAlignment(<tqalignment:string>)
+ Sets the tqalignment of the current paragraph to <tqalignment>. Valid values are:[br]
+ - AlignAuto - Aligns according to the language.[br]
+ - TQt::AlignLeft - Aligns with the left edge.[br]
+@@ -323,7 +323,7 @@ KVSO_BEGIN_REGISTERCLASS(KviKvsObject_mledit,"multilineedit","widget")
+ KVSO_REGISTER_HANDLER(KviKvsObject_mledit,"setParagraphBackgroundColor", functionsetParagraphBackgroundColor)
+ KVSO_REGISTER_HANDLER(KviKvsObject_mledit,"clearParagraphBackgroundColor", functionsetParagraphBackgroundColor)
+ KVSO_REGISTER_HANDLER(KviKvsObject_mledit,"loadFile" , functionloadFile); // let's fantasy
+- KVSO_REGISTER_HANDLER(KviKvsObject_mledit,"tqsetAlignment" , functiontqsetAlignment)
++ KVSO_REGISTER_HANDLER(KviKvsObject_mledit,"setAlignment" , functionsetAlignment)
+ KVSO_REGISTER_HANDLER(KviKvsObject_mledit,"setAutoFormatting" , functionsetAutoFormatting)
+ KVSO_REGISTER_HANDLER(KviKvsObject_mledit,"setVerticalAlignment" , functionsetVerticalAlignment)
+ KVSO_REGISTER_HANDLER(KviKvsObject_mledit,"setWrapPolicy" , functionsetWrapPolicy)
+@@ -1090,7 +1090,7 @@ bool KviKvsObject_mledit::functionloadFile(KviKvsObjectFunctionCall *c)
+ return true;
+ }
+
+-bool KviKvsObject_mledit::functiontqsetAlignment(KviKvsObjectFunctionCall *c)
++bool KviKvsObject_mledit::functionsetAlignment(KviKvsObjectFunctionCall *c)
+
+ {
+ TQString szAlignment;
+@@ -1099,13 +1099,13 @@ bool KviKvsObject_mledit::functiontqsetAlignment(KviKvsObjectFunctionCall *c)
+ KVSO_PARAMETERS_END(c)
+ if(!widget()) return true;
+ if(KviTQString::equalCI(szAlignment,"Left"))
+- ((KviTalMultiLineEdit *)widget())->tqsetAlignment(TQt::AlignLeft);
++ ((KviTalMultiLineEdit *)widget())->setAlignment(TQt::AlignLeft);
+ else if(KviTQString::equalCI(szAlignment,"Right"))
+- ((KviTalMultiLineEdit *)widget())->tqsetAlignment(TQt::AlignRight);
++ ((KviTalMultiLineEdit *)widget())->setAlignment(TQt::AlignRight);
+ else if(KviTQString::equalCI(szAlignment,"Center"))
+- ((KviTalMultiLineEdit *)widget())->tqsetAlignment(TQt::AlignCenter);
++ ((KviTalMultiLineEdit *)widget())->setAlignment(TQt::AlignCenter);
+ else if(KviTQString::equalCI(szAlignment,"Justify"))
+- ((KviTalMultiLineEdit *)widget())->tqsetAlignment(TQt::AlignJustify);
++ ((KviTalMultiLineEdit *)widget())->setAlignment(TQt::AlignJustify);
+ else c->warning(__tr2qs("Unknown tqalignment '%Q'"),&szAlignment);
+ return true;
+ }
+diff --git a/src/modules/objects/class_multilineedit.h b/src/modules/objects/class_multilineedit.h
+index 5f531ed..a1b1c8e 100644
+--- a/src/modules/objects/class_multilineedit.h
++++ b/src/modules/objects/class_multilineedit.h
+@@ -95,7 +95,7 @@ protected:
+ bool functionsetParagraphBackgroundColor(KviKvsObjectFunctionCall *c);
+ bool functionclearParagraphBackground(KviKvsObjectFunctionCall *c);
+ bool functionloadFile(KviKvsObjectFunctionCall *c);
+- bool functiontqsetAlignment(KviKvsObjectFunctionCall *c);
++ bool functionsetAlignment(KviKvsObjectFunctionCall *c);
+ bool functionsetAutoFormatting(KviKvsObjectFunctionCall *c);
+ bool functionsetVerticalAlignment(KviKvsObjectFunctionCall *c);
+ bool functionsetWrapPolicy(KviKvsObjectFunctionCall *c);
+diff --git a/src/modules/objects/class_popupmenu.cpp b/src/modules/objects/class_popupmenu.cpp
+index 394c39a..8f1afd7 100644
+--- a/src/modules/objects/class_popupmenu.cpp
++++ b/src/modules/objects/class_popupmenu.cpp
+@@ -110,7 +110,7 @@
+ #we create the label widget wich will be used as popup's title[br]
+ $$->%Popuptitle=$new(label)[br]
+ $$->%Popuptitle->$settext(<B><U>"Windows Options"</B></U>)[br]
+- $$->%Popuptitle->$tqsetAlignment(Center)[br]
++ $$->%Popuptitle->$setAlignment(Center)[br]
+ #and we add it.[br]
+ %A=$$->%Popuptitle[br]
+ $$->%Popupmenu->$insertwidget(%A)[br]
+diff --git a/src/modules/objects/class_socket.cpp b/src/modules/objects/class_socket.cpp
+index 5b9103b..5b52ad4 100644
+--- a/src/modules/objects/class_socket.cpp
++++ b/src/modules/objects/class_socket.cpp
+@@ -57,7 +57,7 @@ KviScriptSocketObject::KviScriptSocketObject(KviScriptObjectClass * cla,KviScrip
+ {
+ m_uConnectionId = 0;
+ m_sock = KVI_INVALID_SOCKET;
+- m_itqStatus = KVI_SCRIPT_SOCKET_STATUS_DISCONNECTED;
++ m_iStatus = KVI_SCRIPT_SOCKET_STATUS_DISCONNECTED;
+ m_uRemotePort = 0;
+ m_uSecondaryPort = 0;
+ m_pSn = 0;
+@@ -128,7 +128,7 @@ void KviScriptSocketObject::reset()
+ m_pOutBuffer = new KviDataBuffer();
+ m_uInBufferLen = 0;
+ m_uInDataLen = 0;
+- m_itqStatus = KVI_SCRIPT_SOCKET_STATUS_DISCONNECTED;
++ m_iStatus = KVI_SCRIPT_SOCKET_STATUS_DISCONNECTED;
+ m_uRemotePort = 0;
+ m_szRemoteIp.clear();
+ m_uLocalPort = 0;
+@@ -366,7 +366,7 @@ void KviScriptSocketObject::reset()
+
+ KVSO_BEGIN_REGISTERCLASS(KviKvsObject_socket,"socket","object")
+
+- KVSO_REGISTER_HANDLER(KviKvsObject_socket,"status",functiontqStatus)
++ KVSO_REGISTER_HANDLER(KviKvsObject_socket,"status",functionStatus)
+ KVSO_REGISTER_HANDLER(KviKvsObject_socket,"remotePort",functionRemotePort)
+ KVSO_REGISTER_HANDLER(KviKvsObject_socket,"remoteIp",functionRemoteIp)
+ KVSO_REGISTER_HANDLER(KviKvsObject_socket,"localIp",functionLocalIp)
+@@ -398,7 +398,7 @@ KVSO_BEGIN_CONSTRUCTOR(KviKvsObject_socket,KviKvsObject)
+ m_bUdp = false;
+ m_uConnectionId = 0;
+ m_sock = KVI_INVALID_SOCKET;
+- m_itqStatus = KVI_SCRIPT_SOCKET_STATUS_DISCONNECTED;
++ m_iStatus = KVI_SCRIPT_SOCKET_STATUS_DISCONNECTED;
+ m_uRemotePort = 0;
+ m_uSecondaryPort = 0;
+ m_pSn = 0;
+@@ -430,15 +430,15 @@ KVSO_END_DESTRUCTOR(KviKvsObject_socket)
+ //----------------------
+
+
+-bool KviKvsObject_socket::functiontqStatus(KviKvsObjectFunctionCall *c)
++bool KviKvsObject_socket::functionStatus(KviKvsObjectFunctionCall *c)
+ {
+- c->returnValue()->setInteger(m_itqStatus);
++ c->returnValue()->setInteger(m_iStatus);
+ return true;
+ }
+
+ bool KviKvsObject_socket::functionClose(KviKvsObjectFunctionCall *c)
+ {
+- if((m_pOutBuffer->size() != 0) && (m_itqStatus == KVI_SCRIPT_SOCKET_STATUS_CONNECTED))
++ if((m_pOutBuffer->size() != 0) && (m_iStatus == KVI_SCRIPT_SOCKET_STATUS_CONNECTED))
+ tryFlush();
+
+ reset();
+@@ -591,7 +591,7 @@ bool KviKvsObject_socket::functionConnect(KviKvsObjectFunctionCall *c)
+ c->warning(__tr2qs("Value %d for port is out of range (values allowed are from 0 to 65535"),m_uRemotePort);
+ return true;
+ }
+- if((m_sock != KVI_INVALID_SOCKET) || (m_itqStatus != KVI_SCRIPT_SOCKET_STATUS_DISCONNECTED))
++ if((m_sock != KVI_INVALID_SOCKET) || (m_iStatus != KVI_SCRIPT_SOCKET_STATUS_DISCONNECTED))
+ {
+ c->warning(__tr2qs("Another connection in progress"));
+ c->returnValue()->setBoolean(true);
+@@ -608,11 +608,11 @@ bool KviKvsObject_socket::functionConnect(KviKvsObjectFunctionCall *c)
+ debug ("ok connecting");
+ debug ("connectinhg on ip %s ",m_szRemoteIp.latin1());
+ debug ("non so ip");
+- m_itqStatus = KVI_SCRIPT_SOCKET_STATUS_CONNECTING;
++ m_iStatus = KVI_SCRIPT_SOCKET_STATUS_CONNECTING;
+ delayedConnect();
+ } else {
+ debug ("connectinhg on ip %s port %d",m_szRemoteIp.latin1(),m_uRemotePort);
+- m_itqStatus = KVI_SCRIPT_SOCKET_STATUS_DNS;
++ m_iStatus = KVI_SCRIPT_SOCKET_STATUS_DNS;
+ delayedLookupRemoteIp();
+ }
+ c->returnValue()->setBoolean(true);
+@@ -626,7 +626,7 @@ bool KviKvsObject_socket::functionConnect(KviKvsObjectFunctionCall *c)
+
+ bool KviKvsObject_socket::functionListen(KviKvsObjectFunctionCall *c)
+ {
+- if((m_sock != KVI_INVALID_SOCKET) || (m_itqStatus != KVI_SCRIPT_SOCKET_STATUS_DISCONNECTED))
++ if((m_sock != KVI_INVALID_SOCKET) || (m_iStatus != KVI_SCRIPT_SOCKET_STATUS_DISCONNECTED))
+ {
+ c->warning(__tr2qs("Another connection in progress"));
+ c->returnValue()->setBoolean(false);
+@@ -770,7 +770,7 @@ bool KviKvsObject_socket::functionListen(KviKvsObjectFunctionCall *c)
+ TQObject::connect(m_pSn,TQT_SIGNAL(activated(int)),this,TQT_SLOT(incomingConnection(int)));
+ m_pSn->setEnabled(true);
+
+- m_itqStatus = KVI_SCRIPT_SOCKET_STATUS_LISTENING;
++ m_iStatus = KVI_SCRIPT_SOCKET_STATUS_LISTENING;
+
+ c->returnValue()->setBoolean(true);
+ return true;
+@@ -846,7 +846,7 @@ void KviKvsObject_socket::acceptConnection(kvi_socket_t s,kvi_u32_t uPort,const
+ sareal.getStringAddress(m_szLocalIp);
+ }
+
+- m_itqStatus = KVI_SCRIPT_SOCKET_STATUS_CONNECTED;
++ m_iStatus = KVI_SCRIPT_SOCKET_STATUS_CONNECTED;
+
+ m_pSn = new TQSocketNotifier((int)m_sock,TQSocketNotifier::Read);
+ TQObject::connect(m_pSn,TQT_SIGNAL(activated(int)),this,TQT_SLOT(readNotifierFired(int)));
+@@ -1070,7 +1070,7 @@ void KviKvsObject_socket::writeNotifierFired(int)
+ KviKvsVariantList *params=0;
+ callFunction(this,"connectEvent",params);
+ if(m_uConnectionId == uOldConnectionId)
+- m_itqStatus = KVI_SCRIPT_SOCKET_STATUS_CONNECTED;
++ m_iStatus = KVI_SCRIPT_SOCKET_STATUS_CONNECTED;
+ // else the connection has been already changed!
+ }
+ }
+@@ -1256,7 +1256,7 @@ void KviKvsObject_socket::reset()
+ m_pOutBuffer = new KviDataBuffer();
+ m_uInBufferLen = 0;
+ m_uInDataLen = 0;
+- m_itqStatus = KVI_SCRIPT_SOCKET_STATUS_DISCONNECTED;
++ m_iStatus = KVI_SCRIPT_SOCKET_STATUS_DISCONNECTED;
+ m_uRemotePort = 0;
+ m_szRemoteIp="";
+ m_uLocalPort = 0;
+diff --git a/src/modules/objects/class_socket.h b/src/modules/objects/class_socket.h
+index 84771ca..f80d749 100644
+--- a/src/modules/objects/class_socket.h
++++ b/src/modules/objects/class_socket.h
+@@ -47,7 +47,7 @@ public:
+ virtual ~KviScriptSocketObject();
+ protected:
+ kvi_socket_t m_sock;
+- int m_itqStatus;
++ int m_iStatus;
+ KviStr m_szRemoteIp;
+ unsigned short int m_uRemotePort;
+ KviStr m_szLocalIp;
+@@ -69,7 +69,7 @@ protected:
+ unsigned short int m_uSecondaryPort;
+ KviStr m_szSecondaryIp;
+ protected:
+- bool functiontqStatus(KviCommand *c,KviParameterList * params,KviStr &buffer);
++ bool functionStatus(KviCommand *c,KviParameterList * params,KviStr &buffer);
+ bool functionRemotePort(KviCommand *c,KviParameterList * params,KviStr &buffer);
+ bool functionRemoteIp(KviCommand *c,KviParameterList * params,KviStr &buffer);
+ bool functionLocalPort(KviCommand *c,KviParameterList * params,KviStr &buffer);
+@@ -122,7 +122,7 @@ public:
+ protected:
+ bool m_bUdp;
+ kvi_socket_t m_sock;
+- int m_itqStatus;
++ int m_iStatus;
+ TQString m_szRemoteIp;
+ // unsigned short int m_uRemotePort;
+ TQString m_szLocalIp;
+@@ -144,7 +144,7 @@ protected:
+ kvi_u32_t m_uSecondaryPort;
+ TQString m_szSecondaryIp;
+ protected:
+- bool functiontqStatus(KviKvsObjectFunctionCall *c);
++ bool functionStatus(KviKvsObjectFunctionCall *c);
+ bool functionRemotePort(KviKvsObjectFunctionCall *c);
+ bool functionRemoteIp(KviKvsObjectFunctionCall *c);
+ bool functionLocalPort(KviKvsObjectFunctionCall *c);
+diff --git a/src/modules/objects/class_urllabel.cpp b/src/modules/objects/class_urllabel.cpp
+index 8b98923..639b311 100644
+--- a/src/modules/objects/class_urllabel.cpp
++++ b/src/modules/objects/class_urllabel.cpp
+@@ -287,7 +287,7 @@ bool KviKvsObject_urlabel::functionsetText(KviKvsObjectFunctionCall *c)
+ KVSO_PARAMETERS_END(c)
+ if(!widget()) return true;
+ ((TQLabel *)widget())->setText(szText);
+- ((TQLabel *)widget())->setFixedSize(((TQLabel *)widget())->tqsizeHint());
++ ((TQLabel *)widget())->setFixedSize(((TQLabel *)widget())->sizeHint());
+ return true;
+ }
+ bool KviKvsObject_urlabel::functionaction(KviKvsObjectFunctionCall *c)
+diff --git a/src/modules/objects/class_widget.cpp b/src/modules/objects/class_widget.cpp
+index 4ff98d6..fec3925 100644
+--- a/src/modules/objects/class_widget.cpp
++++ b/src/modules/objects/class_widget.cpp
+@@ -587,7 +587,7 @@ KVSO_BEGIN_REGISTERCLASS(KviKvsObject_widget,"widget","object")
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"setMaximumWidth",function_setMaximumWidth)
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"setMaximumHeight",function_setMaximumHeight)
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"move",function_move)
+- KVSO_REGISTER_HANDLER(KviKvsObject_widget,"tqsizeHint",function_tqsizeHint)
++ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"sizeHint",function_sizeHint)
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"resize",function_resize)
+
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"setFocusPolicy",function_setFocusPolicy)
+@@ -1450,10 +1450,10 @@ bool KviKvsObject_widget::function_move(KviKvsObjectFunctionCall *c)
+ widget()->move(TQPoint(iX,iY));
+ return true;
+ }
+-bool KviKvsObject_widget::function_tqsizeHint(KviKvsObjectFunctionCall *c)
++bool KviKvsObject_widget::function_sizeHint(KviKvsObjectFunctionCall *c)
+ {
+ if(!widget())return true;
+- TQSize sizehint = widget()->tqsizeHint();
++ TQSize sizehint = widget()->sizeHint();
+ KviKvsArray * a = new KviKvsArray();
+ a->set(0,new KviKvsVariant((kvs_int_t)sizehint.width()));
+ a->set(1,new KviKvsVariant((kvs_int_t)sizehint.height()));
+diff --git a/src/modules/objects/class_widget.h b/src/modules/objects/class_widget.h
+index 807d50a..edbe610 100644
+--- a/src/modules/objects/class_widget.h
++++ b/src/modules/objects/class_widget.h
+@@ -96,7 +96,7 @@ protected:
+ bool function_setGeometry(KviKvsObjectFunctionCall *c);
+ bool function_setWFlags(KviKvsObjectFunctionCall *c);
+ bool function_show(KviKvsObjectFunctionCall *c);
+- bool function_tqsizeHint(KviKvsObjectFunctionCall *c);
++ bool function_sizeHint(KviKvsObjectFunctionCall *c);
+ bool function_width(KviKvsObjectFunctionCall *);
+ bool function_x(KviKvsObjectFunctionCall *);
+ bool function_y(KviKvsObjectFunctionCall *);
+diff --git a/src/modules/objects/class_wrapper.cpp b/src/modules/objects/class_wrapper.cpp
+index ca1333f..928ddaf 100644
+--- a/src/modules/objects/class_wrapper.cpp
++++ b/src/modules/objects/class_wrapper.cpp
+@@ -183,7 +183,7 @@ bool KviKvsObject_wrapper::init(KviKvsRunTimeContext * pContext,KviKvsVariantLis
+ TQWidget *KviKvsObject_wrapper::findTopLevelWidgetToWrap(const TQString szClass, const TQString szName)
+ {
+ #ifdef COMPILE_USE_QT4
+- TQWidgetList list = g_pApp->tqtopLevelWidgets();
++ TQWidgetList list = g_pApp->topLevelWidgets();
+ if( !list.count() ) return 0;
+ for(int idx=0;idx<list.count();idx++)
+ {
+@@ -205,7 +205,7 @@ TQWidget *KviKvsObject_wrapper::findTopLevelWidgetToWrap(const TQString szClass,
+ return 0;
+ #else
+
+- TQWidgetList *list = g_pApp->tqtopLevelWidgets();
++ TQWidgetList *list = g_pApp->topLevelWidgets();
+ if( !list ) return 0;
+
+ TQWidgetListIt it(*list);
+diff --git a/src/modules/objects/libkviobjects.cpp b/src/modules/objects/libkviobjects.cpp
+index 977c8c9..3a939ff 100644
+--- a/src/modules/objects/libkviobjects.cpp
++++ b/src/modules/objects/libkviobjects.cpp
+@@ -827,7 +827,7 @@ static bool objects_kvs_fnc_listObjects(KviKvsModuleFunctionCall * cmd)
+ KVSO_PARAMETERS_END(cmd)
+ if (bFlag) cmd->window()->output(80, "Objects dump:");
+ #ifdef COMPILE_USE_QT4
+- TQWidgetList list = g_pApp->tqtopLevelWidgets();
++ TQWidgetList list = g_pApp->topLevelWidgets();
+
+ KviStr spacing = ">";
+ TQString szTemp;
+@@ -865,7 +865,7 @@ static bool objects_kvs_fnc_listObjects(KviKvsModuleFunctionCall * cmd)
+ }
+
+ #else
+- TQWidgetList *l = g_pApp->tqtopLevelWidgets();
++ TQWidgetList *l = g_pApp->topLevelWidgets();
+ l->setAutoDelete(false);
+ TQWidgetListIt it(*l);
+ KviStr spacing = ">";
+diff --git a/src/modules/options/container.cpp b/src/modules/options/container.cpp
+index c0b7bf8..a11dfaa 100644
+--- a/src/modules/options/container.cpp
++++ b/src/modules/options/container.cpp
+@@ -59,7 +59,7 @@ void KviOptionsWidgetContainer::setup(KviOptionsWidget * w)
+
+ TQPushButton * b = new TQPushButton(__tr2qs_ctx("&OK","options"),this);
+ KviTalToolTip::add(b,__tr2qs_ctx("Close this dialog, accepting all changes.","options"));
+- //b->setMinimumWidth(m_pCancel->tqsizeHint().width());
++ //b->setMinimumWidth(m_pCancel->sizeHint().width());
+ g->addWidget(b,1,1);
+ b->setDefault(true);
+ connect(b,TQT_SIGNAL(clicked()),this,TQT_SLOT(okClicked()));
+diff --git a/src/modules/options/dialog.cpp b/src/modules/options/dialog.cpp
+index b00eba6..107c597 100644
+--- a/src/modules/options/dialog.cpp
++++ b/src/modules/options/dialog.cpp
+@@ -69,7 +69,7 @@ KviGeneralOptionsFrontWidget::KviGeneralOptionsFrontWidget(TQWidget *parent,cons
+ #ifdef COMPILE_USE_QT4
+ l->setWordWrap(true);
+ #endif
+- l->tqsetAlignment(TQt::AlignTop);
++ l->setAlignment(TQt::AlignTop);
+ tqlayout()->addWidget(l,0,0);
+ }
+
+diff --git a/src/modules/options/optw_messages.cpp b/src/modules/options/optw_messages.cpp
+index 175f119..568499a 100644
+--- a/src/modules/options/optw_messages.cpp
++++ b/src/modules/options/optw_messages.cpp
+@@ -261,14 +261,14 @@ void KviMessageListViewItem::paintCell(TQPainter * p,const TQColorGroup &,int,in
+ #ifdef COMPILE_PSEUDO_TRANSPARENCY
+ if(g_pShadedChildGlobalDesktopBackground)
+ {
+- TQPoint pnt = listView()->viewport()->mapToGlobal(TQPoint(int(p->tqworldMatrix().dx()),int(p->tqworldMatrix().dy())));
++ TQPoint pnt = listView()->viewport()->mapToGlobal(TQPoint(int(p->worldMatrix().dx()),int(p->worldMatrix().dy())));
+ p->drawTiledPixmap(0,0,w,height(),*g_pShadedChildGlobalDesktopBackground,pnt.x(),pnt.y());
+ } else {
+ #endif
+ TQPixmap * pix = KVI_OPTION_PIXMAP(KviOption_pixmapIrcViewBackground).pixmap();
+ if(pix)
+ {
+- TQPoint pnt = listView()->viewportToContents(TQPoint(int(p->tqworldMatrix().dx()),int(p->tqworldMatrix().dy())));
++ TQPoint pnt = listView()->viewportToContents(TQPoint(int(p->worldMatrix().dx()),int(p->worldMatrix().dy())));
+ p->fillRect(0,0,w,height(),KVI_OPTION_COLOR(KviOption_colorIrcViewBackground));
+ p->drawTiledPixmap(0,0,w,height(),*pix,pnt.x(),pnt.y());
+ } else {
+@@ -335,7 +335,7 @@ void KviMessageColorListBoxItem::paint(TQPainter * p)
+ clr = lb->isEnabled() ? KVI_OPTION_MIRCCOLOR(m_iClrIdx) : TQt::gray;
+ p->fillRect(0,0,width(lb),height(lb),clr);
+ } else {
+- clr = listBox()->tqcolorGroup().background();
++ clr = listBox()->colorGroup().background();
+ KviTalListBoxText::paint(p);
+ }
+ if(isSelected())
+diff --git a/src/modules/options/optw_servers.cpp b/src/modules/options/optw_servers.cpp
+index 319f5be..309344c 100644
+--- a/src/modules/options/optw_servers.cpp
++++ b/src/modules/options/optw_servers.cpp
+@@ -102,7 +102,7 @@ KviNetworkDetailsWidget::KviNetworkDetailsWidget(TQWidget * par,KviIrcNetwork *
+
+ TQLabel * l = new TQLabel(szTmp,this);
+ l->setFrameStyle(TQFrame::Raised | TQFrame::StyledPanel);
+- l->tqsetAlignment(TQt::AlignCenter);
++ l->setAlignment(TQt::AlignCenter);
+ l->setMargin(10);
+ g->addMultiCellWidget(l,0,0,0,3);
+ l->setMinimumWidth(200);
+@@ -451,7 +451,7 @@ KviServerDetailsWidget::KviServerDetailsWidget(TQWidget * par,KviIrcServer * s)
+
+ m_pHeaderLabel = new TQLabel("",this); // the text will be set later
+ m_pHeaderLabel->setFrameStyle(TQFrame::Raised | TQFrame::StyledPanel);
+- m_pHeaderLabel->tqsetAlignment(TQt::AlignCenter);
++ m_pHeaderLabel->setAlignment(TQt::AlignCenter);
+ m_pHeaderLabel->setMargin(10);
+ g->addMultiCellWidget(m_pHeaderLabel,0,0,0,3);
+ m_pHeaderLabel->setMinimumWidth(200);
+diff --git a/src/modules/options/optw_texticons.cpp b/src/modules/options/optw_texticons.cpp
+index 3d6e01b..7f86182 100644
+--- a/src/modules/options/optw_texticons.cpp
++++ b/src/modules/options/optw_texticons.cpp
+@@ -37,7 +37,7 @@ KviTextIconEditor::KviTextIconEditor(TQWidget * par,KviTextIcon * icon,KviTextIc
+ {
+ m_pIconButton=new TQToolButton(this);
+ m_pBrowseButton=new TQToolButton(this);
+- m_pBrowseButton->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Maximum,TQSizePolicy::Maximum));
++ m_pBrowseButton->setSizePolicy(TQSizePolicy(TQSizePolicy::Maximum,TQSizePolicy::Maximum));
+ m_pBrowseButton->setText("...");
+ m_pIcon = icon;
+ m_pPopup = 0;
+diff --git a/src/modules/popupeditor/popupeditor.cpp b/src/modules/popupeditor/popupeditor.cpp
+index db3479e..dd1cf24 100644
+--- a/src/modules/popupeditor/popupeditor.cpp
++++ b/src/modules/popupeditor/popupeditor.cpp
+@@ -1372,7 +1372,7 @@ TQPixmap * KviPopupEditorWindow::myIconPtr()
+
+ void KviPopupEditorWindow::resizeEvent(TQResizeEvent *e)
+ {
+- int hght = m_pBase->tqsizeHint().height();
++ int hght = m_pBase->sizeHint().height();
+ m_pEditor->setGeometry(0,0,width(),height()- hght);
+ m_pBase->setGeometry(0,height() - hght,width(),hght);
+ }
+diff --git a/src/modules/raweditor/raweditor.cpp b/src/modules/raweditor/raweditor.cpp
+index b710cb4..123675b 100644
+--- a/src/modules/raweditor/raweditor.cpp
++++ b/src/modules/raweditor/raweditor.cpp
+@@ -502,7 +502,7 @@ TQPixmap * KviRawEditorWindow::myIconPtr()
+
+ void KviRawEditorWindow::resizeEvent(TQResizeEvent *e)
+ {
+- int hght = m_pBase->tqsizeHint().height();
++ int hght = m_pBase->sizeHint().height();
+ m_pEditor->setGeometry(0,0,width(),height()- hght);
+ m_pBase->setGeometry(0,height() - hght,width(),hght);
+ }
+diff --git a/src/modules/reguser/dialog.cpp b/src/modules/reguser/dialog.cpp
+index 648fdfb..59fc732 100644
+--- a/src/modules/reguser/dialog.cpp
++++ b/src/modules/reguser/dialog.cpp
+@@ -329,7 +329,7 @@ void KviRegisteredUsersDialog::itemPressed(KviTalListViewItem *it,const TQPoint
+ {
+ KviRegisteredUsersDialogItem *i = (KviRegisteredUsersDialogItem *)it;
+
+- TQRect r = m_pListView->tqitemRect(i);
++ TQRect r = m_pListView->itemRect(i);
+ int daw = m_pListView->columnWidth(0);
+
+ TQPoint ppp = m_pListView->mapFromGlobal(pnt);
+diff --git a/src/modules/reguser/edituser.cpp b/src/modules/reguser/edituser.cpp
+index 646261a..9fb7f61 100644
+--- a/src/modules/reguser/edituser.cpp
++++ b/src/modules/reguser/edituser.cpp
+@@ -217,7 +217,7 @@ KviReguserMaskDialog::KviReguserMaskDialog(TQWidget * p,KviIrcMask * m)
+ TQGridLayout * g = new TQGridLayout(this,3,2,4,4);
+
+ TQLabel * l = new TQLabel(__tr2qs("Insert a mask for this user.<br>It can contain the wildcard characters '*' and '?'."),this);
+- //l->tqsetAlignment(TQt::AlignCenter);
++ //l->setAlignment(TQt::AlignCenter);
+ g->addMultiCellWidget(l,0,0,0,1);
+
+ KviTalHBox * b = new KviTalHBox(this);
+@@ -225,29 +225,29 @@ KviReguserMaskDialog::KviReguserMaskDialog(TQWidget * p,KviIrcMask * m)
+
+ m_pNickEdit = new TQLineEdit(b);
+ //m_pNickEdit->setMinimumWidth(120);
+- m_pNickEdit->tqsetAlignment(TQt::AlignRight);
++ m_pNickEdit->setAlignment(TQt::AlignRight);
+ #ifdef COMPILE_INFO_TIPS
+ TQToolTip::add(m_pNickEdit,__tr2qs("<center>This the <b>nickname</b> that will match this user, default value is the registered name.</center>"));
+ #endif
+
+ l = new TQLabel("<center><b>!</b></center>",b);
+- l->tqsetAlignment(TQt::AlignCenter);
++ l->setAlignment(TQt::AlignCenter);
+ //l->setMinimumWidth(40);
+
+ m_pUserEdit = new TQLineEdit(b);
+ //m_pUserEdit->setMinimumWidth(120);
+- m_pUserEdit->tqsetAlignment(TQt::AlignCenter);
++ m_pUserEdit->setAlignment(TQt::AlignCenter);
+ #ifdef COMPILE_INFO_TIPS
+ TQToolTip::add(m_pUserEdit,__tr2qs("<center>This the <b>username</b> that will match this user. <b>*</b> will match any username.</center>"));
+ #endif
+
+ l = new TQLabel("<center><b>@</b></center>",b);
+- l->tqsetAlignment(TQt::AlignCenter);
++ l->setAlignment(TQt::AlignCenter);
+ //l->setMinimumWidth(40);
+
+ m_pHostEdit = new TQLineEdit(b);
+ //m_pHostEdit->setMinimumWidth(120);
+- m_pHostEdit->tqsetAlignment(TQt::AlignLeft);
++ m_pHostEdit->setAlignment(TQt::AlignLeft);
+ #ifdef COMPILE_INFO_TIPS
+ TQToolTip::add(m_pHostEdit,__tr2qs("<center>This the <b>hostname</b> that will match this user. <b>*</b> will match any hostname.</center>"));
+ #endif
+@@ -481,7 +481,7 @@ KviRegisteredUserEntryDialog::KviRegisteredUserEntryDialog(TQWidget *p,KviRegist
+ tqlayout->addWidget(m_pIgnoreDcc);
+
+ TQWidget *w = new TQWidget(vb);
+- w->tqsetSizePolicy(TQSizePolicy::Ignored,TQSizePolicy::Ignored);
++ w->setSizePolicy(TQSizePolicy::Ignored,TQSizePolicy::Ignored);
+
+ addTab(vb,__tr2qs("Ignore"));
+
+diff --git a/src/modules/reguser/wizard.cpp b/src/modules/reguser/wizard.cpp
+index e42b3c3..d93fcf6 100644
+--- a/src/modules/reguser/wizard.cpp
++++ b/src/modules/reguser/wizard.cpp
+@@ -91,7 +91,7 @@ KviRegistrationWizard::KviRegistrationWizard(const char * startMask,KviRegistere
+ m_pPage1Layout->addWidget(m_pLabel1, 0, 0);
+
+ m_pEditRealName = new TQLineEdit(m_pPage1);
+- //m_pEditRealName->tqsetAlignment(int(TQLineEdit::AlignHCenter));
++ //m_pEditRealName->setAlignment(int(TQLineEdit::AlignHCenter));
+
+ m_pPage1Layout->addWidget(m_pEditRealName,1,0);
+ addPage( m_pPage1,__tr2qs("Step 1: Entry Name"));
+@@ -120,13 +120,13 @@ KviRegistrationWizard::KviRegistrationWizard(const char * startMask,KviRegistere
+ //KviIrcMask masktempl(szMask.ptr());
+
+ m_pNicknameEdit1 = new TQLineEdit(m_pPage2);
+- m_pNicknameEdit1->tqsetAlignment(TQt::AlignRight);
++ m_pNicknameEdit1->setAlignment(TQt::AlignRight);
+ if(mask.nick() != "*")m_pNicknameEdit1->setText(mask.nick());
+ connect(m_pNicknameEdit1,TQT_SIGNAL(textChanged(const TQString &)),this,TQT_SLOT(maskChanged(const TQString &)));
+ m_pPage2Layout->addWidget( m_pNicknameEdit1, 1, 0 );
+
+ m_pUsernameEdit1 = new TQLineEdit(m_pPage2);
+- m_pUsernameEdit1->tqsetAlignment(TQt::AlignHCenter);
++ m_pUsernameEdit1->setAlignment(TQt::AlignHCenter);
+ if(mask.hasUser())m_pUsernameEdit1->setText(mask.user());
+ connect(m_pUsernameEdit1,TQT_SIGNAL(textChanged(const TQString &)),this,TQT_SLOT(maskChanged(const TQString &)));
+ m_pPage2Layout->addWidget(m_pUsernameEdit1,1,2);
+@@ -137,11 +137,11 @@ KviRegistrationWizard::KviRegistrationWizard(const char * startMask,KviRegistere
+ m_pPage2Layout->addWidget(m_pHostEdit1,1,4);
+
+ m_pNicknameEdit2 = new TQLineEdit(m_pPage2);
+- m_pNicknameEdit2->tqsetAlignment(TQt::AlignRight);
++ m_pNicknameEdit2->setAlignment(TQt::AlignRight);
+ m_pPage2Layout->addWidget(m_pNicknameEdit2,2,0);
+
+ m_pUsernameEdit2 = new TQLineEdit(m_pPage2);
+- m_pUsernameEdit2->tqsetAlignment(TQt::AlignHCenter);
++ m_pUsernameEdit2->setAlignment(TQt::AlignHCenter);
+ m_pPage2Layout->addWidget(m_pUsernameEdit2,2,2);
+
+ m_pHostEdit2 = new TQLineEdit(m_pPage2);
+@@ -149,22 +149,22 @@ KviRegistrationWizard::KviRegistrationWizard(const char * startMask,KviRegistere
+
+ TextLabel10_2 = new TQLabel(m_pPage2);
+ TextLabel10_2->setText("<center><b>!</b></center>");
+- TextLabel10_2->tqsetAlignment(int(TQt::AlignCenter));
++ TextLabel10_2->setAlignment(int(TQt::AlignCenter));
+ m_pPage2Layout->addWidget(TextLabel10_2,2,1);
+
+ TextLabel10 = new TQLabel(m_pPage2);
+ TextLabel10->setText("<center><b>!</b></center>");
+- TextLabel10->tqsetAlignment(int(TQt::AlignCenter));
++ TextLabel10->setAlignment(int(TQt::AlignCenter));
+ m_pPage2Layout->addWidget(TextLabel10,1,1);
+
+ TextLabel10_3 = new TQLabel(m_pPage2);
+ TextLabel10_3->setText("<center><b>@</b></center>");
+- TextLabel10_3->tqsetAlignment(int(TQt::AlignCenter));
++ TextLabel10_3->setAlignment(int(TQt::AlignCenter));
+ m_pPage2Layout->addWidget(TextLabel10_3,1,3);
+
+ TextLabel10_3_2 = new TQLabel(m_pPage2);
+ TextLabel10_3_2->setText("<center><b>@</b></center>");
+- TextLabel10_3_2->tqsetAlignment(int(TQt::AlignCenter));
++ TextLabel10_3_2->setAlignment(int(TQt::AlignCenter));
+ m_pPage2Layout->addWidget(TextLabel10_3_2,2,3);
+
+ addPage(m_pPage2,__tr2qs("Step 2: Mask Selection"));
+diff --git a/src/modules/setup/setupwizard.cpp b/src/modules/setup/setupwizard.cpp
+index 858bad6..b0c72cf 100644
+--- a/src/modules/setup/setupwizard.cpp
++++ b/src/modules/setup/setupwizard.cpp
+@@ -103,7 +103,7 @@ KviSetupPage::KviSetupPage(KviSetupWizard * w)
+ m_pVBox = new KviTalVBox(this);
+ m_pVBox->setSpacing(4);
+ m_pVBox->setMargin(0);
+- //m_pVBox->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding));
++ //m_pVBox->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding));
+ //m_pVBox->setBackgroundColor(TQColor(0,80,0));
+ //m_pVBox->setMaximumHeight(450);
+ g->addWidget(m_pVBox,0,1);
+@@ -111,7 +111,7 @@ KviSetupPage::KviSetupPage(KviSetupWizard * w)
+ g->setColStretch(1,1);
+
+ TQLabel * l = new TQLabel(m_pVBox);
+- l->tqsetAlignment(TQt::AlignAuto | TQt::AlignTop);
++ l->setAlignment(TQt::AlignAuto | TQt::AlignTop);
+ /*
+ TQString szHeader = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" style=\"margin:0px;padding:0px;\" width=\"100%\"><tr><td bgcolor=\"#303030\">" \
+ "<h1><font color=\"#FFFFFF\">KVIrc " KVI_VERSION "</font></h1>" \
+@@ -120,7 +120,7 @@ KviSetupPage::KviSetupPage(KviSetupWizard * w)
+ TQString szHeader = "<h1><font color=\"#FFFFFF\">&nbsp;KVIrc " KVI_VERSION "</font></h1>";
+ l->setText(szHeader);
+ l->setFrameStyle(TQFrame::Sunken | TQFrame::StyledPanel);
+- l->tqsetAlignment(TQt::AlignAuto | TQt::AlignVCenter);
++ l->setAlignment(TQt::AlignAuto | TQt::AlignVCenter);
+ l->setMargin(0);
+ l->setBackgroundColor(TQColor(48,48,48));
+
+@@ -128,7 +128,7 @@ KviSetupPage::KviSetupPage(KviSetupWizard * w)
+ #ifdef COMPILE_USE_QT4
+ m_pTextLabel->setWordWrap(true);
+ #endif
+- m_pTextLabel->tqsetAlignment(TQt::AlignJustify | TQt::AlignTop);
++ m_pTextLabel->setAlignment(TQt::AlignJustify | TQt::AlignTop);
+ m_pVBox->setStretchFactor(m_pTextLabel,1);
+ }
+
+@@ -673,7 +673,7 @@ void KviSetupWizard::showEvent(TQShowEvent *e)
+ if(ww < 770)ww = 770;
+ }
+
+- //wh = tqsizeHint().height();
++ //wh = sizeHint().height();
+
+ setGeometry((w - ww) / 2,(h - wh) / 2,ww,wh);
+
+diff --git a/src/modules/sharedfileswindow/sharedfileswindow.cpp b/src/modules/sharedfileswindow/sharedfileswindow.cpp
+index 157e375..c8aa9e4 100644
+--- a/src/modules/sharedfileswindow/sharedfileswindow.cpp
++++ b/src/modules/sharedfileswindow/sharedfileswindow.cpp
+@@ -115,7 +115,7 @@ KviSharedFileEditDialog::KviSharedFileEditDialog(TQWidget * par,KviSharedFile *
+ m_pExpireDateTimeEdit->setEnabled(f->expires());
+ } else {
+ m_pExpireCheckBox->setChecked(false);
+- m_pExpireDateTimeEdit->setDateTime(TQDateTime::tqcurrentDateTime());
++ m_pExpireDateTimeEdit->setDateTime(TQDateTime::currentDateTime());
+ m_pExpireDateTimeEdit->setEnabled(false);
+ }
+
+@@ -151,7 +151,7 @@ void KviSharedFileEditDialog::okClicked()
+ TQString szPath = m_pFilePathEdit->text();
+ TQDateTime dt = m_pExpireDateTimeEdit->dateTime();
+ bool bExpires = m_pExpireCheckBox->isChecked();
+- if(bExpires && (dt <= TQDateTime::tqcurrentDateTime()))
++ if(bExpires && (dt <= TQDateTime::currentDateTime()))
+ {
+ TQMessageBox::warning(this,__tr2qs_ctx("Invalid expire time","sharedfileswindow"),
+ __tr2qs_ctx("The expire date/time is in the past: please either remove the \"expires\"" \
+@@ -336,7 +336,7 @@ void KviSharedFilesWindow::tipRequest(KviDynamicToolTip * tip,const TQPoint &pnt
+ KviSharedFilesItem * it = (KviSharedFilesItem *)m_pListView->itemAt(pnt);
+ if(!it)return;
+ TQString txt = it->transfer()->tipText();
+- tip->tip(m_pListView->tqitemRect(it),txt);
++ tip->tip(m_pListView->itemRect(it),txt);
+
+ }
+ */
+@@ -679,9 +679,9 @@ void KviSharedFilesWindow::resizeEvent(TQResizeEvent *e)
+ //m_pInput->setGeometry(0,height() - h,width(),h);
+ }
+
+-TQSize KviSharedFilesWindow::tqsizeHint() const
++TQSize KviSharedFilesWindow::sizeHint() const
+ {
+- return m_pSplitter->tqsizeHint();
++ return m_pSplitter->sizeHint();
+ }
+
+ void KviSharedFilesWindow::fillCaptionBuffers()
+diff --git a/src/modules/sharedfileswindow/sharedfileswindow.h b/src/modules/sharedfileswindow/sharedfileswindow.h
+index 4832dc8..2f7f027 100644
+--- a/src/modules/sharedfileswindow/sharedfileswindow.h
++++ b/src/modules/sharedfileswindow/sharedfileswindow.h
+@@ -102,7 +102,7 @@ protected:
+ virtual void resizeEvent(TQResizeEvent *e);
+ virtual void getBaseLogFileName(KviStr &buffer);
+ public:
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ protected slots:
+ void fillFileView();
+ void sharedFileAdded(KviSharedFile * f);
+diff --git a/src/modules/socketspy/socketspywindow.cpp b/src/modules/socketspy/socketspywindow.cpp
+index 6ab0154..a5ee44e 100644
+--- a/src/modules/socketspy/socketspywindow.cpp
++++ b/src/modules/socketspy/socketspywindow.cpp
+@@ -67,9 +67,9 @@ void KviSocketSpyWindow::resizeEvent(TQResizeEvent *e)
+ m_pSplitter->setGeometry(0,0,width(),height());
+ }
+
+-TQSize KviSocketSpyWindow::tqsizeHint() const
++TQSize KviSocketSpyWindow::sizeHint() const
+ {
+- return m_pIrcView->tqsizeHint();
++ return m_pIrcView->sizeHint();
+ }
+
+ void KviSocketSpyWindow::getBaseLogFileName(KviStr &buffer)
+diff --git a/src/modules/socketspy/socketspywindow.h b/src/modules/socketspy/socketspywindow.h
+index b210ce0..7c2e924 100644
+--- a/src/modules/socketspy/socketspywindow.h
++++ b/src/modules/socketspy/socketspywindow.h
+@@ -42,7 +42,7 @@ protected:
+ virtual void getBaseLogFileName(KviStr &buffer);
+ virtual void applyOptions();
+ public:
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ virtual void incomingMessage(const char * message);
+ // message is NOT null terminated! For proxy connections it might spit out binary data!
+ virtual void outgoingMessage(const char * message,int len);
+diff --git a/src/modules/term/termwidget.cpp b/src/modules/term/termwidget.cpp
+index d261846..8b581c2 100644
+--- a/src/modules/term/termwidget.cpp
++++ b/src/modules/term/termwidget.cpp
+@@ -117,7 +117,7 @@ void KviTermWidget::resizeEvent(TQResizeEvent *e)
+ int hght = 0;
+ if(m_bIsStandalone)
+ {
+- hght = m_pCloseButton->tqsizeHint().height();
++ hght = m_pCloseButton->sizeHint().height();
+ m_pHBox->setGeometry(1,1,width() - 2,hght + 1);
+
+ }
+@@ -157,18 +157,18 @@ void KviTermWidget::changeColumns(int)
+ {
+ }
+
+-TQSize KviTermWidget::tqsizeHint() const
++TQSize KviTermWidget::sizeHint() const
+ {
+ int hght = 0;
+ int wdth = 0;
+ if(m_pKonsoleWidget)
+ {
+- hght += m_pKonsoleWidget->tqsizeHint().height();
+- wdth = m_pKonsoleWidget->tqsizeHint().width();
++ hght += m_pKonsoleWidget->sizeHint().height();
++ wdth = m_pKonsoleWidget->sizeHint().width();
+ }
+ if(m_pCloseButton)
+ {
+- hght += m_pCloseButton->tqsizeHint().height();
++ hght += m_pCloseButton->sizeHint().height();
+ }
+
+ return TQSize(wdth + 2,hght + 2);
+diff --git a/src/modules/term/termwidget.h b/src/modules/term/termwidget.h
+index 7573967..eb79836 100644
+--- a/src/modules/term/termwidget.h
++++ b/src/modules/term/termwidget.h
+@@ -60,7 +60,7 @@ protected slots:
+ void changeColumns(int);
+ public:
+ TQWidget * konsoleWidget(){ return m_pKonsoleWidget ? m_pKonsoleWidget : this; };
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ int dummy() const { return 0; };
+ protected slots:
+ void konsoleDestroyed();
+diff --git a/src/modules/term/termwindow.cpp b/src/modules/term/termwindow.cpp
+index 700328f..0610a60 100644
+--- a/src/modules/term/termwindow.cpp
++++ b/src/modules/term/termwindow.cpp
+@@ -60,9 +60,9 @@ void KviTermWindow::resizeEvent(TQResizeEvent *e)
+ if(m_pTermWidget)m_pTermWidget->setGeometry(0,0,width(),height());
+ }
+
+-TQSize KviTermWindow::tqsizeHint() const
++TQSize KviTermWindow::sizeHint() const
+ {
+- return m_pTermWidget ? m_pTermWidget->tqsizeHint() : KviWindow::tqsizeHint();
++ return m_pTermWidget ? m_pTermWidget->sizeHint() : KviWindow::sizeHint();
+ }
+
+ void KviTermWindow::fillCaptionBuffers()
+diff --git a/src/modules/term/termwindow.h b/src/modules/term/termwindow.h
+index 340e743..1ac5a12 100644
+--- a/src/modules/term/termwindow.h
++++ b/src/modules/term/termwindow.h
+@@ -46,7 +46,7 @@ protected:
+ virtual void fillCaptionBuffers();
+ virtual void resizeEvent(TQResizeEvent *e);
+ public:
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ };
+
+
+diff --git a/src/modules/theme/managementdialog.cpp b/src/modules/theme/managementdialog.cpp
+index 816917a..839f0f7 100644
+--- a/src/modules/theme/managementdialog.cpp
++++ b/src/modules/theme/managementdialog.cpp
+@@ -128,7 +128,7 @@ void KviThemeListBoxItem::paint(TQPainter * p)
+ int afterIcon = LVI_BORDER + LVI_ICON_SIZE + LVI_SPACING;
+ int www = p->window().width() - (afterIcon + LVI_BORDER);
+ m_pText->setWidth(www);
+- m_pText->draw(p,afterIcon,LVI_BORDER,TQRect(afterIcon,LVI_BORDER,www,p->window().height() - (LVI_BORDER * 2)),listBox()->viewport()->tqcolorGroup());
++ m_pText->draw(p,afterIcon,LVI_BORDER,TQRect(afterIcon,LVI_BORDER,www,p->window().height() - (LVI_BORDER * 2)),listBox()->viewport()->colorGroup());
+ }
+
+ int KviThemeListBoxItem::height(const KviTalListBox * lb) const
+@@ -198,7 +198,7 @@ KviThemeManagementDialog::KviThemeManagementDialog(TQWidget * parent)
+ connect(tb,TQT_SIGNAL(clicked()),this,TQT_SLOT(getMoreThemes()));
+
+ TQWidget *w= new TQWidget(hb);
+- w->tqsetSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Minimum);
++ w->setSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Minimum);
+
+ m_pListBox = new KviTalListBox(this);
+ m_pListBox->setMinimumHeight(400);
+@@ -455,5 +455,5 @@ void KviThemeManagementDialog::tipRequest(KviDynamicToolTip *pTip,const TQPoint
+ 0
+ );
+
+- pTip->tip(m_pListBox->tqitemRect(it),szThemeDescription);
++ pTip->tip(m_pListBox->itemRect(it),szThemeDescription);
+ }
+diff --git a/src/modules/theme/packthemedialog.cpp b/src/modules/theme/packthemedialog.cpp
+index d29c632..6f2e24c 100644
+--- a/src/modules/theme/packthemedialog.cpp
++++ b/src/modules/theme/packthemedialog.cpp
+@@ -271,7 +271,7 @@ KviPackThemeDialog::KviPackThemeDialog(TQWidget * pParent,KviPointerList<KviThem
+ m_pImageLabel = new TQLabel(pPage);
+ m_pImageLabel->setFrameStyle(TQFrame::Sunken | TQFrame::Panel);
+ m_pImageLabel->setMinimumSize(300,225);
+- m_pImageLabel->tqsetAlignment(TQt::AlignCenter | TQt::AlignVCenter);
++ m_pImageLabel->setAlignment(TQt::AlignCenter | TQt::AlignVCenter);
+ pLayout->addWidget(m_pImageLabel,1,0);
+
+ TQString szFilter = "*.png *.jpg *.xpm";
+@@ -393,7 +393,7 @@ bool KviPackThemeDialog::packTheme()
+
+ KviPackageWriter f;
+
+- TQString szTmp = TQDateTime::tqcurrentDateTime().toString();
++ TQString szTmp = TQDateTime::currentDateTime().toString();
+
+ f.addInfoField("PackageType","ThemePack");
+ f.addInfoField("ThemePackVersion","1");
+diff --git a/src/modules/theme/savethemedialog.cpp b/src/modules/theme/savethemedialog.cpp
+index a38f33e..b6a93a0 100644
+--- a/src/modules/theme/savethemedialog.cpp
++++ b/src/modules/theme/savethemedialog.cpp
+@@ -158,7 +158,7 @@ KviSaveThemeDialog::KviSaveThemeDialog(TQWidget * pParent)
+ m_pImageLabel = new TQLabel(pPage);
+ m_pImageLabel->setFrameStyle(TQFrame::Sunken | TQFrame::Panel);
+ m_pImageLabel->setMinimumSize(300,225);
+- m_pImageLabel->tqsetAlignment(TQt::AlignCenter | TQt::AlignVCenter);
++ m_pImageLabel->setAlignment(TQt::AlignCenter | TQt::AlignVCenter);
+ pLayout->addWidget(m_pImageLabel,1,0);
+
+ TQString szFilter = "*.png *.jpg *.xpm";
+@@ -247,7 +247,7 @@ bool KviSaveThemeDialog::saveTheme()
+
+ sto.setAuthor(m_pAuthorNameEdit->text());
+ sto.setDescription(m_pThemeDescriptionEdit->text());
+- sto.setDate(TQDateTime::tqcurrentDateTime().toString());
++ sto.setDate(TQDateTime::currentDateTime().toString());
+ sto.setVersion(m_pThemeVersionEdit->text());
+ sto.setApplication("KVIrc " KVI_VERSION "." KVI_SOURCES_DATE);
+
+diff --git a/src/modules/tip/libkvitip.cpp b/src/modules/tip/libkvitip.cpp
+index 9fa3cc7..bcf2403 100644
+--- a/src/modules/tip/libkvitip.cpp
++++ b/src/modules/tip/libkvitip.cpp
+@@ -99,7 +99,7 @@ void KviTipFrame::drawContents(TQPainter *p)
+
+ TQRegion reg(0,0,1000,20000);
+
+- doc.draw(p,70,10,reg,tqcolorGroup());
++ doc.draw(p,70,10,reg,colorGroup());
+ }
+
+ KviTipWindow::KviTipWindow()
+diff --git a/src/modules/toolbareditor/toolbareditor.cpp b/src/modules/toolbareditor/toolbareditor.cpp
+index 34b0689..927fbf7 100644
+--- a/src/modules/toolbareditor/toolbareditor.cpp
++++ b/src/modules/toolbareditor/toolbareditor.cpp
+@@ -61,7 +61,7 @@ KviTrashcanLabel::KviTrashcanLabel(TQWidget * p)
+ TQToolTip::add(this,__tr2qs("Drop here the icons from the toolbars to remove them"));
+ setFrameStyle(TQFrame::Sunken | TQFrame::WinPanel);
+ setAcceptDrops(true);
+- tqsetAlignment(TQt::AlignCenter);
++ setAlignment(TQt::AlignCenter);
+ setMinimumSize(40,40);
+ m_uFlashCount = 0;
+ m_pFlashTimer = 0;
+diff --git a/src/modules/url/libkviurl.cpp b/src/modules/url/libkviurl.cpp
+index 4bb7675..b3edd19 100644
+--- a/src/modules/url/libkviurl.cpp
++++ b/src/modules/url/libkviurl.cpp
+@@ -753,7 +753,7 @@ bool urllist_module_event_onUrl(KviKvsModuleEventCall * c)
+
+ KviUrl *tmp = new KviUrl;
+ KviStr tmpTimestamp;
+- TQDate d = TQDate::tqcurrentDate();
++ TQDate d = TQDate::currentDate();
+ KviStr date(KviStr::Format,"%d-%d%d-%d%d",d.year(),d.month() / 10,d.month() % 10,d.day() / 10,d.day() % 10);
+ tmpTimestamp = "["+date+"]"+" [";
+ tmpTimestamp += TQTime::currentTime().toString()+"]";
diff --git a/redhat/applications/kvirc/bp001-f9114981.diff b/redhat/applications/kvirc/bp001-f9114981.diff
new file mode 100644
index 000000000..f4ad562ea
--- /dev/null
+++ b/redhat/applications/kvirc/bp001-f9114981.diff
@@ -0,0 +1,3358 @@
+commit f91149819be7e7f45e68f22876f3c0062a11d4b9
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1324316404 -0600
+
+ Remove additional unneeded tq method conversions
+
+diff --git a/src/kvilib/core/kvi_qstring.cpp b/src/kvilib/core/kvi_qstring.cpp
+index 3b564c1..b02e308 100644
+--- a/src/kvilib/core/kvi_qstring.cpp
++++ b/src/kvilib/core/kvi_qstring.cpp
+@@ -165,24 +165,24 @@ namespace KviTQString
+ {
+ double size = bytes;
+ if(size<900)
+- return TQString(__tr2qs("%1 bytes")).tqarg(size,0,'f',3);
++ return TQString(__tr2qs("%1 bytes")).arg(size,0,'f',3);
+
+ size/=1024;
+ if(size<900)
+- return TQString(__tr2qs("%1 KB")).tqarg(size,0,'f',3);
++ return TQString(__tr2qs("%1 KB")).arg(size,0,'f',3);
+
+ size/=1024;
+ if(size<900)
+- return TQString(__tr2qs("%1 MB")).tqarg(size,0,'f',3);
++ return TQString(__tr2qs("%1 MB")).arg(size,0,'f',3);
+
+ //Pirated DVD?;)
+ size/=1024;
+ if(size<900)
+- return TQString(__tr2qs("%1 GB")).tqarg(size,0,'f',3);
++ return TQString(__tr2qs("%1 GB")).arg(size,0,'f',3);
+
+ //Uhm.. We are downloading a whole internet:)))
+ size/=1024;
+- return TQString(__tr2qs("%1 TB")).tqarg(size,0,'f',3);
++ return TQString(__tr2qs("%1 TB")).arg(size,0,'f',3);
+ }
+
+ bool equalCS(const TQString &sz1,const TQString &sz2)
+diff --git a/src/kvilib/ext/kvi_osinfo.cpp b/src/kvilib/ext/kvi_osinfo.cpp
+index 9d443c0..f2f39d2 100644
+--- a/src/kvilib/ext/kvi_osinfo.cpp
++++ b/src/kvilib/ext/kvi_osinfo.cpp
+@@ -350,17 +350,17 @@ static TQString queryWinInfo( QueryInfo info)
+ TEXT("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Hotfix\\Q246009"),
+ 0, KEY_TQUERY_VALUE, &hKey );
+ if( lRet == ERROR_SUCCESS )
+- szVersion+= TQString("Service Pack 6a (Build %1)").tqarg( osvi.dwBuildNumber & 0xFFFF );
++ szVersion+= TQString("Service Pack 6a (Build %1)").arg( osvi.dwBuildNumber & 0xFFFF );
+ else // Windows NT 4.0 prior to SP6a
+ {
+- szVersion+= TQString( "%1 (Build %2)").tqarg( osvi.szCSDVersion).tqarg( osvi.dwBuildNumber & 0xFFFF);
++ szVersion+= TQString( "%1 (Build %2)").arg( osvi.szCSDVersion).arg( osvi.dwBuildNumber & 0xFFFF);
+ }
+
+ RegCloseKey( hKey );
+ }
+ else // not Windows NT 4.0
+ {
+- szVersion+= TQString( "%1 (Build %2)").tqarg( osvi.szCSDVersion).tqarg( osvi.dwBuildNumber & 0xFFFF);
++ szVersion+= TQString( "%1 (Build %2)").arg( osvi.szCSDVersion).arg( osvi.dwBuildNumber & 0xFFFF);
+ }
+
+ break;
+diff --git a/src/kvilib/net/kvi_http.cpp b/src/kvilib/net/kvi_http.cpp
+index 6b3dd91..9e87d78 100644
+--- a/src/kvilib/net/kvi_http.cpp
++++ b/src/kvilib/net/kvi_http.cpp
+@@ -164,7 +164,7 @@ bool KviHttpRequest::start()
+ if((!kvi_strEqualCI(m_url.protocol().ptr(),"http")) && (!kvi_strEqualCI(m_url.protocol().ptr(),"https")))
+ {
+ resetInternalStatus();
+- m_szLastError=__tr2qs("Unsupported protocol %1").tqarg(m_url.protocol().ptr());
++ m_szLastError=__tr2qs("Unsupported protocol %1").arg(m_url.protocol().ptr());
+ return false;
+ }
+
+@@ -409,7 +409,7 @@ bool KviHttpRequest::openFile()
+ TQString tmp = m_szFileName;
+ do {
+ i++;
+- m_szFileName = tmp + TQString(".kvirnm-%1").tqarg(i);
++ m_szFileName = tmp + TQString(".kvirnm-%1").arg(i);
+ } while(KviFile::exists(m_szFileName));
+ }
+ break;
+@@ -419,7 +419,7 @@ bool KviHttpRequest::openFile()
+ TQString tmp;
+ do {
+ i++;
+- tmp = m_szFileName + TQString(".kvirnm-%1").tqarg(i);
++ tmp = m_szFileName + TQString(".kvirnm-%1").arg(i);
+ } while(KviFile::exists(tmp));
+ TQDir d;
+ if(!d.rename(m_szFileName,tmp))
+@@ -494,7 +494,7 @@ bool KviHttpRequest::processHeader(KviStr &szHeader)
+ {
+ // the response is invalid ?
+ resetInternalStatus();
+- m_szLastError=__tr2qs("Invalid HTTP response: %s").tqarg(szResponse.ptr());
++ m_szLastError=__tr2qs("Invalid HTTP response: %s").arg(szResponse.ptr());
+ emit terminated(false);
+ return false;
+ }
+diff --git a/src/kvilib/system/kvi_locale.cpp b/src/kvilib/system/kvi_locale.cpp
+index 7bf7e34..3ee2ef8 100644
+--- a/src/kvilib/system/kvi_locale.cpp
++++ b/src/kvilib/system/kvi_locale.cpp
+@@ -957,9 +957,9 @@ namespace KviLocale
+ // first of all try to find out the current locale
+ g_szLang="";
+ #ifdef COMPILE_USE_QT4
+- TQString szLangFile=TQString("%1/.kvirc_force_locale").tqarg(TQDir::homePath());
++ TQString szLangFile=TQString("%1/.kvirc_force_locale").arg(TQDir::homePath());
+ #else
+- TQString szLangFile=TQString("%1/.kvirc_force_locale").tqarg(TQDir::homeDirPath());
++ TQString szLangFile=TQString("%1/.kvirc_force_locale").arg(TQDir::homeDirPath());
+ #endif
+ if(KviFileUtils::fileExists(szLangFile))
+ {
+diff --git a/src/kvilib/tal/kvi_tal_listview.cpp b/src/kvilib/tal/kvi_tal_listview.cpp
+index 1a7f975..68e6967 100644
+--- a/src/kvilib/tal/kvi_tal_listview.cpp
++++ b/src/kvilib/tal/kvi_tal_listview.cpp
+@@ -324,7 +324,7 @@
+ && d->exclusive && d->exclusive->d
+ && d->exclusive->d->exclusive == this)
+ d->exclusive->turnOffChild();
+- d->exclusive = 0; // so the tqchildren won't try to access us.
++ d->exclusive = 0; // so the children won't try to access us.
+ delete d;
+ d = 0;
+ }
+@@ -403,7 +403,7 @@
+
+ updateController(update, store);
+ } else {
+- // if there are no tqchildren we simply set the CheckBoxController and update its parent
++ // if there are no children we simply set the CheckBoxController and update its parent
+ setCurrentState(s);
+ stateChange(state());
+ if (parent() && parent()->rtti() == 1
+@@ -430,7 +430,7 @@
+ }
+ stateChange(state());
+ }
+- tqrepaint();
++ repaint();
+ }
+
+ void KviTalCheckListItem::setCurrentState(ToggleState s)
+@@ -551,13 +551,13 @@
+ case CheckBox:
+ setCurrentState(storedState(key));
+ stateChange(state());
+- tqrepaint();
++ repaint();
+ break;
+ case CheckBoxController: {
+ KviTalListViewItem *item = firstChild();
+ int childCount = 0;
+ while (item) {
+- // recursively calling restoreState for tqchildren of type CheckBox and CheckBoxController
++ // recursively calling restoreState for children of type CheckBox and CheckBoxController
+ if (item->rtti() == 1 &&
+ (((KviTalCheckListItem*)item)->type() == CheckBox ||
+ ((KviTalCheckListItem*)item)->type() == CheckBoxController)) {
+@@ -572,7 +572,7 @@
+ else
+ updateController(false);
+ } else {
+- // if there are no tqchildren we retrieve the CheckBoxController state directly.
++ // if there are no children we retrieve the CheckBoxController state directly.
+ setState(storedState(key), true, false);
+ }
+ }
+@@ -622,7 +622,7 @@
+ if (update && controller) {
+ controller->updateController(update, store);
+ }
+- tqrepaint();
++ repaint();
+ }
+ }
+
+@@ -642,7 +642,7 @@
+ }
+ item = item->nextSibling();
+ }
+- // this state is only needed if the CheckBoxController has no CheckBox / CheckBoxController tqchildren.
++ // this state is only needed if the CheckBoxController has no CheckBox / CheckBoxController children.
+ setStoredState(internalState() , key);
+ }
+
+@@ -1056,7 +1056,7 @@
+ && d->exclusive && d->exclusive->d
+ && d->exclusive->d->exclusive == this )
+ d->exclusive->turnOffChild();
+- d->exclusive = 0; // so the tqchildren won't try to access us.
++ d->exclusive = 0; // so the children won't try to access us.
+ if ( d->statesDict )
+ delete d->statesDict;
+ delete d;
+@@ -1137,7 +1137,7 @@
+
+ updateController( update, store );
+ } else {
+- // if there are no tqchildren we simply set the CheckBoxController and update its parent
++ // if there are no children we simply set the CheckBoxController and update its parent
+ setCurrentState( s );
+ stateChange( state() );
+ if ( parent() && parent()->rtti() == 1
+@@ -1164,7 +1164,7 @@
+ }
+ stateChange( state() );
+ }
+- tqrepaint();
++ repaint();
+ }
+
+ void KviTalCheckListItem::setCurrentState( ToggleState s )
+@@ -1287,13 +1287,13 @@
+ case CheckBox:
+ setCurrentState( storedState( key ) );
+ stateChange( state() );
+- tqrepaint();
++ repaint();
+ break;
+ case CheckBoxController: {
+ KviTalListViewItem *item = firstChild();
+ int childCount = 0;
+ while ( item ) {
+- // recursively calling restoreState for tqchildren of type CheckBox and CheckBoxController
++ // recursively calling restoreState for children of type CheckBox and CheckBoxController
+ if ( item->rtti() == 1 &&
+ ( ((KviTalCheckListItem*)item)->type() == CheckBox ||
+ ((KviTalCheckListItem*)item)->type() == CheckBoxController ) ) {
+@@ -1308,7 +1308,7 @@
+ else
+ updateController( FALSE );
+ } else {
+- // if there are no tqchildren we retrieve the CheckBoxController state directly.
++ // if there are no children we retrieve the CheckBoxController state directly.
+ setState( storedState( key ), TRUE, FALSE );
+ }
+ }
+@@ -1358,7 +1358,7 @@
+ if ( update && controller ) {
+ controller->updateController( update, store );
+ }
+- tqrepaint();
++ repaint();
+ }
+ }
+
+@@ -1378,7 +1378,7 @@
+ }
+ item = item->nextSibling();
+ }
+- // this state is only needed if the CheckBoxController has no CheckBox / CheckBoxController tqchildren.
++ // this state is only needed if the CheckBoxController has no CheckBox / CheckBoxController children.
+ setStoredState( internalState() , key );
+ }
+
+diff --git a/src/kvilib/tal/kvi_tal_listview_qt3.h b/src/kvilib/tal/kvi_tal_listview_qt3.h
+index cf72e9f..47d23fb 100644
+--- a/src/kvilib/tal/kvi_tal_listview_qt3.h
++++ b/src/kvilib/tal/kvi_tal_listview_qt3.h
+@@ -143,7 +143,7 @@ public:
+ KviTalCheckListItem( KviTalListView *parent, const TQString &text,const TQPixmap & );
+ ~KviTalCheckListItem();
+
+- void paintCell( TQPainter *,const TQColorGroup & cg,int column, int width, int tqalignment );
++ void paintCell( TQPainter *,const TQColorGroup & cg,int column, int width, int alignment );
+ virtual void paintFocus( TQPainter *, const TQColorGroup & cg,
+ const TQRect & r );
+ int width( const TQFontMetrics&, const KviTalListView*, int column) const;
+diff --git a/src/kvilib/tal/kvi_tal_listview_qt4.h b/src/kvilib/tal/kvi_tal_listview_qt4.h
+index 83e4686..15acac6 100644
+--- a/src/kvilib/tal/kvi_tal_listview_qt4.h
++++ b/src/kvilib/tal/kvi_tal_listview_qt4.h
+@@ -152,7 +152,7 @@ public:
+ ~KviTalCheckListItem();
+
+ void paintCell(TQPainter *, const TQColorGroup & cg,
+- int column, int width, int tqalignment);
++ int column, int width, int alignment);
+ virtual void paintFocus(TQPainter *, const TQColorGroup &cg,
+ const TQRect & r);
+ int width(const TQFontMetrics&, const KviTalListView*, int column) const;
+diff --git a/src/kvilib/tal/kvi_tal_wizard.cpp b/src/kvilib/tal/kvi_tal_wizard.cpp
+index a0aee30..396aa65 100644
+--- a/src/kvilib/tal/kvi_tal_wizard.cpp
++++ b/src/kvilib/tal/kvi_tal_wizard.cpp
+@@ -413,7 +413,7 @@ void KviTalWizard::setCurrentPage(KviTalWizardPageData * pData)
+ szSteps = "<nobr><font color=\"";
+ szSteps += clrMid.name();
+ szSteps += "\"><b>[";
+- szSteps += TQString("Step %1 of %2").tqarg(pData->iVisibleIndex).tqarg(m_p->iEnabledPageCount);
++ szSteps += TQString("Step %1 of %2").arg(pData->iVisibleIndex).arg(m_p->iEnabledPageCount);
+ szSteps += "]</b></font></nobr>";
+ }
+
+diff --git a/src/kvirc/kernel/kvi_app.cpp b/src/kvirc/kernel/kvi_app.cpp
+index c0afdad..1f9224c 100644
+--- a/src/kvirc/kernel/kvi_app.cpp
++++ b/src/kvirc/kernel/kvi_app.cpp
+@@ -1038,7 +1038,7 @@ void KviApp::fileDownloadTerminated(bool bSuccess,const TQString &szRemoteUrl,co
+ if(szNick.isEmpty())
+ szMsg = __tr2qs("File download failed");
+ else
+- szMsg = __tr2qs("File download from %1 failed").tqarg(szNick);
++ szMsg = __tr2qs("File download from %1 failed").arg(szNick);
+ szMsg += ": ";
+ szMsg += szError;
+ szMsg += " (";
+@@ -1049,7 +1049,7 @@ void KviApp::fileDownloadTerminated(bool bSuccess,const TQString &szRemoteUrl,co
+ if(szNick.isEmpty())
+ szMsg = __tr2qs("File download successfully complete");
+ else
+- szMsg = __tr2qs("File download from %1 successfully complete").tqarg(szNick);
++ szMsg = __tr2qs("File download from %1 successfully complete").arg(szNick);
+ szMsg += " (";
+ szMsg += szLocalFileName;
+ szMsg += ")";
+@@ -1117,7 +1117,7 @@ void KviApp::fileDownloadTerminated(bool bSuccess,const TQString &szRemoteUrl,co
+ #endif
+ rinfo.activate();
+
+- TQString name = TQString("DESKTOP%1").tqarg(rinfo.currentDesktop());
++ TQString name = TQString("DESKTOP%1").arg(rinfo.currentDesktop());
+
+ g_pKdeDesktopBackground = new KSharedPixmap();
+ connect(g_pKdeDesktopBackground,TQT_SIGNAL(done(bool)),this,TQT_SLOT(kdeRootPixmapDownloadComplete(bool)));
+@@ -1141,7 +1141,7 @@ void KviApp::fileDownloadTerminated(bool bSuccess,const TQString &szRemoteUrl,co
+ return;
+ }
+
+- if(!g_pKdeDesktopBackground->loadFromShared(TQString("DESKTOP%1").tqarg(rinfo.currentDesktop())))
++ if(!g_pKdeDesktopBackground->loadFromShared(TQString("DESKTOP%1").arg(rinfo.currentDesktop())))
+ {
+ debug("Can't load the KDE root background image...");
+ delete g_pKdeDesktopBackground;
+diff --git a/src/kvirc/kernel/kvi_coreactions.cpp b/src/kvirc/kernel/kvi_coreactions.cpp
+index 4051d21..fb6fa04 100644
+--- a/src/kvirc/kernel/kvi_coreactions.cpp
++++ b/src/kvirc/kernel/kvi_coreactions.cpp
+@@ -958,7 +958,7 @@ void KviChangeUserModeAction::popupAboutToShow()
+ {
+ TQChar ccc = szModes[0];
+ szModes.remove(0,1);
+- id = m_pPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_MODE)),TQString("+%1 Mode").tqarg(ccc));
++ id = m_pPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_MODE)),TQString("+%1 Mode").arg(ccc));
+ m_pPopup->setItemChecked(id,c->connection()->userInfo()->hasUserMode(ccc.latin1()));
+ }
+ }
+diff --git a/src/kvirc/kernel/kvi_filetransfer.cpp b/src/kvirc/kernel/kvi_filetransfer.cpp
+index 3f39398..d3d4114 100644
+--- a/src/kvirc/kernel/kvi_filetransfer.cpp
++++ b/src/kvirc/kernel/kvi_filetransfer.cpp
+@@ -186,5 +186,5 @@ int KviFileTransfer::displayHeight(int iLineSpacing)
+
+ void KviFileTransfer::displayUpdate()
+ {
+- if(m_pDisplayItem)m_pDisplayItem->tqrepaint();
++ if(m_pDisplayItem)m_pDisplayItem->repaint();
+ }
+diff --git a/src/kvirc/kernel/kvi_ipc.cpp b/src/kvirc/kernel/kvi_ipc.cpp
+index da6246a..2487617 100644
+--- a/src/kvirc/kernel/kvi_ipc.cpp
++++ b/src/kvirc/kernel/kvi_ipc.cpp
+@@ -108,21 +108,21 @@
+ }
+
+ Window root,parent;
+- Window * tqchildren;
++ Window * children;
+ unsigned int nChildren;
+
+- if(!XQueryTree(kvi_ipc_get_xdisplay(),win,&root,&parent,&tqchildren,&nChildren))
++ if(!XQueryTree(kvi_ipc_get_xdisplay(),win,&root,&parent,&children,&nChildren))
+ {
+- if(tqchildren)XFree((char *)tqchildren);
++ if(children)XFree((char *)children);
+ return 0;
+ }
+
+ Window found = 0;
+
+ for(int i=nChildren-1;(!found) && (i >= 0);i--)
+- found = kvi_x11_findIpcSentinel(tqchildren[i]);
++ found = kvi_x11_findIpcSentinel(children[i]);
+
+- if(tqchildren)XFree((char *)tqchildren);
++ if(children)XFree((char *)children);
+
+ return found;
+ }
+diff --git a/src/kvirc/kernel/kvi_ircurl.cpp b/src/kvirc/kernel/kvi_ircurl.cpp
+index 0dafad9..f496603 100644
+--- a/src/kvirc/kernel/kvi_ircurl.cpp
++++ b/src/kvirc/kernel/kvi_ircurl.cpp
+@@ -222,7 +222,7 @@ void KviIrcUrl::join(TQString &uri, KviIrcServer* server)
+
+ uri.append("://");
+ uri.append(server->hostName());
+- if(server->port()!=6667) uri.append(TQString(":%1").tqarg(server->port()));
++ if(server->port()!=6667) uri.append(TQString(":%1").arg(server->port()));
+ uri.append("/");
+ }
+ }
+@@ -310,7 +310,7 @@ int KviIrcUrl::run(const TQString& text,int contextSpec,KviConsole* pConsole)
+ szCommand.append(szJoinCommand);
+ szCommand.append("\" ");
+ }
+- szCommand.append(TQString("%1 %2 ").tqarg(parts.szHost).tqarg(parts.iPort));
++ szCommand.append(TQString("%1 %2 ").arg(parts.szHost).arg(parts.iPort));
+
+ if(pConsole->connection()) {
+ KviIrcServer* server = pConsole->connection()->target()->server();
+diff --git a/src/kvirc/kvs/kvi_kvs_eventtable.cpp b/src/kvirc/kvs/kvi_kvs_eventtable.cpp
+index 55c086d..b2fc61b 100644
+--- a/src/kvirc/kvs/kvi_kvs_eventtable.cpp
++++ b/src/kvirc/kvs/kvi_kvs_eventtable.cpp
+@@ -254,7 +254,7 @@ KviKvsEvent KviKvsEventManager::m_appEventTable[KVI_NUM_SCRIPT_EVENTS]=
+ @description:
+ This event is triggered in the first console of a new frame window.
+ A frame window is the toplevel window that contains the consoles
+- and the other MDI tqchildren windows.
++ and the other MDI children windows.
+ @seealso:
+ [event:onframewindowdestroyed]OnFrameWindowDestroyed[/event]
+ */
+diff --git a/src/kvirc/kvs/kvi_kvs_object.cpp b/src/kvirc/kvs/kvi_kvs_object.cpp
+index eaae3fd..e5ff0a5 100644
+--- a/src/kvirc/kvs/kvi_kvs_object.cpp
++++ b/src/kvirc/kvs/kvi_kvs_object.cpp
+@@ -69,11 +69,11 @@
+ [big]Basic concepts[/big]
+
+ Objects are arranged in tree structures.
+- Each object that you create is either toplevel object or a tqchildren
++ Each object that you create is either toplevel object or a children
+ of another object. A toplevel object is a parentless one.
+- Obviously all objects can have tqchildren objects.[br][br]
++ Obviously all objects can have children objects.[br][br]
+
+- When an object is destroyed , all its tqchildren are also destroyed.
++ When an object is destroyed , all its children are also destroyed.
+ The toplevel objects are automatically destroyed when KVIrc quits.
+ The objects are global to the entire application (this is different
+ from previous KVIrc releases where the objects were local
+@@ -121,7 +121,7 @@
+ [example]
+ [cmd]delete[/cmd] %myobject
+ [/example]
+- If the destroyed object has tqchildren objects , these are destroyed too.[br][br]
++ If the destroyed object has children objects , these are destroyed too.[br][br]
+
+ [big]Fields : objects as pseudo-structures[/big]
+
+@@ -196,15 +196,15 @@
+ [cmd]delete[/cmd] %tmp
+ [/example]
+ Another cool function exported by the [class:object]object[/class] class is the
+- [classfnc:object]$tqchildren[/classfnc]() function.
+- It returns a comma separated list of tqchildren identifiers.[br]
++ [classfnc:object]$children[/classfnc]() function.
++ It returns a comma separated list of children identifiers.[br]
+ [example]
+ %tmp = [fnc]$new[/fnc]([class]object[/class],0,myobject)
+ %tmpchild = [fnc]$new[/fnc]([class]object[/class],%tmp,child1)
+ %tmpchild = [fnc]$new[/fnc]([class]object[/class],%tmp,child2)
+ %tmpchild = [fnc]$new[/fnc]([class]object[/class],%tmp,child3)
+- [cmd]echo[/cmd] The object's tqchildren list is : %tmp->[classfnc:object]$tqchildren[/classfnc]()
+- # Destroy the object and the tqchildren
++ [cmd]echo[/cmd] The object's children list is : %tmp->[classfnc:object]$children[/classfnc]()
++ # Destroy the object and the children
+ [cmd]delete[/cmd] %tmp
+ [/example]
+ There are two special functions for each objects: the "constructor" and the "destructor".
+@@ -230,25 +230,25 @@
+ [cmd]privateimpl[/cmd](%tmp,destructor)
+ {
+ %count = 0;
+- [cmd]foreach[/cmd](%t,[fnc]$this[/fnc]-&gt;[classfnc:object]$tqchildren[/classfnc]())
++ [cmd]foreach[/cmd](%t,[fnc]$this[/fnc]-&gt;[classfnc:object]$children[/classfnc]())
+ {
+ [cmd]echo[/cmd] Children : %t-&gt;[classfnc:object]$name[/classfnc]() with class %t-&gt;[classfnc:object]$class[/classfnc]()
+ %count++
+ }
+- [cmd]echo[/cmd] Just before destroying my %count tqchildren.
++ [cmd]echo[/cmd] Just before destroying my %count children.
+ }
+- # Destroy the object and the tqchildren
++ # Destroy the object and the children
+ [cmd]delete[/cmd] %tmp
+ [/example]
+
+ In the example above four objects have been created.
+- A "parent" object named "myobject" , and three tqchildren objects.
++ A "parent" object named "myobject" , and three children objects.
+ The destructor has been reimplemented for each child object,
+ to make it "say" its name (Please note the usage of [fnc]$this[/fnc]).
+- In the parent destructor the tqchildren have been counted and listed.[br]
++ In the parent destructor the children have been counted and listed.[br]
+ Then the parent object is destroyed causing to:[br]
+ - trigger the parent destructor.[br]
+- - destroy all the tqchildren (and conseguently trigger all the "individual" destructors).[br][br]
++ - destroy all the children (and conseguently trigger all the "individual" destructors).[br][br]
+
+ Not all the object functions must return a value:
+ If a function does not return a meaningful value , or you just want to ignore it , you can call it in the following way:[br]
+@@ -339,7 +339,7 @@
+
+ The above class is named "helloworld". It inherits the [class]object[/class] class.
+ This means that it acquires all the [class]object[/class] fuunctions: [classfnc:object]$name[/classfnc]() ,
+- [classfnc:object]$class[/class]() , [classfnc:object]$tqchildren[/classfnc]()...
++ [classfnc:object]$class[/class]() , [classfnc:object]$children[/classfnc]()...
+ Additionally , it has the $sayhello() function, that "echoes Hello world" to the console.
+ Now you can create an instance of this class:
+ [example]
+@@ -486,7 +486,7 @@
+ @description:
+ This is the base class for all the builtin KVirc object classes.
+ It exports the functions to retrieve the object name, to iterate
+- through tqchildren objects and to lookup a child object by name or class.
++ through children objects and to lookup a child object by name or class.
+ Additionally , this class provides the builtin timer functionality.
+ The [classfnc]$constructor[/classfnc] and [classfnc]$destructor[/classfnc]
+ functions are empty implementations that all the other classes inherit.
+@@ -521,15 +521,15 @@
+ Returns the first child that matches <class> and <name>.
+ If <class> is an empty string, any class matches,
+ if <name> is an empty string, any name matches.
+- This function traverses the entire tree of tqchildren
++ This function traverses the entire tree of children
+ but is NOT recursive.
+ !fn: $childCount()
+- Returns the number of tqchildren objects
++ Returns the number of children objects
+ !fn: $emit(<signal_name>[,parameters])
+ Emits the signal <signal_name> passing the optional [parameters].
+ See the [doc:objects]objects documentation[/doc] for an overview of signals and slots.
+- !fn: $tqchildren()
+- Returns an array of tqchildren object identifiers.
++ !fn: $children()
++ Returns an array of children object identifiers.
+ !fn: $signalSender()
+ Returns the current signal sender when in a slot connected to a signal.
+ In other contexts this function returns an empty string.
+@@ -955,7 +955,7 @@ bool KviKvsObject::function_destructor(KviKvsObjectFunctionCall * c)
+ return true;
+ }
+
+-bool KviKvsObject::function_tqchildren(KviKvsObjectFunctionCall * c)
++bool KviKvsObject::function_children(KviKvsObjectFunctionCall * c)
+ {
+ KviKvsArray * a = new KviKvsArray();
+ int id=0;
+diff --git a/src/kvirc/kvs/kvi_kvs_object.h b/src/kvirc/kvs/kvi_kvs_object.h
+index a19bd5f..f59c098 100644
+--- a/src/kvirc/kvs/kvi_kvs_object.h
++++ b/src/kvirc/kvs/kvi_kvs_object.h
+@@ -164,7 +164,7 @@ protected:
+ bool function_findChild(KviKvsObjectFunctionCall *c);
+ bool function_childCount(KviKvsObjectFunctionCall *c);
+ bool function_emit(KviKvsObjectFunctionCall *c);
+- bool function_tqchildren(KviKvsObjectFunctionCall *c);
++ bool function_children(KviKvsObjectFunctionCall *c);
+ bool function_signalSender(KviKvsObjectFunctionCall *c);
+ bool function_signalName(KviKvsObjectFunctionCall *c);
+ bool function_destructor(KviKvsObjectFunctionCall *c);
+diff --git a/src/kvirc/kvs/kvi_kvs_object_controller.cpp b/src/kvirc/kvs/kvi_kvs_object_controller.cpp
+index b2c1c8b..4739f33 100644
+--- a/src/kvirc/kvs/kvi_kvs_object_controller.cpp
++++ b/src/kvirc/kvs/kvi_kvs_object_controller.cpp
+@@ -73,7 +73,7 @@ void KviKvsObjectController::init()
+ m_pObjectClass->registerFunctionHandler("findChild",KVI_PTR2MEMBER(KviKvsObject::function_findChild));
+ m_pObjectClass->registerFunctionHandler("childCount",KVI_PTR2MEMBER(KviKvsObject::function_childCount));
+ m_pObjectClass->registerFunctionHandler("emit",KVI_PTR2MEMBER(KviKvsObject::function_emit));
+- m_pObjectClass->registerFunctionHandler("tqchildren",KVI_PTR2MEMBER(KviKvsObject::function_tqchildren));
++ m_pObjectClass->registerFunctionHandler("children",KVI_PTR2MEMBER(KviKvsObject::function_children));
+ m_pObjectClass->registerFunctionHandler("signalSender",KVI_PTR2MEMBER(KviKvsObject::function_signalSender));
+ m_pObjectClass->registerFunctionHandler("signalName",KVI_PTR2MEMBER(KviKvsObject::function_signalName));
+ m_pObjectClass->registerFunctionHandler("destructor",KVI_PTR2MEMBER(KviKvsObject::function_destructor));
+diff --git a/src/kvirc/kvs/kvi_kvs_processmanager.cpp b/src/kvirc/kvs/kvi_kvs_processmanager.cpp
+index 2f3219c..53ac882 100644
+--- a/src/kvirc/kvs/kvi_kvs_processmanager.cpp
++++ b/src/kvirc/kvs/kvi_kvs_processmanager.cpp
+@@ -330,7 +330,7 @@ void KviKvsProcessAsyncOperation::processExited()
+ if(m_pData->iFlags & KVI_KVS_PROCESSDESCRIPTOR_TRIGGERTERMINATED)
+ {
+ TQString szRetVal;
+- szRetVal.setNum(m_pProcess->exiStatus());
++ szRetVal.setNum(m_pProcess->exitStatus());
+ trigger(EventTerminated,szRetVal);
+ }
+
+diff --git a/src/kvirc/kvs/kvi_kvs_treenode_compositedata.cpp b/src/kvirc/kvs/kvi_kvs_treenode_compositedata.cpp
+index c303ceb..42338ae 100644
+--- a/src/kvirc/kvs/kvi_kvs_treenode_compositedata.cpp
++++ b/src/kvirc/kvs/kvi_kvs_treenode_compositedata.cpp
+@@ -34,7 +34,7 @@ KviKvsTreeNodeCompositeData::KviKvsTreeNodeCompositeData(const TQChar * pLocatio
+ : KviKvsTreeNodeData(pLocation)
+ {
+ #ifdef DEBUGME
+- if(pSubData->count() < 2)debug("KviKvsTreeNodeCompositeData constructor called with less than two tqchildren!");
++ if(pSubData->count() < 2)debug("KviKvsTreeNodeCompositeData constructor called with less than two children!");
+ #endif
+ m_pSubData = pSubData;
+ m_pSubData->setAutoDelete(true);
+diff --git a/src/kvirc/sparser/kvi_sp_ctcp.cpp b/src/kvirc/sparser/kvi_sp_ctcp.cpp
+index 86e129d..b7150e8 100644
+--- a/src/kvirc/sparser/kvi_sp_ctcp.cpp
++++ b/src/kvirc/sparser/kvi_sp_ctcp.cpp
+@@ -1156,12 +1156,12 @@ void KviServerParser::parseCtcpRequestVersion(KviCtcpMessage *msg)
+
+ #ifdef COMPILE_ON_WINDOWS
+ szVersion = "KVIrc " KVI_VERSION QT4_TAG " '" KVI_RELEASE_NAME "' " KVI_SOURCES_DATE " - build " KVI_BUILD_DATE;
+- szVersion.append(TQString(" - %1").tqarg(KviOsInfo::version()));
++ szVersion.append(TQString(" - %1").arg(KviOsInfo::version()));
+ #else
+ szVersion = "KVIrc " KVI_VERSION QT4_TAG " '" KVI_RELEASE_NAME "' " KVI_SOURCES_DATE " - build " KVI_BUILD_DATE " - " KVI_BUILD_FLAGS;
+- szVersion.append(TQString(" - %1 (%2)").tqarg(KviOsInfo::name()).tqarg(KviOsInfo::release()));
++ szVersion.append(TQString(" - %1 (%2)").arg(KviOsInfo::name()).arg(KviOsInfo::release()));
+ #endif
+- //szVersion.append(TQString(" - QT Version: %1 - %2").tqarg(qVersion()).tqarg(__tr2qs("http://www.kvirc.net/")));
++ //szVersion.append(TQString(" - QT Version: %1 - %2").arg(qVersion()).arg(__tr2qs("http://www.kvirc.net/")));
+ if(!KVI_OPTION_STRING(KviOption_stringCtcpVersionPostfix).isEmpty())
+ {
+ TQString sz = KVI_OPTION_STRING(KviOption_stringCtcpVersionPostfix);
+@@ -1460,7 +1460,7 @@ void KviServerParser::parseCtcpRequestAction(KviCtcpMessage *msg)
+
+ if(bTargetFound)
+ {
+- TQString szMsg = TQString("\r!n\r%1\r ").tqarg(msg->pSource->nick());
++ TQString szMsg = TQString("\r!n\r%1\r ").arg(msg->pSource->nick());
+ szMsg += szData;
+ if(bIsChannel)
+ {
+@@ -1531,7 +1531,7 @@ void KviServerParser::parseCtcpRequestAvatar(KviCtcpMessage *msg)
+ KVI_OPTION_UINT(KviOption_uintAvatarOfferTimeoutInSecs),&(a->name()),&(a->localPath()),&szUserMask);
+ }
+ }
+- //if(o)szReply.append(TQString(" %1").tqarg(o->fileSize()));
++ //if(o)szReply.append(TQString(" %1").arg(o->fileSize()));
+ }
+
+ szReply.append(szGenderTag);
+diff --git a/src/kvirc/ui/kvi_channel.cpp b/src/kvirc/ui/kvi_channel.cpp
+index c35b1fe..c22b36b 100644
+--- a/src/kvirc/ui/kvi_channel.cpp
++++ b/src/kvirc/ui/kvi_channel.cpp
+@@ -704,7 +704,7 @@ void KviChannel::getTalkingUsersStats(TQString &buffer,TQStringList &l,bool bPas
+ } else {
+ // (l.count() - 1) is > 1
+ buffer += "</b> ";
+- buffer += __tr2qs("and other %1 users").tqarg(l.count() - 1);
++ buffer += __tr2qs("and other %1 users").arg(l.count() - 1);
+ }
+ buffer += " ";
+ buffer += bPast ? __tr2qs("were talking recently") : __tr2qs("are talking");
+@@ -1607,14 +1607,14 @@ void KviChannel::preprocessMessage(TQString & szMessage)
+ for ( TQStringList::Iterator it = strings.begin(); it != strings.end(); ++it ) {
+ if((*it).contains('\r')) continue;
+ TQString tmp = KviMircCntrl::stripControlBytes(*it);
+- if( findEntry(*it) ) *it=TQString("\r!n\r%1\r").tqarg(*it);
++ if( findEntry(*it) ) *it=TQString("\r!n\r%1\r").arg(*it);
+ if(m_pConsole)
+ if(m_pConsole->connection())
+ if(m_pConsole->connection()->serverInfo()->supportedChannelTypes().contains(tmp[0]))
+ if((*it)==tmp)
+- *it=TQString("\r!c\r%1\r").tqarg(*it);
++ *it=TQString("\r!c\r%1\r").arg(*it);
+ else
+- *it=TQString("\r!c%1\r%2\r").tqarg(tmp).tqarg(*it);
++ *it=TQString("\r!c%1\r%2\r").arg(tmp).arg(*it);
+ }
+ szMessage=strings.join(" ");
+ }
+diff --git a/src/kvirc/ui/kvi_console.cpp b/src/kvirc/ui/kvi_console.cpp
+index b2a19f4..a4eba90 100644
+--- a/src/kvirc/ui/kvi_console.cpp
++++ b/src/kvirc/ui/kvi_console.cpp
+@@ -353,7 +353,7 @@ void KviConsole::getUserTipText(const TQString &nick,KviIrcUserEntry *e,TQString
+ #else
+ TQMimeSourceFactory::defaultFactory()->setPixmap("ulv_avatar",*(e->avatar()->pixmap()));
+ #endif
+- buffer += TQString("<tr><td><center><img src=\"ulv_avatar\" width=\"%1\"></center></td></tr>").tqarg(e->avatar()->pixmap()->width());
++ buffer += TQString("<tr><td><center><img src=\"ulv_avatar\" width=\"%1\"></center></td></tr>").arg(e->avatar()->pixmap()->width());
+ }
+
+ if(e->hasRealName())
+@@ -404,12 +404,12 @@ void KviConsole::getUserTipText(const TQString &nick,KviIrcUserEntry *e,TQString
+ if(e->hasServer())
+ {
+ buffer += "<tr><td bgcolor=\"#F0F0F0\"><nobr>";
+- buffer += __tr2qs("Using server <b>%1</b>").tqarg(e->server());
++ buffer += __tr2qs("Using server <b>%1</b>").arg(e->server());
+
+ if(e->hasHops())
+ {
+ buffer += " (";
+- buffer += __tr2qs("%1 hops").tqarg(e->hops());
++ buffer += __tr2qs("%1 hops").arg(e->hops());
+ buffer += ")</nobr></td></tr>";
+ } else {
+ buffer += "</nobr></td></tr></table>";
+@@ -445,7 +445,7 @@ void KviConsole::saveProperties(KviConfig *cfg)
+
+ void KviConsole::getBaseLogFileName(TQString &buffer)
+ {
+- buffer=TQString("CONSOLE%1").tqarg(ircContextId());
++ buffer=TQString("CONSOLE%1").arg(ircContextId());
+ }
+
+ void KviConsole::showNotifyList(bool bShow)
+@@ -649,7 +649,7 @@ int KviConsole::applyHighlighting(KviWindow *wnd,int type,const TQString &nick,c
+ szSource.prepend(' ');
+ if(KVI_OPTION_BOOL(KviOption_boolAlwaysHighlightNick) && connection())
+ {
+- if(szSource.find(TQString(" %1 ").tqarg(connection()->userInfo()->nickName()),0,false) > -1)
++ if(szSource.find(TQString(" %1 ").arg(connection()->userInfo()->nickName()),0,false) > -1)
+ return triggerOnHighlight(wnd,type,nick,user,host,szMsg,connection()->userInfo()->nickName());
+ }
+
+@@ -661,7 +661,7 @@ int KviConsole::applyHighlighting(KviWindow *wnd,int type,const TQString &nick,c
+ if((*it).isEmpty())
+ continue;
+ // FIXME : This is SLOOOOOOOOW (TQString -> ascii translation!!) !!!!
+- if(szSource.find(TQString(" %1 ").tqarg(*it),0,false) > -1)
++ if(szSource.find(TQString(" %1 ").arg(*it),0,false) > -1)
+ {
+ return triggerOnHighlight(wnd,type,nick,user,host,szMsg,*it);
+ }
+@@ -835,7 +835,7 @@ void KviConsole::outputPrivmsg(KviWindow *wnd,
+ KVI_COLOR_EXT_USER_HALFOP : ((e->flags() & KVI_USERFLAG_VOICE) ? \
+ KVI_COLOR_EXT_USER_VOICE : KVI_COLOR_EXT_USER_USEROP))));
+ }
+- szNick.prepend(TQString("%1").tqarg(color));
++ szNick.prepend(TQString("%1").arg(color));
+ szNick.prepend(KVI_TEXT_COLOR);
+ szNick.append(KVI_TEXT_COLOR);
+ }
+diff --git a/src/kvirc/ui/kvi_customtoolbar.cpp b/src/kvirc/ui/kvi_customtoolbar.cpp
+index e6b234e..e974b94 100644
+--- a/src/kvirc/ui/kvi_customtoolbar.cpp
++++ b/src/kvirc/ui/kvi_customtoolbar.cpp
+@@ -169,9 +169,9 @@ void KviCustomToolBar::beginCustomize()
+ if(m_pFilteredChildren)delete m_pFilteredChildren;
+ m_pFilteredChildren = new KviPointerHashTable<void *,bool>;
+ m_pFilteredChildren->setAutoDelete(true);
+- // filter the events for all the tqchildren
++ // filter the events for all the children
+ #ifdef COMPILE_USE_QT4
+- TQList<TQObject*> l = tqchildren();
++ TQList<TQObject*> l = children();
+ for(TQList<TQObject*>::Iterator it = l.begin();it != l.end();++it)
+ {
+ if((*it)->isWidgetType())
+@@ -193,7 +193,7 @@ void KviCustomToolBar::endCustomize()
+ {
+ // stop filtering events
+ #ifdef COMPILE_USE_QT4
+- TQList<TQObject*> l = tqchildren();
++ TQList<TQObject*> l = children();
+ for(TQList<TQObject*>::Iterator it = l.begin();it != l.end();++it)
+ {
+ if((*it)->isWidgetType())
+@@ -209,7 +209,7 @@ void KviCustomToolBar::endCustomize()
+ ++it;
+ }
+ #endif
+- // FIXME: We SHOULD MAKE SURE that the tqchildren are re-enabled...
++ // FIXME: We SHOULD MAKE SURE that the children are re-enabled...
+ // this could be done by calling setEnabled(isEnabled()) on each action ?
+ if(m_pFilteredChildren)
+ {
+@@ -238,7 +238,7 @@ void KviCustomToolBar::childEvent(TQChildEvent *e)
+ {
+ if(KviActionManager::customizingToolBars())
+ {
+- // this is useful for droppped and dragged-out tqchildren
++ // this is useful for droppped and dragged-out children
+ if(e->type() == TQEvent::ChildInserted)
+ {
+ if(e->child()->isWidgetType())
+@@ -345,7 +345,7 @@ int KviCustomToolBar::dropIndexAt(const TQPoint &pnt,TQWidget * exclude,int * ex
+ if(!l)return 0;
+ TQLayoutIterator it = l->iterator();
+
+- // find the tqchildren with minimum distance
++ // find the children with minimum distance
+ int iMinDistIdx = -1;
+ TQWidget * pMinDistW = 0;
+ unsigned int uMinDist = 0xffffffff;
+@@ -527,11 +527,11 @@ bool KviCustomToolBar::eventFilter(TQObject *o,TQEvent *e)
+ if(!KviActionManager::customizingToolBars())goto unhandled; // anything here is done when customizing only
+ if(e->type() == TQEvent::Enter)
+ {
+- if(m_pMovedChild)return true; // kill it while moving other tqchildren
++ if(m_pMovedChild)return true; // kill it while moving other children
+ }
+ if(e->type() == TQEvent::Leave)
+ {
+- if(m_pMovedChild)return true; // kill it while moving other tqchildren
++ if(m_pMovedChild)return true; // kill it while moving other children
+ }
+ if(e->type() == TQEvent::MouseButtonPress)
+ {
+@@ -550,7 +550,7 @@ bool KviCustomToolBar::eventFilter(TQObject *o,TQEvent *e)
+ ))
+ {
+ m_pMovedChild = (TQWidget *)o;
+- // allow resizing of tqchildren
++ // allow resizing of children
+ // FIXME: do it only if the child is really resizable
+ if(m_pMovedChild->width() > 20) // might be an applet
+ {
+diff --git a/src/kvirc/ui/kvi_frame.cpp b/src/kvirc/ui/kvi_frame.cpp
+index 96c63e6..49084c3 100644
+--- a/src/kvirc/ui/kvi_frame.cpp
++++ b/src/kvirc/ui/kvi_frame.cpp
+@@ -1085,7 +1085,7 @@ void KviFrame::fillToolBarsPopup(KviTalPopupMenu * p)
+ {
+ for(KviModuleExtensionDescriptor * d = l->first();d;d = l->next())
+ {
+- TQString label = __tr2qs("Show %1").tqarg(d->visibleName());
++ TQString label = __tr2qs("Show %1").arg(d->visibleName());
+ if(d->icon())id = p->insertItem(*(d->icon()),label);
+ else id = p->insertItem(label);
+ p->setItemChecked(id,moduleExtensionToolBar(d->id()));
+@@ -1101,7 +1101,7 @@ void KviFrame::fillToolBarsPopup(KviTalPopupMenu * p)
+ if(cnt > 0)p->insertSeparator();
+ while(KviCustomToolBarDescriptor * d = it2.current())
+ {
+- TQString label = __tr2qs("Show %1").tqarg(d->label());
++ TQString label = __tr2qs("Show %1").arg(d->label());
+ TQString ico = d->iconId();
+ // use the icon only if there is no check
+ if(d->toolBar())
+diff --git a/src/kvirc/ui/kvi_frame.h b/src/kvirc/ui/kvi_frame.h
+index 5f18eb4..cf5c430 100644
+--- a/src/kvirc/ui/kvi_frame.h
++++ b/src/kvirc/ui/kvi_frame.h
+@@ -110,7 +110,7 @@ protected:
+ KviDockExtension * m_pDockExtension; // the frame's dock extension: this should be prolly moved ?
+ KviAccel * m_pAccel; // the global accelelrator
+ public:
+- // the mdi manager: handles mdi tqchildren
++ // the mdi manager: handles mdi children
+ KviMdiManager * mdiManager(){ return m_pMdi; };
+ // the splitter is the central widget for this frame
+ TQSplitter * splitter(){ return m_pSplitter; };
+diff --git a/src/kvirc/ui/kvi_input.cpp b/src/kvirc/ui/kvi_input.cpp
+index 5445738..5d2e1c6 100644
+--- a/src/kvirc/ui/kvi_input.cpp
++++ b/src/kvirc/ui/kvi_input.cpp
+@@ -1325,7 +1325,7 @@ void KviInputEditor::imComposeEvent(TQIMEvent *e)
+ #endif
+
+
+- // tqrepaint
++ // repaint
+ m_bUpdatesEnabled = true;
+ repaintWithCursorOn();
+ e->accept();
+@@ -1347,7 +1347,7 @@ void KviInputEditor::imEndEvent(TQIMEvent *e)
+ // move cursor to after the IM result text
+ moveCursorTo(m_iIMStart + m_iIMLength);
+
+- // tqrepaint
++ // repaint
+ m_bUpdatesEnabled = true;
+ repaintWithCursorOn();
+
+@@ -2497,7 +2497,7 @@ void KviInput::keyPressEvent(TQKeyEvent *e)
+ "here to prevent you from accidentally sending<br>" \
+ "a really large message just because you didn't edit it<br>" \
+ "properly after pasting text from the clipboard.<br><br>" \
+- "Do you want the message to be sent?").tqarg(nLines),
++ "Do you want the message to be sent?").arg(nLines),
+ __tr2qs("Yes, always"),
+ __tr2qs("Yes"),
+ __tr2qs("No"),
+@@ -2543,7 +2543,7 @@ void KviInput::multilineEditorButtonToggled(bool bOn)
+ KviScriptEditor::destroyInstance(m_pMultiLineEditor);
+ m_pMultiLineEditor = 0;
+ m_pInputEditor->show();
+- m_pWindow->tqchildrenTreeChanged(0);
++ m_pWindow->childrenTreeChanged(0);
+ m_pInputEditor->setFocus();
+ m_pMultiEditorButton->setOn(false);
+ } else {
+@@ -2556,7 +2556,7 @@ void KviInput::multilineEditorButtonToggled(bool bOn)
+ m_pMultiLineEditor->setFindLineeditReadOnly(true);
+ m_pInputEditor->hide();
+ m_pMultiLineEditor->show();
+- m_pWindow->tqchildrenTreeChanged(m_pMultiLineEditor);
++ m_pWindow->childrenTreeChanged(m_pMultiLineEditor);
+ m_pMultiLineEditor->setFocus();
+ m_pMultiEditorButton->setOn(true);
+ }
+@@ -2596,14 +2596,14 @@ void KviInput::historyButtonClicked()
+
+ void KviInput::setFocus()
+ {
+- // redirect setFocus() to the right tqchildren
++ // redirect setFocus() to the right children
+ if(m_pMultiLineEditor)m_pMultiLineEditor->setFocus();
+ else m_pInputEditor->setFocus();
+ }
+
+ void KviInput::focusInEvent(TQFocusEvent * e)
+ {
+- // if we get a focus in event , redirect the focus to the tqchildren
++ // if we get a focus in event , redirect the focus to the children
+ if(m_pMultiLineEditor)m_pMultiLineEditor->setFocus();
+ else m_pInputEditor->setFocus();
+ }
+diff --git a/src/kvirc/ui/kvi_ircview.cpp b/src/kvirc/ui/kvi_ircview.cpp
+index 9d469f7..9eb166c 100644
+--- a/src/kvirc/ui/kvi_ircview.cpp
++++ b/src/kvirc/ui/kvi_ircview.cpp
+@@ -290,7 +290,7 @@ KviIrcView::KviIrcView(TQWidget *parent,KviFrame *pFrm,KviWindow *pWnd)
+ #ifdef COMPILE_USE_QT4
+ setAttribute(TQt::WA_NoSystemBackground); // This disables automatic qt double buffering
+ setAttribute(TQt::WA_OpaquePaintEvent);
+- //setAttribute(TQt::WA_PaintOnScreen); // disable qt backing store (that would force us to trigger tqrepaint() instead of the 10 times faster paintEvent(0))
++ //setAttribute(TQt::WA_PaintOnScreen); // disable qt backing store (that would force us to trigger repaint() instead of the 10 times faster paintEvent(0))
+ #endif
+
+ m_iFlushTimer = 0;
+@@ -346,7 +346,7 @@ KviIrcView::KviIrcView(TQWidget *parent,KviFrame *pFrm,KviWindow *pWnd)
+ m_pMessagesStoppedWhileSelecting = new KviPointerList<KviIrcViewLine>;
+ m_pMessagesStoppedWhileSelecting->setAutoDelete(false);
+
+- // say qt to avoid erasing on tqrepaint
++ // say qt to avoid erasing on repaint
+ #ifdef COMPILE_USE_QT4
+ setAutoFillBackground(false);
+ #else
+@@ -723,7 +723,7 @@ bool KviIrcView::startLogging(const TQString& fname,bool bPrependCurBuffer)
+
+ void KviIrcView::add2Log(const TQString &szBuffer,int iMsgType)
+ {
+- TQString szToWrite=TQString("%1 %2\n").tqarg(iMsgType).tqarg(szBuffer);
++ TQString szToWrite=TQString("%1 %2\n").arg(iMsgType).arg(szBuffer);
+ KviTQCString szTmp = KviTQString::toUtf8(szToWrite);
+ if(m_pLogFile->writeBlock(szTmp.data(),szTmp.length())==-1) debug("WARNING : Can not write to the log file.");
+ }
+@@ -900,7 +900,7 @@ void KviIrcView::scrollBarPositionChanged(int newValue)
+ }
+ }
+ if(!m_bSkipScrollBarRepaint)
+- tqrepaint();
++ repaint();
+ //update();
+ // if(!m_bSkipScrollBarRepaint)postUpdateEvent();
+ }
+@@ -911,7 +911,7 @@ bool KviIrcView::event(TQEvent *e)
+ {
+ __range_valid(m_bPostedPaintEventPending);
+ if(m_iUnprocessedPaintEventRequests)
+- tqrepaint();
++ repaint();
+ // else we just had a pointEvent that did the job
+ m_bPostedPaintEventPending = false;
+ return true;
+@@ -935,12 +935,12 @@ void KviIrcView::wheelEvent(TQWheelEvent *e)
+
+ void KviIrcView::postUpdateEvent()
+ {
+- // This will post a TQEvent with a full tqrepaint request
++ // This will post a TQEvent with a full repaint request
+ if(!m_bPostedPaintEventPending)
+ {
+ m_bPostedPaintEventPending = true;
+ TQEvent *e = new TQEvent(TQEvent::User);
+- g_pApp->postEvent(this,e); // queue a tqrepaint
++ g_pApp->postEvent(this,e); // queue a repaint
+ }
+
+ m_iUnprocessedPaintEventRequests++; // paintEvent() will set it to 0
+@@ -956,7 +956,7 @@ void KviIrcView::postUpdateEvent()
+ fastScroll(3);
+ #endif
+ else
+- tqrepaint();
++ repaint();
+ }
+ }
+
+@@ -1093,7 +1093,7 @@ void KviIrcView::removeHeadLine(bool bRepaint)
+ m_pLastLine = 0;
+ }
+ if(bRepaint)
+- tqrepaint();
++ repaint();
+ }
+
+ void KviIrcView::splitMessagesTo(KviIrcView *v)
+@@ -1150,12 +1150,12 @@ void KviIrcView::splitMessagesTo(KviIrcView *v)
+ m_pScrollBar->setRange(0,m_iNumLines);
+ m_pScrollBar->setValue(m_iNumLines);
+
+- tqrepaint();
++ repaint();
+
+ v->m_iLastScrollBarValue = v->m_iNumLines;
+ v->m_pScrollBar->setRange(0,v->m_iNumLines);
+ v->m_pScrollBar->setValue(v->m_iNumLines);
+- v->tqrepaint();
++ v->repaint();
+
+ }
+
+@@ -1183,7 +1183,7 @@ void KviIrcView::appendMessagesFrom(KviIrcView *v)
+ m_pScrollBar->setRange(0,m_iNumLines);
+ m_pScrollBar->setValue(m_iNumLines);
+
+- tqrepaint();
++ repaint();
+ }
+
+ void KviIrcView::joinMessagesFrom(KviIrcView *v)
+@@ -1243,7 +1243,7 @@ void KviIrcView::joinMessagesFrom(KviIrcView *v)
+ m_pScrollBar->setRange(0,m_iNumLines);
+ m_pScrollBar->setValue(m_iNumLines);
+
+- tqrepaint();
++ repaint();
+ }
+
+ void KviIrcView::appendText(int iMsgType,const kvi_wchar_t *data_ptr,int iFlags)
+@@ -2713,8 +2713,8 @@ void KviIrcView::fastScroll(int lines)
+ if(!m_pFm)
+ {
+ // We must get the metrics from a real paint event :/
+- // must do a full tqrepaint to get them...
+- tqrepaint();
++ // must do a full repaint to get them...
++ repaint();
+ return;
+ }
+
+@@ -2788,7 +2788,7 @@ void KviIrcView::paintEvent(TQPaintEvent *p)
+ int widgetWidth = width() - scrollbarWidth;
+ if(!isVisible() || (widgetWidth < 20))
+ {
+- m_iUnprocessedPaintEventRequests = 0; // assume a full tqrepaint when this widget is shown...
++ m_iUnprocessedPaintEventRequests = 0; // assume a full repaint when this widget is shown...
+ return; //can't show stuff here
+ }
+
+@@ -2800,7 +2800,7 @@ void KviIrcView::paintEvent(TQPaintEvent *p)
+ (m_pKviWindow->mdiParent() != g_pFrame->mdiManager()->topChild()) &&
+ (m_pKviWindow->mdiParent()))
+ {
+- m_iUnprocessedPaintEventRequests = 0; // assume a full tqrepaint when this widget is shown...
++ m_iUnprocessedPaintEventRequests = 0; // assume a full repaint when this widget is shown...
+ return; // totally hidden behind other windows
+ }
+
+@@ -3955,7 +3955,7 @@ void KviIrcView::toggleToolWidget()
+ delete m_pToolWidget;
+ m_pToolWidget = 0;
+ m_pCursorLine = 0;
+- tqrepaint();
++ repaint();
+
+ } else {
+ m_pToolWidget = new KviIrcViewToolWidget(this);
+@@ -3979,7 +3979,7 @@ void KviIrcView::setCursorLine(KviIrcViewLine * l)
+ if(m_pCursorLine == m_pCurLine)
+ {
+
+- tqrepaint();
++ repaint();
+
+ return;
+ }
+@@ -4000,7 +4000,7 @@ void KviIrcView::setCursorLine(KviIrcViewLine * l)
+ m_iLastScrollBarValue = sc;
+ m_pScrollBar->setValue(sc);
+ } else {
+- tqrepaint();
++ repaint();
+ }
+ } else {
+ // The cursor line is over the current line
+@@ -4034,7 +4034,7 @@ void KviIrcView::setCursorLine(KviIrcViewLine * l)
+ m_iLastScrollBarValue = sc;
+ m_pScrollBar->setValue(sc);
+ } else {
+- tqrepaint();
++ repaint();
+ }
+ }
+ }
+@@ -4086,7 +4086,7 @@ do_pNext:
+ } while(l != start);
+ }
+ m_pCursorLine = 0;
+- tqrepaint();
++ repaint();
+ if(m_pToolWidget)m_pToolWidget->setFindResult(__tr2qs("Not found"));
+ }
+
+@@ -4140,7 +4140,7 @@ do_pPrev:
+ }
+ m_pCursorLine = 0;
+
+- tqrepaint();
++ repaint();
+ if(m_pToolWidget)m_pToolWidget->setFindResult(__tr2qs("Not found"));
+ }
+
+@@ -4302,12 +4302,12 @@ KviIrcViewWrappedBlock * KviIrcView::getLinkUnderMouse(int xPos,int yPos,TQRect
+ szLink.append(TQChar(KVI_TEXT_COLOR));
+ if(l->pBlocks[iEndOfLInk].pChunk->colors.fore != KVI_NOCHANGE)
+ {
+- szLink.append(TQString("%1").tqarg((int)(l->pBlocks[iEndOfLInk].pChunk->colors.fore)));
++ szLink.append(TQString("%1").arg((int)(l->pBlocks[iEndOfLInk].pChunk->colors.fore)));
+ }
+ if(l->pBlocks[iEndOfLInk].pChunk->colors.back != KVI_NOCHANGE)
+ {
+ szLink.append(TQChar(','));
+- szLink.append(TQString("%1").tqarg((int)(l->pBlocks[iEndOfLInk].pChunk->colors.back)));
++ szLink.append(TQString("%1").arg((int)(l->pBlocks[iEndOfLInk].pChunk->colors.back)));
+ }
+ break;
+ }
+@@ -4581,7 +4581,7 @@ void KviIrcView::mouseDoubleClickEvent(TQMouseEvent *e)
+ c->raise();
+ c->setFocus();
+ } else {
+- cmd = TQString("join %1").tqarg(szChan);
++ cmd = TQString("join %1").arg(szChan);
+ }
+ }
+ }
+@@ -4619,7 +4619,7 @@ void KviIrcView::mousePressEvent(TQMouseEvent *e)
+ if(m_pToolWidget)
+ {
+ m_pCursorLine = getVisibleLineAt(e->pos().x(),e->pos().y());
+- tqrepaint();
++ repaint();
+ }
+
+ m_mousePressPos = e->pos();
+@@ -4802,7 +4802,7 @@ void KviIrcView::mouseReleaseEvent(TQMouseEvent *)
+ m_pMessagesStoppedWhileSelecting->removeFirst();
+ appendLine(l,false);
+ }
+- tqrepaint();
++ repaint();
+ }
+ }
+
+@@ -4858,11 +4858,11 @@ void KviIrcView::mouseMoveEvent(TQMouseEvent *e)
+ int lastBottom = m_iLastLinkRectTop + m_iLastLinkRectHeight;
+ int thisBottom = rectTop + rectHeight;
+ TQRect r(0,top,width(),((lastBottom > thisBottom) ? lastBottom : thisBottom) - top);
+- tqrepaint(r);
++ repaint(r);
+ } else {
+ // no prev link
+ TQRect r(0,rectTop,width(),rectHeight);
+- tqrepaint(r);
++ repaint(r);
+ }
+ m_iLastLinkRectTop = rectTop;
+ m_iLastLinkRectHeight = rectHeight;
+@@ -4872,7 +4872,7 @@ void KviIrcView::mouseMoveEvent(TQMouseEvent *e)
+ {
+ // There was a previous bottom rect
+ TQRect r(0,m_iLastLinkRectTop,width(),m_iLastLinkRectHeight);
+- tqrepaint(r);
++ repaint(r);
+ m_iLastLinkRectTop = -1;
+ m_iLastLinkRectHeight = -1;
+ }
+@@ -5100,7 +5100,7 @@ void KviIrcView::timerEvent(TQTimerEvent *e)
+ if(e->timerId() == m_iSelectTimer)
+ {
+ calculateSelectionBounds();
+- tqrepaint();
++ repaint();
+ }
+ if(e->timerId() == m_iMouseTimer)
+ {
+diff --git a/src/kvirc/ui/kvi_ircviewtools.cpp b/src/kvirc/ui/kvi_ircviewtools.cpp
+index c6f4138..d60ba16 100644
+--- a/src/kvirc/ui/kvi_ircviewtools.cpp
++++ b/src/kvirc/ui/kvi_ircviewtools.cpp
+@@ -278,7 +278,7 @@ void KviIrcViewToolWidget::filterSave()
+ void KviIrcViewToolWidget::forceRepaint()
+ {
+ #if defined(COMPILE_USE_QT4) && defined(COMPILE_ON_WINDOWS)
+- m_pIrcView->tqrepaint();
++ m_pIrcView->repaint();
+ #else
+ m_pIrcView->paintEvent(0);
+ #endif
+diff --git a/src/kvirc/ui/kvi_listview.cpp b/src/kvirc/ui/kvi_listview.cpp
+index c0dd4ba..168db46 100644
+--- a/src/kvirc/ui/kvi_listview.cpp
++++ b/src/kvirc/ui/kvi_listview.cpp
+@@ -190,7 +190,7 @@ void KviListView::resizeEvent(TQResizeEvent * e)
+ {
+ KviTalListView::resizeEvent(e);
+ if(m_pBackgroundOverlayPixmap)
+- repaintContents(); // force a full tqrepaint (otherwise qt does not honor static background here)
++ repaintContents(); // force a full repaint (otherwise qt does not honor static background here)
+ }
+
+ #ifdef COMPILE_ON_WINDOWS
+diff --git a/src/kvirc/ui/kvi_mdichild.cpp b/src/kvirc/ui/kvi_mdichild.cpp
+index 248a2a1..1a8dccc 100644
+--- a/src/kvirc/ui/kvi_mdichild.cpp
++++ b/src/kvirc/ui/kvi_mdichild.cpp
+@@ -112,7 +112,7 @@ TQRect KviMdiChild::restoredGeometry()
+ {
+ if(m_state == Maximized)return m_restoredGeometry;
+ else return TQRect(x(),y(),width(),height());
+-// else return tqgeometry();
++// else return geometry();
+
+ }
+
+@@ -172,7 +172,7 @@ void KviMdiChild::setCaption(const TQString & plain,const TQString & xmlActive,c
+ void KviMdiChild::maximize()
+ {
+ if(m_state == Minimized)restore(); // restore first
+- if(m_state == Normal)m_restoredGeometry = tqgeometry();
++ if(m_state == Normal)m_restoredGeometry = geometry();
+ m_state = Maximized;
+ manager()->maximizeChild(this);
+ }
+@@ -225,7 +225,7 @@ void KviMdiChild::minimize()
+ m_pManager->childMinimized(this,true);
+ break;
+ case Normal:
+- m_restoredGeometry = tqgeometry();
++ m_restoredGeometry = geometry();
+ hide();
+ m_state = Minimized;
+ m_pManager->childMinimized(this,false);
+diff --git a/src/kvirc/ui/kvi_mdimanager.cpp b/src/kvirc/ui/kvi_mdimanager.cpp
+index 59f5850..607f699 100644
+--- a/src/kvirc/ui/kvi_mdimanager.cpp
++++ b/src/kvirc/ui/kvi_mdimanager.cpp
+@@ -199,7 +199,7 @@ void KviMdiManager::setTopChild(KviMdiChild *lpC,bool bSetFocus)
+ return; // no such child ?
+ }
+
+- // disable the labels of all the other tqchildren
++ // disable the labels of all the other children
+ //for(KviMdiChild *pC=m_pZ->first();pC;pC=m_pZ->next())
+ //{
+ // pC->captionLabel()->setActive(false);
+@@ -313,7 +313,7 @@ void KviMdiManager::childMoved(KviMdiChild *)
+
+ void KviMdiManager::maximizeChild(KviMdiChild * lpC)
+ {
+- // the tqchildren must be moved once by the means of TQScrollView::moveChild()
++ // the children must be moved once by the means of TQScrollView::moveChild()
+ // so the TQScrollView internal structures get updated with the negative
+ // position of the widget, otherwise, when restoring with moveChild()
+ // it will refuse to move it back to the original position
+@@ -338,14 +338,14 @@ void KviMdiManager::maximizeChild(KviMdiChild * lpC)
+ lpC->setFocus();
+ }
+
+- // fixme: we could hide all the other tqchildren now!
++ // fixme: we could hide all the other children now!
+ }
+
+
+
+ void KviMdiManager::resizeEvent(TQResizeEvent *e)
+ {
+- //If we have a maximized tqchildren at the top , adjust its size
++ //If we have a maximized children at the top , adjust its size
+ KviTalScrollView::resizeEvent(e);
+ KviMdiChild *lpC=m_pZ->last();
+ if(lpC)
+@@ -431,7 +431,7 @@ void KviMdiManager::focusTopChild()
+ if(!lpC->isVisible())return;
+ // if(lpC->state()==KviMdiChild::Minimized)return;
+ // debug("Focusing top child %s",lpC->name());
+- //disable the labels of all the other tqchildren
++ //disable the labels of all the other children
+ for(KviMdiChild *pC=m_pZ->first();pC;pC=m_pZ->next())
+ {
+ if(pC != lpC)
+diff --git a/src/kvirc/ui/kvi_modew.cpp b/src/kvirc/ui/kvi_modew.cpp
+index 7c817dd..9f9aba0 100755
+--- a/src/kvirc/ui/kvi_modew.cpp
++++ b/src/kvirc/ui/kvi_modew.cpp
+@@ -75,9 +75,9 @@ void KviModeWidget::refreshModes()
+ {
+ TQString szMode=m_pChannel->channelMode();
+ if(!m_pChannel->channelKey().isEmpty())
+- szMode+=TQString(" k:%1").tqarg(m_pChannel->channelKey());
++ szMode+=TQString(" k:%1").arg(m_pChannel->channelKey());
+ if(!m_pChannel->channelLimit().isEmpty())
+- szMode+=TQString(" l:%1").tqarg(m_pChannel->channelLimit().ptr());
++ szMode+=TQString(" l:%1").arg(m_pChannel->channelLimit().ptr());
+ if(m_pLabel)
+ m_pLabel->setText(szMode);
+ }
+diff --git a/src/kvirc/ui/kvi_query.cpp b/src/kvirc/ui/kvi_query.cpp
+index a5455bb..ef70a1d 100644
+--- a/src/kvirc/ui/kvi_query.cpp
++++ b/src/kvirc/ui/kvi_query.cpp
+@@ -167,9 +167,9 @@ TQString KviQuery::getInfoLabelTipText()
+ txt += "<tr><td>";
+
+ if(e->hasRealName())
+- tmp=__tr2qs("%1 is %2 (%3)").tqarg(m_szName).tqarg(szMask).tqarg(KviMircCntrl::stripControlBytes(e->realName()));
++ tmp=__tr2qs("%1 is %2 (%3)").arg(m_szName).arg(szMask).arg(KviMircCntrl::stripControlBytes(e->realName()));
+ else
+- tmp=__tr2qs("%1 is %2").tqarg(m_szName).tqarg(szMask);
++ tmp=__tr2qs("%1 is %2").arg(m_szName).arg(szMask);
+
+ tmp.replace('&',"&amp;");
+ tmp.replace('<',"&lt;");
+@@ -183,21 +183,21 @@ TQString KviQuery::getInfoLabelTipText()
+ {
+ txt+="<tr><td>";
+ if(e->hasHops())
+- txt+=__tr2qs("%1 is using irc server: %2 (%3 hops)").tqarg(m_szName).tqarg(e->server()).tqarg(e->hops());
++ txt+=__tr2qs("%1 is using irc server: %2 (%3 hops)").arg(m_szName).arg(e->server()).arg(e->hops());
+ else
+- txt+=__tr2qs("%1 is using irc server: %2").tqarg(m_szName).tqarg(e->server());
++ txt+=__tr2qs("%1 is using irc server: %2").arg(m_szName).arg(e->server());
+ txt+="</td></tr>";
+ }
+
+ if(e->isAway())
+ {
+ txt+="<tr><td>";
+- txt+=__tr2qs("%1 is probably away").tqarg(m_szName);
++ txt+=__tr2qs("%1 is probably away").arg(m_szName);
+ txt+="</td></tr>";
+ }
+
+ txt+="<tr><td>";
+- tmp=__tr2qs("Common channels with %1: %2").tqarg(m_szName).tqarg(szChans);
++ tmp=__tr2qs("Common channels with %1: %2").arg(m_szName).arg(szChans);
+
+ tmp.replace('&',"&amp;");
+ tmp.replace('<',"&lt;");
+@@ -237,19 +237,19 @@ TQString KviQuery::getInfoLabelText()
+ else
+ szMask+="*";
+ if(e->hasRealName())
+- tmp=__tr2qs("Query with %1!%2 (%3)").tqarg(m_szName).tqarg(szMask).tqarg(KviMircCntrl::stripControlBytes(e->realName()));
++ tmp=__tr2qs("Query with %1!%2 (%3)").arg(m_szName).arg(szMask).arg(KviMircCntrl::stripControlBytes(e->realName()));
+ else
+- tmp=__tr2qs("Query with %1!%2").tqarg(m_szName).tqarg(szMask);
++ tmp=__tr2qs("Query with %1!%2").arg(m_szName).arg(szMask);
+ if(e->hasServer())
+- tmp+=__tr2qs(", using server %1").tqarg(e->server());
++ tmp+=__tr2qs(", using server %1").arg(e->server());
+ if(e->hasHops())
+- tmp+=__tr2qs(" (%1 hops)").tqarg(e->hops());
++ tmp+=__tr2qs(" (%1 hops)").arg(e->hops());
+ if(e->isAway())
+ tmp+=__tr2qs(", probably away");
+ tmp+="\n";
+ TQString szChans;
+ connection()->getCommonChannels(m_szName,szChans,0);
+- tmp+=__tr2qs("Common channels: %2").tqarg(szChans);
++ tmp+=__tr2qs("Common channels: %2").arg(szChans);
+ } else {
+ tmp=__tr2qs("[Dead Query]");
+ }
+diff --git a/src/kvirc/ui/kvi_splash.cpp b/src/kvirc/ui/kvi_splash.cpp
+index d91be01..d3783c0 100644
+--- a/src/kvirc/ui/kvi_splash.cpp
++++ b/src/kvirc/ui/kvi_splash.cpp
+@@ -160,7 +160,7 @@ void KviSplashScreen::setProgress(int progress)
+ painter.end();
+ #endif
+ //raise();
+- tqrepaint();
++ repaint();
+ g_pApp->processEvents(); //damn...
+ }
+
+diff --git a/src/kvirc/ui/kvi_styled_controls.cpp b/src/kvirc/ui/kvi_styled_controls.cpp
+index e67cef1..6f7e8e6 100644
+--- a/src/kvirc/ui/kvi_styled_controls.cpp
++++ b/src/kvirc/ui/kvi_styled_controls.cpp
+@@ -84,7 +84,7 @@ void KviStyledControlInternal::paintTimerShot ()
+ m_pControl->m_pTimer->stop();
+ }
+ }
+- m_pControl->m_pWidget->tqrepaint( false );
++ m_pControl->m_pWidget->repaint( false );
+ }
+
+ KviStyledControl::KviStyledControl(TQWidget* w)
+@@ -118,7 +118,7 @@ void KviStyledControl::enterEvent ( TQEvent * )
+ }
+ m_bMouseEnter=1;
+ m_iStepNumber++;
+- m_pWidget->tqrepaint( false );
++ m_pWidget->repaint( false );
+ }
+ }
+
+@@ -137,7 +137,7 @@ void KviStyledControl::leaveEvent ( TQEvent * )
+ }
+ m_bMouseEnter=0;
+ m_iStepNumber--;
+- m_pWidget->tqrepaint( false );
++ m_pWidget->repaint( false );
+ }
+ }
+
+diff --git a/src/kvirc/ui/kvi_taskbar.cpp b/src/kvirc/ui/kvi_taskbar.cpp
+index 952501f..171e411 100644
+--- a/src/kvirc/ui/kvi_taskbar.cpp
++++ b/src/kvirc/ui/kvi_taskbar.cpp
+@@ -421,7 +421,7 @@ void KviTaskBarButton::setProgress(int progress)
+ {
+ if(progress == m_iProgress)return;
+ m_iProgress = progress;
+- update(); // tqrepaint(false) ?
++ update(); // repaint(false) ?
+ }
+
+ void KviTaskBarButton::unhighlight()
+@@ -439,7 +439,7 @@ void KviTaskBarButton::highlight(int iLevel)
+ m_iHighlightLevel = iLevel;
+ if(g_pFrame->dockExtension())g_pFrame->dockExtension()->refresh();
+ if(m_bActive)return;
+- update(); // tqrepaint(false) ?
++ update(); // repaint(false) ?
+ }
+
+
+@@ -833,7 +833,7 @@ void KviTreeTaskBarItem::applyOptions()
+ void KviTreeTaskBarItem::captionChanged()
+ {
+ // FIXME: can we do better ?
+- tqrepaint();
++ repaint();
+ }
+
+ void KviTreeTaskBarItem::unhighlight()
+@@ -841,7 +841,7 @@ void KviTreeTaskBarItem::unhighlight()
+ if(m_iHighlightLevel < 1)return;
+ m_iHighlightLevel = 0;
+ if(g_pFrame->dockExtension())g_pFrame->dockExtension()->refresh();
+- tqrepaint();
++ repaint();
+ }
+
+ void KviTreeTaskBarItem::highlight(int iLevel)
+@@ -851,14 +851,14 @@ void KviTreeTaskBarItem::highlight(int iLevel)
+ m_iHighlightLevel = iLevel;
+ if(g_pFrame->dockExtension())g_pFrame->dockExtension()->refresh();
+ if(isSelected())return;
+- tqrepaint(); // tqrepaint(false) ?
++ repaint(); // repaint(false) ?
+ }
+
+ void KviTreeTaskBarItem::setProgress(int progress)
+ {
+ if(progress == m_iProgress)return;
+ m_iProgress = progress;
+- tqrepaint(); // tqrepaint(false) ?
++ repaint(); // repaint(false) ?
+ }
+
+ void KviTreeTaskBarItem::setActive(bool bActive)
+@@ -868,7 +868,7 @@ void KviTreeTaskBarItem::setActive(bool bActive)
+ // m_bHighlighted = false;
+ // m_bAltColor = false;
+ m_iHighlightLevel = 0;
+- // was not selected: the listView will tqrepaint it
++ // was not selected: the listView will repaint it
+ } else {
+ if(isSelected())
+ {
+@@ -876,7 +876,7 @@ void KviTreeTaskBarItem::setActive(bool bActive)
+ // m_bHighlighted = false;
+ // m_bAltColor = false;
+ m_iHighlightLevel = 0;
+- // was selected: the list view will tqrepaint it
++ // was selected: the list view will repaint it
+ }
+ }
+ }
+@@ -1081,7 +1081,7 @@ void KviTreeTaskBarItem::timerShot()
+ m_pAnimTimer->stop();
+ m_iStepNumber=0; //make shure, that we cannot get out of range
+ }
+- tqrepaint();
++ repaint();
+ }
+
+ void KviTreeTaskBarItem::mouseEnter()
+@@ -1405,7 +1405,7 @@ KviTaskBarItem * KviTreeTaskBar::nextItem()
+ {
+ m_pCurrentItem = (KviTreeTaskBarItem *)m_pCurrentItem->firstChild();
+ } else {
+- // this item has no tqchildren: try the next sibling
++ // this item has no children: try the next sibling
+ if(m_pCurrentItem->nextSibling())
+ {
+ m_pCurrentItem = (KviTreeTaskBarItem *)m_pCurrentItem->nextSibling();
+diff --git a/src/kvirc/ui/kvi_taskbar.h b/src/kvirc/ui/kvi_taskbar.h
+index 9e9ebe2..6c5794c 100644
+--- a/src/kvirc/ui/kvi_taskbar.h
++++ b/src/kvirc/ui/kvi_taskbar.h
+@@ -226,7 +226,7 @@ protected:
+ int m_iBlueDiff;
+ public:
+ virtual TQString key(int column,bool) const;
+- virtual void paintCell(TQPainter *p,const TQColorGroup &cg,int column,int width,int tqalignment);
++ virtual void paintCell(TQPainter *p,const TQColorGroup &cg,int column,int width,int alignment);
+ #ifdef COMPILE_USE_QT4
+ virtual void paintBranches(TQPainter *p,const TQColorGroup &cg,int w,int y,int h);
+ #else
+diff --git a/src/kvirc/ui/kvi_userlistview.cpp b/src/kvirc/ui/kvi_userlistview.cpp
+index cc3d866..d86b864 100644
+--- a/src/kvirc/ui/kvi_userlistview.cpp
++++ b/src/kvirc/ui/kvi_userlistview.cpp
+@@ -305,7 +305,7 @@ void KviUserListView::applyOptions()
+ m_pUsersLabel->setFont(KVI_OPTION_FONT(KviOption_fontUserListView));
+ setMinimumWidth(100);
+ resizeEvent(0); // this will call update() too
+- tqrepaint();
++ repaint();
+ }
+ void KviUserListView::updateArea()
+ {
+@@ -1281,7 +1281,7 @@ void KviUserListView::maybeTip(KviUserListToolTip * tip,const TQPoint &pnt)
+ TQDateTime dt;
+ dt.setTime_t(it->m_joinTime);
+ buffer += "<tr><td bgcolor=\"#F0F0F0\"><nobr>";
+- buffer += __tr2qs("Joined on <b>%1</b>").tqarg(dt.toString());
++ buffer += __tr2qs("Joined on <b>%1</b>").arg(dt.toString());
+ buffer += "</nobr></td></tr>";
+ }
+
+@@ -1293,7 +1293,7 @@ void KviUserListView::maybeTip(KviUserListToolTip * tip,const TQPoint &pnt)
+ int hors = mins / 60;
+ mins = mins % 60;
+ buffer += "<tr><td bgcolor=\"#F0F0F0\"><nobr>";
+- buffer += __tr2qs("Quiet for <b>%1h %2m %3s</b>").tqarg(hors).tqarg(mins).tqarg(secs);
++ buffer += __tr2qs("Quiet for <b>%1h %2m %3s</b>").arg(hors).arg(mins).arg(secs);
+ buffer += "</nobr></td></tr>";
+ }
+ buffer += "</table>";
+diff --git a/src/kvirc/ui/kvi_window.cpp b/src/kvirc/ui/kvi_window.cpp
+index e0c8621..a4828bf 100644
+--- a/src/kvirc/ui/kvi_window.cpp
++++ b/src/kvirc/ui/kvi_window.cpp
+@@ -1006,7 +1006,7 @@ void KviWindow::focusInEvent(TQFocusEvent *)
+ if(m_pIrcView)m_pFocusHandler = m_pIrcView;
+ else {
+ #ifdef COMPILE_USE_QT4
+- TQList<TQObject *> list = tqchildren();
++ TQList<TQObject *> list = children();
+ for(TQList<TQObject *>::Iterator it = list.begin();it != list.end();++it)
+ {
+ TQObject * c = *it;
+@@ -1042,7 +1042,7 @@ void KviWindow::focusInEvent(TQFocusEvent *)
+ }
+
+ // Setting the focus to the focus handler usually
+- // triggers our filter for the tqchildren's focusInEvent.
++ // triggers our filter for the children's focusInEvent.
+ // This should call activateSelf() and thus
+ // we should be already the active window at this point.
+ // If we're not, then run activateSelf() to fix this.
+@@ -1124,7 +1124,7 @@ void KviWindow::childInserted(TQWidget * o)
+ }
+
+ #ifdef COMPILE_USE_QT4
+- TQList<TQObject *> list = o->tqchildren();
++ TQList<TQObject *> list = o->children();
+ for(TQList<TQObject *>::Iterator it = list.begin();it != list.end();++it)
+ {
+ TQObject * c = *it;
+@@ -1162,7 +1162,7 @@ void KviWindow::childRemoved(TQWidget * o)
+ m_pLastFocusedChild = 0;
+
+ #ifdef COMPILE_USE_QT4
+- TQList<TQObject *> list = o->tqchildren();
++ TQList<TQObject *> list = o->children();
+ for(TQList<TQObject *>::Iterator it = list.begin();it != list.end();++it)
+ {
+ TQObject * c = *it;
+@@ -1180,7 +1180,7 @@ void KviWindow::childRemoved(TQWidget * o)
+ if(c->isWidgetType())
+ childRemoved((TQWidget *)c);
+ }
+- } //else debug("The removed object has no tqchildren");
++ } //else debug("The removed object has no children");
+ #endif
+ }
+
+@@ -1202,7 +1202,7 @@ void KviWindow::wheelEvent(TQWheelEvent *e)
+ }
+
+
+-void KviWindow::tqchildrenTreeChanged(TQWidget * widgetAdded)
++void KviWindow::childrenTreeChanged(TQWidget * widgetAdded)
+ {
+ // if(widgetAdded && m_pFocusHandler)setFocusHandler(m_pFocusHandler,widgetAdded);
+ // FIXME: This might be useless
+@@ -1217,7 +1217,7 @@ void KviWindow::updateBackgrounds(TQObject * obj)
+ if(!obj)
+ obj = TQT_TQOBJECT(this);
+ #ifdef COMPILE_USE_QT4
+- TQList<TQObject *> list = obj->tqchildren();
++ TQList<TQObject *> list = obj->children();
+ if (list.count())
+ {
+
+@@ -1317,7 +1317,7 @@ TQRect KviWindow::externalGeometry()
+ #ifndef Q_OS_MACX
+ return mdiParent() ? mdiParent()->restoredGeometry() : frameGeometry();
+ #else
+- return mdiParent() ? mdiParent()->restoredGeometry() : tqgeometry();
++ return mdiParent() ? mdiParent()->restoredGeometry() : geometry();
+ #endif
+ }
+
+@@ -1490,10 +1490,10 @@ void KviWindow::preprocessMessage(TQString & szMessage)
+ if(m_pConsole->connection())
+ if(m_pConsole->connection()->serverInfo()->supportedChannelTypes().contains(tmp[0]))
+ if((*it)==tmp)
+- *it=TQString("\r!c\r%1\r").tqarg(*it);
++ *it=TQString("\r!c\r%1\r").arg(*it);
+ else
+ {
+- *it=TQString("\r!c%1\r%2\r").tqarg(tmp).tqarg(*it);
++ *it=TQString("\r!c%1\r%2\r").arg(tmp).arg(*it);
+ }
+ }
+ szMessage=strings.join(" ");
+diff --git a/src/kvirc/ui/kvi_window.h b/src/kvirc/ui/kvi_window.h
+index a044bae..913c63b 100644
+--- a/src/kvirc/ui/kvi_window.h
++++ b/src/kvirc/ui/kvi_window.h
+@@ -181,7 +181,7 @@ protected: // almost private: don't touch :D
+ // KviToolWindowsContainer * m_pEditorsContainer;
+ public:
+ // The global ID of this window: unique in the application
+- TQString id(){ return TQString("%1").tqarg(m_uId); };
++ TQString id(){ return TQString("%1").arg(m_uId); };
+ unsigned long int numericId(){ return m_uId; };
+ public:
+ // THIS is the function that should be used
+@@ -262,7 +262,7 @@ public:
+ bool isMaximized();
+ // Retrieves the default log file name: this is pre-build
+ void getDefaultLogFileName(TQString &buffer);
+- // Well...the external tqgeometry :)
++ // Well...the external geometry :)
+ TQRect externalGeometry();
+
+ void delayedClose(); // close that jumps out of the current event loop
+@@ -374,7 +374,7 @@ protected:
+
+ BUTTON_CLASS * createToolButton(TQWidget * par,const char * nam,int pixon,int pixoff,const TQString & tooltip,bool bOn);
+ // This is called by KviInput: actually it links the widgetAdded
+- virtual void tqchildrenTreeChanged(TQWidget * widgetAdded);
++ virtual void childrenTreeChanged(TQWidget * widgetAdded);
+
+ virtual bool focusNextPrevChild(bool bNext);
+
+diff --git a/src/modules/action/libkviaction.cpp b/src/modules/action/libkviaction.cpp
+index ead09cd..9404b8b 100644
+--- a/src/modules/action/libkviaction.cpp
++++ b/src/modules/action/libkviaction.cpp
+@@ -109,10 +109,10 @@ static bool action_kvs_cmd_trigger(KviKvsModuleCommandCall * c)
+ a->activate();
+ } else {
+ if(!c->switches()->find('q',"quiet"))
+- c->warning(__tr2qs("The action \"%1\" is disabled").tqarg(szName));
++ c->warning(__tr2qs("The action \"%1\" is disabled").arg(szName));
+ }
+ } else {
+- c->warning(__tr2qs("The action \"%1\" does not exist").tqarg(szName));
++ c->warning(__tr2qs("The action \"%1\" does not exist").arg(szName));
+ }
+
+ return true;
+@@ -158,7 +158,7 @@ static bool action_kvs_cmd_enable(KviKvsModuleCommandCall * c)
+ if(!a->isEnabled())a->setEnabled(true);
+ } else {
+ if(!c->switches()->find('q',"quiet"))
+- c->warning(__tr2qs("The action \"%1\" does not exist").tqarg(szName));
++ c->warning(__tr2qs("The action \"%1\" does not exist").arg(szName));
+ }
+
+ return true;
+@@ -206,7 +206,7 @@ static bool action_kvs_cmd_disable(KviKvsModuleCommandCall * c)
+ if(a->isEnabled())a->setEnabled(false);
+ } else {
+ if(!c->switches()->find('q',"quiet"))
+- c->warning(__tr2qs("The action \"%1\" does not exist").tqarg(szName));
++ c->warning(__tr2qs("The action \"%1\" does not exist").arg(szName));
+ }
+
+ return true;
+@@ -252,11 +252,11 @@ static bool action_kvs_cmd_destroy(KviKvsModuleCommandCall * c)
+ a->suicide();
+ } else {
+ if(!c->switches()->find('q',"quiet"))
+- c->warning(__tr2qs("The action \"%1\" is a core action and cannot be destroyed").tqarg(szName));
++ c->warning(__tr2qs("The action \"%1\" is a core action and cannot be destroyed").arg(szName));
+ }
+ } else {
+ if(!c->switches()->find('q',"quiet"))
+- c->warning(__tr2qs("The action \"%1\" does not exist").tqarg(szName));
++ c->warning(__tr2qs("The action \"%1\" does not exist").arg(szName));
+ }
+
+ return true;
+@@ -417,7 +417,7 @@ static bool action_kvs_cmd_create(KviKvsModuleCallbackCommandCall * c)
+ if(old->isKviUserActionNeverOverrideThis())
+ old->suicide();
+ else {
+- c->warning(__tr2qs("The action \"%1\" is already defined as core action and cannot be overridden").tqarg(szName));
++ c->warning(__tr2qs("The action \"%1\" is already defined as core action and cannot be overridden").arg(szName));
+ return false;
+ }
+ }
+diff --git a/src/modules/addon/libkviaddon.cpp b/src/modules/addon/libkviaddon.cpp
+index 08f1808..9d3b0eb 100644
+--- a/src/modules/addon/libkviaddon.cpp
++++ b/src/modules/addon/libkviaddon.cpp
+@@ -195,7 +195,7 @@ static bool addon_kvs_cmd_uninstall(KviKvsModuleCommandCall * c)
+ KviKvsScriptAddonManager::instance()->unregisterAddon(szName,c->window(),!c->switches()->find('n',"no-callback"));
+ } else {
+ if(!c->switches()->find('q',"quiet"))
+- c->warning(__tr2qs("The addon \"%1\" does not exist").tqarg(szName));
++ c->warning(__tr2qs("The addon \"%1\" does not exist").arg(szName));
+ }
+
+ return true;
+@@ -235,13 +235,13 @@ static bool addon_kvs_cmd_configure(KviKvsModuleCommandCall * c)
+ if(ss.isEmpty())
+ {
+ if(!c->switches()->find('q',"quiet"))
+- c->warning(__tr2qs("The addon \"%1\" has no configure callback set").tqarg(szName));
++ c->warning(__tr2qs("The addon \"%1\" has no configure callback set").arg(szName));
+ } else {
+ a->executeConfigureCallback(c->window());
+ }
+ } else {
+ if(!c->switches()->find('q',"quiet"))
+- c->warning(__tr2qs("The addon \"%1\" does not exist").tqarg(szName));
++ c->warning(__tr2qs("The addon \"%1\" does not exist").arg(szName));
+ }
+
+ return true;
+@@ -282,13 +282,13 @@ static bool addon_kvs_cmd_help(KviKvsModuleCommandCall * c)
+ if(ss.isEmpty())
+ {
+ if(!c->switches()->find('q',"quiet"))
+- c->warning(__tr2qs("The addon \"%1\" has no help callback set").tqarg(szName));
++ c->warning(__tr2qs("The addon \"%1\" has no help callback set").arg(szName));
+ } else {
+ a->executeHelpCallback(c->window());
+ }
+ } else {
+ if(!c->switches()->find('q',"quiet"))
+- c->warning(__tr2qs("The addon \"%1\" does not exist").tqarg(szName));
++ c->warning(__tr2qs("The addon \"%1\" does not exist").arg(szName));
+ }
+
+ return true;
+@@ -334,7 +334,7 @@ static bool addon_kvs_cmd_setconfigurecallback(KviKvsModuleCallbackCommandCall *
+ a->setConfigureCallback(c->callback()->code());
+ } else {
+ if(!c->switches()->find('q',"quiet"))
+- c->warning(__tr2qs("The addon \"%1\" does not exist").tqarg(szName));
++ c->warning(__tr2qs("The addon \"%1\" does not exist").arg(szName));
+ }
+
+ return true;
+@@ -381,7 +381,7 @@ static bool addon_kvs_cmd_sethelpcallback(KviKvsModuleCallbackCommandCall * c)
+ a->setHelpCallback(c->callback()->code());
+ } else {
+ if(!c->switches()->find('q',"quiet"))
+- c->warning(__tr2qs("The addon \"%1\" does not exist").tqarg(szName));
++ c->warning(__tr2qs("The addon \"%1\" does not exist").arg(szName));
+ }
+
+ return true;
+diff --git a/src/modules/addon/managementdialog.cpp b/src/modules/addon/managementdialog.cpp
+index 8b08c54..beb9f4f 100644
+--- a/src/modules/addon/managementdialog.cpp
++++ b/src/modules/addon/managementdialog.cpp
+@@ -330,7 +330,7 @@ void KviScriptManagementDialog::uninstallScript()
+ if(!it)return;
+
+ TQString txt = "<p>";
+- txt += __tr2qs("Do you really want to uninstall the addon \"%1\" ?").tqarg(it->addon()->visibleName());
++ txt += __tr2qs("Do you really want to uninstall the addon \"%1\" ?").arg(it->addon()->visibleName());
+ txt += "</p>";
+
+ if(TQMessageBox::question(this,
+diff --git a/src/modules/aliaseditor/aliaseditor.cpp b/src/modules/aliaseditor/aliaseditor.cpp
+index 0f1201e..d020105 100644
+--- a/src/modules/aliaseditor/aliaseditor.cpp
++++ b/src/modules/aliaseditor/aliaseditor.cpp
+@@ -794,7 +794,7 @@ bool KviAliasEditor::removeItem(KviAliasEditorListViewItem *it,bool * pbYesToAll
+ else {
+ KviTQString::sprintf(szMsg,__tr2qs("Do you really want to remove the namespace \"%Q\" ?"),&szName);
+ szMsg += "<br>";
+- szMsg += __tr2qs("Please note that all the tqchildren items will be deleted too.");
++ szMsg += __tr2qs("Please note that all the children items will be deleted too.");
+ }
+
+ g_pAliasEditorModule->lock();
+diff --git a/src/modules/avatar/libkviavatar.cpp b/src/modules/avatar/libkviavatar.cpp
+index a71f497..8386942 100644
+--- a/src/modules/avatar/libkviavatar.cpp
++++ b/src/modules/avatar/libkviavatar.cpp
+@@ -119,7 +119,7 @@ void KviAsyncAvatarSelectionDialog::okClicked()
+ {
+ TQString tmp = m_szAvatarName;
+ tmp.replace("\\","\\\\");
+- TQString szBuffer=TQString("avatar.set \"%1\"").tqarg(tmp);
++ TQString szBuffer=TQString("avatar.set \"%1\"").arg(tmp);
+ KviKvsScript::run(szBuffer,m_pConnection->console());
+ }
+
+diff --git a/src/modules/config/libkviconfig.cpp b/src/modules/config/libkviconfig.cpp
+index 97c92ec..64b9a10 100644
+--- a/src/modules/config/libkviconfig.cpp
++++ b/src/modules/config/libkviconfig.cpp
+@@ -124,7 +124,7 @@ static bool config_kvs_fnc_open(KviKvsModuleFunctionCall * c)
+
+ KviConfig * cfg = new KviConfig(szAbsFile,fileMode);
+ g_iNextConfigId++;
+- TQString tmp = TQString("%1").tqarg(g_iNextConfigId);
++ TQString tmp = TQString("%1").arg(g_iNextConfigId);
+ g_pConfigDict->insert(tmp,cfg);
+ c->returnValue()->setString(tmp);
+ return true;
+diff --git a/src/modules/dcc/broker.cpp b/src/modules/dcc/broker.cpp
+index f472817..976b638 100644
+--- a/src/modules/dcc/broker.cpp
++++ b/src/modules/dcc/broker.cpp
+@@ -268,7 +268,7 @@ void KviDccBroker::handleChatRequest(KviDccDescriptor * dcc)
+ TQString tmp = __tr2qs_ctx( \
+ "<b>%1 [%2@%3]</b> requests a " \
+ "<b>Direct Client Connection</b> in <b>%4</b> mode.<br>", \
+- "dcc").tqarg(dcc->szNick).tqarg(dcc->szUser).tqarg(dcc->szHost).tqarg(dcc->szType);
++ "dcc").arg(dcc->szNick).arg(dcc->szUser).arg(dcc->szHost).arg(dcc->szType);
+
+ #ifdef COMPILE_SSL_SUPPORT
+ if(dcc->bIsSSL)tmp += __tr2qs_ctx("The connection will be secured using SSL.<br>","dcc");
+@@ -282,11 +282,11 @@ void KviDccBroker::handleChatRequest(KviDccDescriptor * dcc)
+ } else {
+ tmp += __tr2qs_ctx( \
+ "The connection target will be host <b>%1</b> on port <b>%2</b><br>" \
+- ,"dcc").tqarg(dcc->szIp).tqarg(dcc->szPort);
++ ,"dcc").arg(dcc->szIp).arg(dcc->szPort);
+ }
+
+
+- TQString caption = __tr2qs_ctx("DCC %1 Request - KVIrc","dcc").tqarg(dcc->szType);
++ TQString caption = __tr2qs_ctx("DCC %1 Request - KVIrc","dcc").arg(dcc->szType);
+
+ KviDccAcceptBox * box = new KviDccAcceptBox(this,dcc,tmp,caption);
+
+@@ -315,7 +315,7 @@ void KviDccBroker::executeChat(KviDccBox *box,KviDccDescriptor * dcc)
+ KviStr szSubProto = dcc->szType;
+ szSubProto.toLower();
+
+- TQString tmp = TQString("dcc: %1 %2@%3:%4").tqarg(szSubProto.ptr()).tqarg(dcc->szNick).tqarg(dcc->szIp).tqarg(dcc->szPort);
++ TQString tmp = TQString("dcc: %1 %2@%3:%4").arg(szSubProto.ptr()).arg(dcc->szNick).arg(dcc->szIp).arg(dcc->szPort);
+ KviDccChat * chat = new KviDccChat(dcc->console()->frame(),dcc,tmp.utf8().data());
+
+ bool bMinimized = dcc->bOverrideMinimize ? dcc->bShowMinimized : \
+@@ -341,7 +341,7 @@ void KviDccBroker::activeVoiceManage(KviDccDescriptor * dcc)
+ "<b>Direct Client Connection</b> in <b>VOICE</b> mode.<br>" \
+ "The connection target will be host <b>%4</b> on port <b>%5</b><br>" \
+ ,"dcc" \
+- ).tqarg(dcc->szNick).tqarg(dcc->szUser).tqarg(dcc->szHost).tqarg(dcc->szIp).tqarg(dcc->szPort);
++ ).arg(dcc->szNick).arg(dcc->szUser).arg(dcc->szHost).arg(dcc->szIp).arg(dcc->szPort);
+
+ KviDccAcceptBox * box = new KviDccAcceptBox(this,dcc,tmp,__tr2qs_ctx("DCC VOICE request","dcc"));
+ m_pBoxList->append(box);
+@@ -412,7 +412,7 @@ void KviDccBroker::activeCanvasManage(KviDccDescriptor * dcc)
+ "<b>Direct Client Connection</b> in <b>CANVAS</b> mode.<br>" \
+ "The connection target will be host <b>%4</b> on port <b>%5</b><br>" \
+ ,"dcc" \
+- ).tqarg(dcc->szNick).tqarg(dcc->szUser).tqarg(dcc->szHost).tqarg(dcc->szIp).tqarg(dcc->szPort);
++ ).arg(dcc->szNick).arg(dcc->szUser).arg(dcc->szHost).arg(dcc->szIp).arg(dcc->szPort);
+
+ KviDccAcceptBox * box = new KviDccAcceptBox(this,dcc,tmp,__tr2qs_ctx("DCC CANVAS request","dcc"));
+ m_pBoxList->append(box);
+@@ -505,9 +505,9 @@ void KviDccBroker::recvFileManage(KviDccDescriptor * dcc)
+ "<b>%5</b> large.<br>" \
+ "The connection target will be host <b>%6</b> on port <b>%7</b><br>" \
+ ,"dcc" \
+- ).tqarg(dcc->szNick).tqarg(dcc->szUser).tqarg(dcc->szHost).tqarg(
+- dcc->szFileName).tqarg(KviTQString::makeSizeReadable(dcc->szFileSize.toInt())).tqarg(
+- dcc->szIp).tqarg(dcc->szPort);
++ ).arg(dcc->szNick).arg(dcc->szUser).arg(dcc->szHost).arg(
++ dcc->szFileName).arg(KviTQString::makeSizeReadable(dcc->szFileSize.toInt())).arg(
++ dcc->szIp).arg(dcc->szPort);
+
+ } else {
+ // passive: we will be listening!
+@@ -518,8 +518,8 @@ void KviDccBroker::recvFileManage(KviDccDescriptor * dcc)
+ "<b>%5</b> large.<br>" \
+ "You will be the passive side of the connection.<br>" \
+ ,"dcc" \
+- ).tqarg(dcc->szNick).tqarg(dcc->szUser).tqarg(dcc->szHost).tqarg(
+- dcc->szFileName).tqarg(KviTQString::makeSizeReadable(dcc->szFileSize.toInt()));
++ ).arg(dcc->szNick).arg(dcc->szUser).arg(dcc->szHost).arg(
++ dcc->szFileName).arg(KviTQString::makeSizeReadable(dcc->szFileSize.toInt()));
+ }
+
+ if(dcc->bIsIncomingAvatar)
+@@ -540,7 +540,7 @@ void KviDccBroker::recvFileManage(KviDccDescriptor * dcc)
+
+ //#warning "Maybe remove the pending avatar if rejected ?"
+
+- TQString title = __tr2qs_ctx("DCC %1 Request - KVIrc","dcc").tqarg(dcc->szType);
++ TQString title = __tr2qs_ctx("DCC %1 Request - KVIrc","dcc").arg(dcc->szType);
+
+ KviDccAcceptBox * box = new KviDccAcceptBox(this,dcc,tmp,title);
+ m_pBoxList->append(box);
+@@ -669,7 +669,7 @@ void KviDccBroker::renameOverwriteResume(KviDccBox *box,KviDccDescriptor * dcc)
+ "<b>auto-rename</b> the new file, or<br>" \
+ "<b>resume</b> an incomplete download?" \
+ ,"dcc" \
+- ).tqarg(dcc->szLocalFileName).tqarg(KviTQString::makeSizeReadable(fi.size()));
++ ).arg(dcc->szLocalFileName).arg(KviTQString::makeSizeReadable(fi.size()));
+ } else {
+ bDisableResume = true;
+ // the file on disk is larger or equal to the remote one
+@@ -680,7 +680,7 @@ void KviDccBroker::renameOverwriteResume(KviDccBox *box,KviDccDescriptor * dcc)
+ "<b>overwrite</b> the existing file, or<br> " \
+ "<b>auto-rename</b> the new file ?" \
+ ,"dcc" \
+- ).tqarg(dcc->szLocalFileName);
++ ).arg(dcc->szLocalFileName);
+ }
+
+ KviDccRenameBox * box = new KviDccRenameBox(this,dcc,tmp,bDisableResume);
+diff --git a/src/modules/dcc/canvaswidget.cpp b/src/modules/dcc/canvaswidget.cpp
+index 47bacf5..06f5d2f 100644
+--- a/src/modules/dcc/canvaswidget.cpp
++++ b/src/modules/dcc/canvaswidget.cpp
+@@ -1509,14 +1509,14 @@ KviCanvasWidget::KviCanvasWidget(TQWidget * par)
+ connect(m_pPropertiesWidget,TQT_SIGNAL(propertyChanged(const TQString &,const TQVariant &)),m_pCanvasView,TQT_SLOT(propertyChanged(const TQString &,const TQVariant &)));
+
+ KviTalPopupMenu * add = new KviTalPopupMenu(m_pMenuBar);
+- KviTalPopupMenu * tqshapes = new KviTalPopupMenu(add);
++ KviTalPopupMenu * shapes = new KviTalPopupMenu(add);
+ KviTalPopupMenu * polygons = new KviTalPopupMenu(add);
+ KviTalPopupMenu * items = new KviTalPopupMenu(add);
+- tqshapes->insertItem(__tr2qs_ctx("&Line","dcc"),m_pCanvasView,TQT_SLOT(insertLine()));
+- tqshapes->insertItem(__tr2qs_ctx("&Rectangle","dcc"),m_pCanvasView,TQT_SLOT(insertRectangle()));
+- tqshapes->insertItem(__tr2qs_ctx("&Ellipse","dcc"),m_pCanvasView,TQT_SLOT(insertEllipse()));
+- tqshapes->insertItem(__tr2qs_ctx("&Pie","dcc"),m_pCanvasView,TQT_SLOT(insertPie()));
+- tqshapes->insertItem(__tr2qs_ctx("&Chord","dcc"),m_pCanvasView,TQT_SLOT(insertChord()));
++ shapes->insertItem(__tr2qs_ctx("&Line","dcc"),m_pCanvasView,TQT_SLOT(insertLine()));
++ shapes->insertItem(__tr2qs_ctx("&Rectangle","dcc"),m_pCanvasView,TQT_SLOT(insertRectangle()));
++ shapes->insertItem(__tr2qs_ctx("&Ellipse","dcc"),m_pCanvasView,TQT_SLOT(insertEllipse()));
++ shapes->insertItem(__tr2qs_ctx("&Pie","dcc"),m_pCanvasView,TQT_SLOT(insertPie()));
++ shapes->insertItem(__tr2qs_ctx("&Chord","dcc"),m_pCanvasView,TQT_SLOT(insertChord()));
+
+ items->insertItem(__tr2qs_ctx("&Rich text (html)","dcc"),m_pCanvasView,TQT_SLOT(insertRichText()));
+
+@@ -1525,7 +1525,7 @@ KviCanvasWidget::KviCanvasWidget(TQWidget * par)
+ polygons->insertItem(__tr2qs_ctx("&Pentagon","dcc"),m_pCanvasView,TQT_SLOT(insertPolygonPentagon()));
+ polygons->insertItem(__tr2qs_ctx("&Hexagon","dcc"),m_pCanvasView,TQT_SLOT(insertPolygonHexagon()));
+
+- add->insertItem(__tr2qs_ctx("&Shape","dcc"),tqshapes);
++ add->insertItem(__tr2qs_ctx("&Shape","dcc"),shapes);
+ add->insertItem(__tr2qs_ctx("&Item","dcc"),items);
+ add->insertItem(__tr2qs_ctx("&Polygons","dcc"),polygons);
+
+diff --git a/src/modules/dcc/chat.cpp b/src/modules/dcc/chat.cpp
+index 660191f..a917171 100644
+--- a/src/modules/dcc/chat.cpp
++++ b/src/modules/dcc/chat.cpp
+@@ -221,7 +221,7 @@ void KviDccChat::connectionInProgress()
+ struct in_addr a;
+ if(kvi_stringIpToBinaryIp(ip.ptr(),&a))ip.setNum(htonl(a.s_addr));
+
+- TQString szReq = TQString("PRIVMSG %1 :%2DCC %3 chat %4 %5").tqarg(m_pDescriptor->szNick).tqarg((char)0x01).tqarg(m_pDescriptor->szType).tqarg(ip.ptr()).tqarg(port);
++ TQString szReq = TQString("PRIVMSG %1 :%2DCC %3 chat %4 %5").arg(m_pDescriptor->szNick).arg((char)0x01).arg(m_pDescriptor->szType).arg(ip.ptr()).arg(port);
+
+ if(m_pDescriptor->isZeroPortRequest())
+ {
+@@ -268,13 +268,13 @@ const TQString & KviDccChat::target()
+
+ void KviDccChat::fillCaptionBuffers()
+ {
+- TQString tmp = TQString("DCC %1 %2@%3:%4").tqarg(
++ TQString tmp = TQString("DCC %1 %2@%3:%4").arg(
+ #ifdef COMPILE_SSL_SUPPORT
+- m_pDescriptor->bIsSSL ? "SChat" : "Chat").tqarg(
++ m_pDescriptor->bIsSSL ? "SChat" : "Chat").arg(
+ #else
+- "Chat").tqarg(
++ "Chat").arg(
+ #endif
+- m_pDescriptor->szNick).tqarg(m_pDescriptor->szIp).tqarg(m_pDescriptor->szPort);
++ m_pDescriptor->szNick).arg(m_pDescriptor->szIp).arg(m_pDescriptor->szPort);
+
+ m_szPlainTextCaption = tmp;
+
+diff --git a/src/modules/dcc/libkvidcc.cpp b/src/modules/dcc/libkvidcc.cpp
+index 56f28b3..03f5d30 100644
+--- a/src/modules/dcc/libkvidcc.cpp
++++ b/src/modules/dcc/libkvidcc.cpp
+@@ -1543,8 +1543,8 @@ static bool dcc_module_cmd_canvas(KviModule *m,KviCommand *c)
+ [br]
+ [big]DCC File Transfer[/big][br]
+ DCC Send: Send a file, sender is passive, receiver is active (not good for firewalled senders)[br]
+- DCC Recv: Receive a file, sender is active, receiver is passive (not good for firewalled tqreceivers)[br]
+- DCC RSend: Send a file, sender is active, receiver is passive (not good for firewalled tqreceivers)[br]
++ DCC Recv: Receive a file, sender is active, receiver is passive (not good for firewalled receivers)[br]
++ DCC RSend: Send a file, sender is active, receiver is passive (not good for firewalled receivers)[br]
+ DCC Get: Receive a file, sender is passive if not firewalled, receiver active if sender not firewalled (will fail only if both are firewalled)[br]
+ The "turbo" extension disables the stream of acknowledges and is activated by prepending the 'T' character to the DCC subprotocol name[br]
+ The "SSL" extension causes a Secure Socket Layer to be used and is activated by prepending the 'S' character to the DCC subprotocol name[br]
+diff --git a/src/modules/dcc/requests.cpp b/src/modules/dcc/requests.cpp
+index 00a1d1e..bf8a919 100644
+--- a/src/modules/dcc/requests.cpp
++++ b/src/modules/dcc/requests.cpp
+@@ -80,7 +80,7 @@ static void dcc_module_request_error(KviDccRequest * dcc,const TQString& errText
+
+ if(KVI_OPTION_BOOL(KviOption_boolNotifyFailedDccHandshakes))
+ {
+- TQString szError = TQString("Sorry, your DCC %1 request can't be satisfied: %2").tqarg(dcc->szType.ptr()).tqarg(errText);
++ TQString szError = TQString("Sorry, your DCC %1 request can't be satisfied: %2").arg(dcc->szType.ptr()).arg(errText);
+ dcc_module_reply_errmsg(dcc,szError);
+ }
+ }
+diff --git a/src/modules/dcc/send.cpp b/src/modules/dcc/send.cpp
+index 969a54a..74dbf16 100644
+--- a/src/modules/dcc/send.cpp
++++ b/src/modules/dcc/send.cpp
+@@ -811,11 +811,11 @@ void KviDccFileTransfer::startConnection()
+ if(!(m_pDescriptor->bActive))
+ {
+ // PASSIVE CONNECTION
+- m_szStatusString = __tr2qs_ctx("Attempting a passive DCC %1 connection","dcc").tqarg(m_szDccType.ptr());
++ m_szStatusString = __tr2qs_ctx("Attempting a passive DCC %1 connection","dcc").arg(m_szDccType.ptr());
+ outputAndLog(m_szStatusString);
+ } else {
+ // ACTIVE CONNECTION
+- m_szStatusString = __tr2qs_ctx("Attempting an active DCC %1 connection","dcc").tqarg(m_szDccType.ptr());
++ m_szStatusString = __tr2qs_ctx("Attempting an active DCC %1 connection","dcc").arg(m_szDccType.ptr());
+ outputAndLog(m_szStatusString);
+ }
+
+@@ -841,7 +841,7 @@ void KviDccFileTransfer::startConnection()
+ m_pDescriptor->szPort.utf8().data(),
+ m_pDescriptor->szLocalFileSize.utf8().data(),0x01);
+ }
+- m_szStatusString = __tr2qs_ctx("Sent DCC RESUME request to %1, waiting for ACCEPT","dcc").tqarg(m_pDescriptor->szNick);
++ m_szStatusString = __tr2qs_ctx("Sent DCC RESUME request to %1, waiting for ACCEPT","dcc").arg(m_pDescriptor->szNick);
+ outputAndLog(m_szStatusString);
+
+ // setup the resume timer: we don't want to wait forever
+@@ -1236,18 +1236,18 @@ void KviDccFileTransfer::displayPaint(TQPainter * p,int column,int width,int hei
+ if(iW2 > 0)p->fillRect(5 + iL2,5,iW2,10,bIsTerminated ? TQColor(150,130,110) : TQColor(220,170,100));
+ p->fillRect(5,5,iL2,10,bIsTerminated ? TQColor(140,110,110) : TQColor(200,100,100));
+
+- txt = TQString(__tr2qs_ctx("%1 of %2 (%3%)","dcc")).tqarg(KviTQString::makeSizeReadable(iAckedBytes)).tqarg(KviTQString::makeSizeReadable(m_uTotalFileSize)).tqarg(dPerc2,0,'f',2);
++ txt = TQString(__tr2qs_ctx("%1 of %2 (%3%)","dcc")).arg(KviTQString::makeSizeReadable(iAckedBytes)).arg(KviTQString::makeSizeReadable(m_uTotalFileSize)).arg(dPerc2,0,'f',2);
+ } else {
+ // we are receiving a file or not sending acks
+ double dPerc = (double)(((double)uTransferred) * 100.0) / (double)m_uTotalFileSize;
+ int iL = (int) ((((double)iW) * dPerc) / 100.0);
+ p->fillRect(5,5,iL,10,bIsTerminated ? TQColor(140,110,110) : TQColor(200,100,100));
+
+- txt = TQString(__tr2qs_ctx("%1 of %2 (%3%)","dcc")).tqarg(KviTQString::makeSizeReadable(uTransferred)).tqarg(KviTQString::makeSizeReadable(m_uTotalFileSize)).tqarg(dPerc,0,'f',2);
++ txt = TQString(__tr2qs_ctx("%1 of %2 (%3%)","dcc")).arg(KviTQString::makeSizeReadable(uTransferred)).arg(KviTQString::makeSizeReadable(m_uTotalFileSize)).arg(dPerc,0,'f',2);
+ }
+
+ } else {
+- txt = TQString(__tr2qs_ctx("%1","dcc")).tqarg(KviTQString::makeSizeReadable(uTransferred));
++ txt = TQString(__tr2qs_ctx("%1","dcc")).arg(KviTQString::makeSizeReadable(uTransferred));
+ }
+
+ p->setPen(TQt::black);
+@@ -1343,7 +1343,7 @@ TQString KviDccFileTransfer::tipText()
+
+ TQString s;
+
+- s = TQString("<table><tr><td bgcolor=\"#000000\"><font color=\"#FFFFFF\"><b>DCC %1 (ID %2)</b></font></td></tr>").tqarg(m_szDccType.ptr()).tqarg(id());
++ s = TQString("<table><tr><td bgcolor=\"#000000\"><font color=\"#FFFFFF\"><b>DCC %1 (ID %2)</b></font></td></tr>").arg(m_szDccType.ptr()).arg(id());
+
+ s += "<tr><td bgcolor=\"#404040\"><font color=\"#FFFFFF\">";
+ s += __tr2qs_ctx("Transfer Log","dcc");
+@@ -1477,14 +1477,14 @@ void KviDccFileTransfer::connectionInProgress()
+ // if(TRIGGER_EVENT_5PARAM_RETVALUE(KviEvent_OnDCCSendConnected,this,m_pDescriptor->szPort.ptr(),m_pDescriptor->szFileName.ptr(),m_pDescriptor->szNick.ptr(),m_pDescriptor->szUser.ptr(),m_pDescriptor->szHost.ptr()));
+ // }
+ //
+- m_szStatusString = __tr2qs_ctx("Contacting host %1 on port %2","dcc").tqarg(m_pDescriptor->szIp).tqarg(m_pDescriptor->szPort);
++ m_szStatusString = __tr2qs_ctx("Contacting host %1 on port %2","dcc").arg(m_pDescriptor->szIp).arg(m_pDescriptor->szPort);
+ outputAndLog(m_szStatusString);
+ displayUpdate();
+ return;
+ }
+
+ // PASSIVE CONNECTION
+- m_szStatusString = __tr2qs_ctx("Listening on interface %1 port %2","dcc").tqarg(m_pMarshal->localIp()).tqarg(m_pMarshal->localPort());
++ m_szStatusString = __tr2qs_ctx("Listening on interface %1 port %2","dcc").arg(m_pMarshal->localIp()).arg(m_pMarshal->localPort());
+ outputAndLog(m_szStatusString);
+
+ if(m_pDescriptor->bSendRequest)
+@@ -1507,7 +1507,7 @@ void KviDccFileTransfer::connectionInProgress()
+ if(!tmp.isEmpty())
+ {
+ ip = tmp;
+- outputAndLog(__tr2qs_ctx("The local IP address is private, determining from IRC server: %1","dcc").tqarg(ip));
++ outputAndLog(__tr2qs_ctx("The local IP address is private, determining from IRC server: %1","dcc").arg(ip));
+ } else {
+ outputAndLog(__tr2qs_ctx("The local IP address is private, but unable to determine it from the IRC server","dcc"));
+ }
+@@ -1558,9 +1558,9 @@ void KviDccFileTransfer::connectionInProgress()
+ ip.utf8().data(),port.ptr(),
+ &(m_pDescriptor->szLocalFileSize),0x01);
+ }
+- outputAndLog(__tr2qs_ctx("Sent DCC %1 request to %2, waiting for remote client to connect...","dcc").tqarg(szReq.ptr()).tqarg(m_pDescriptor->szNick));
++ outputAndLog(__tr2qs_ctx("Sent DCC %1 request to %2, waiting for remote client to connect...","dcc").arg(szReq.ptr()).arg(m_pDescriptor->szNick));
+ } else {
+- outputAndLog(__tr2qs_ctx("DCC %1 request not sent, awaiting manual connection","dcc").tqarg(m_szDccType.ptr()));
++ outputAndLog(__tr2qs_ctx("DCC %1 request not sent, awaiting manual connection","dcc").arg(m_szDccType.ptr()));
+ }
+
+ KVS_TRIGGER_EVENT_1(KviEvent_OnDCCFileTransferConnectionInProgress,eventWindow(),m_pDescriptor->idString());
+@@ -1579,7 +1579,7 @@ void KviDccFileTransfer::startingSSLHandshake()
+ void KviDccFileTransfer::sslError(const char * msg)
+ {
+ #ifdef COMPILE_SSL_SUPPORT
+- outputAndLog(KVI_OUT_DCCERROR,__tr2qs_ctx("[SSL ERROR]: %1","dcc").tqarg(msg));
++ outputAndLog(KVI_OUT_DCCERROR,__tr2qs_ctx("[SSL ERROR]: %1","dcc").arg(msg));
+ #endif
+ }
+
+@@ -1687,8 +1687,8 @@ void KviDccFileTransfer::handleMarshalError(int err)
+
+ void KviDccFileTransfer::connected()
+ {
+- outputAndLog(__tr2qs_ctx("Connected to %1:%2","dcc").tqarg(m_pMarshal->remoteIp()).tqarg(m_pMarshal->remotePort()));
+- outputAndLog(__tr2qs_ctx("Local end is %1:%2","dcc").tqarg(m_pMarshal->localIp()).tqarg(m_pMarshal->localPort()));
++ outputAndLog(__tr2qs_ctx("Connected to %1:%2","dcc").arg(m_pMarshal->remoteIp()).arg(m_pMarshal->remotePort()));
++ outputAndLog(__tr2qs_ctx("Local end is %1:%2","dcc").arg(m_pMarshal->localIp()).arg(m_pMarshal->localPort()));
+
+ m_tTransferStartTime = kvi_unixTime();
+
+@@ -1758,7 +1758,7 @@ bool KviDccFileTransfer::resumeAccepted(const char *filename,const char *port,co
+ delete m_pResumeTimer;
+ m_pResumeTimer = 0;
+
+- outputAndLog(__tr2qs_ctx("RESUME accepted, transfer will begin at position %1","dcc").tqarg(m_pDescriptor->szLocalFileSize));
++ outputAndLog(__tr2qs_ctx("RESUME accepted, transfer will begin at position %1","dcc").arg(m_pDescriptor->szLocalFileSize));
+
+ listenOrConnect();
+
+@@ -1768,7 +1768,7 @@ bool KviDccFileTransfer::resumeAccepted(const char *filename,const char *port,co
+
+ if(ret != KviError_success)handleMarshalError(ret);
+ else {
+- m_szStatusString = __tr2qs_ctx("Contacting host %1 on port %2","dcc").tqarg(m_pDescriptor->szIp).tqarg(m_pDescriptor->szPort);
++ m_szStatusString = __tr2qs_ctx("Contacting host %1 on port %2","dcc").arg(m_pDescriptor->szIp).arg(m_pDescriptor->szPort);
+ outputAndLog(m_szStatusString);
+ displayUpdate();
+ }
+@@ -1794,11 +1794,11 @@ bool KviDccFileTransfer::doResume(const char * filename,const char * port,unsign
+ }
+ if(iLocalFileSize <= filePos)
+ {
+- outputAndLog(KVI_OUT_DCCERROR,__tr2qs_ctx("Invalid RESUME request: Position %1 is larger than file size","dcc").tqarg(filePos));
++ outputAndLog(KVI_OUT_DCCERROR,__tr2qs_ctx("Invalid RESUME request: Position %1 is larger than file size","dcc").arg(filePos));
+ return false;
+ }
+
+- outputAndLog(KVI_OUT_DCCERROR,__tr2qs_ctx("Accepting RESUME request, transfer will begin at position %1","dcc").tqarg(filePos));
++ outputAndLog(KVI_OUT_DCCERROR,__tr2qs_ctx("Accepting RESUME request, transfer will begin at position %1","dcc").arg(filePos));
+
+ m_pDescriptor->szFileSize.setNum(filePos);
+
+@@ -1830,7 +1830,7 @@ KviDccFileTransferBandwidthDialog::KviDccFileTransferBandwidthDialog(TQWidget *
+ m_pTransfer = t;
+ int iVal = m_pTransfer->bandwidthLimit();
+
+- TQString szText = __tr2qs_ctx("Configure bandwidth for DCC transfer %1","dcc").tqarg(t->id());
++ TQString szText = __tr2qs_ctx("Configure bandwidth for DCC transfer %1","dcc").arg(t->id());
+ setCaption(szText);
+
+ szText = t->isFileUpload() ? __tr2qs_ctx("Limit upload bandwidth to","dcc") : __tr2qs_ctx("Limit download bandwidth to","dcc");
+diff --git a/src/modules/dockwidget/libkvidockwidget_qt3.cpp b/src/modules/dockwidget/libkvidockwidget_qt3.cpp
+index 6978ce0..ce454b2 100644
+--- a/src/modules/dockwidget/libkvidockwidget_qt3.cpp
++++ b/src/modules/dockwidget/libkvidockwidget_qt3.cpp
+@@ -447,10 +447,10 @@ void KviDockWidget::fillContextPopup()
+ int id;
+ if(pConsole->connection()->userInfo()->isAway())
+ {
+- id=m_pAwayPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_CONSOLE)),__tr2qs("Back on %1").tqarg(pConsole->currentNetworkName()),this,TQT_SLOT(doAway(int)));
++ id=m_pAwayPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_CONSOLE)),__tr2qs("Back on %1").arg(pConsole->currentNetworkName()),this,TQT_SLOT(doAway(int)));
+ bAllUnaway=0;
+ } else {
+- id=m_pAwayPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_CONSOLE)),__tr2qs("Away on %1").tqarg(pConsole->currentNetworkName()),this,TQT_SLOT(doAway(int)));
++ id=m_pAwayPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_CONSOLE)),__tr2qs("Away on %1").arg(pConsole->currentNetworkName()),this,TQT_SLOT(doAway(int)));
+ bAllAway=0;
+ }
+ m_pAwayPopup->setItemParameter(id,pConsole->ircContextId());
+diff --git a/src/modules/dockwidget/libkvidockwidget_qt4.cpp b/src/modules/dockwidget/libkvidockwidget_qt4.cpp
+index d1f4eff..54033af 100644
+--- a/src/modules/dockwidget/libkvidockwidget_qt4.cpp
++++ b/src/modules/dockwidget/libkvidockwidget_qt4.cpp
+@@ -279,10 +279,10 @@ void KviDockWidget::fillContextPopup()
+ int id;
+ if(pConsole->connection()->userInfo()->isAway())
+ {
+- id=m_pAwayPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_CONSOLE)),__tr2qs("Back on %1").tqarg(pConsole->currentNetworkName()),this,TQT_SLOT(doAway(int)));
++ id=m_pAwayPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_CONSOLE)),__tr2qs("Back on %1").arg(pConsole->currentNetworkName()),this,TQT_SLOT(doAway(int)));
+ bAllUnaway=0;
+ } else {
+- id=m_pAwayPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_CONSOLE)),__tr2qs("Away on %1").tqarg(pConsole->currentNetworkName()),this,TQT_SLOT(doAway(int)));
++ id=m_pAwayPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_CONSOLE)),__tr2qs("Away on %1").arg(pConsole->currentNetworkName()),this,TQT_SLOT(doAway(int)));
+ bAllAway=0;
+ }
+ m_pAwayPopup->setItemParameter(id,pConsole->ircContextId());
+diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp
+index 525acfd..6945cd1 100644
+--- a/src/modules/editor/scripteditor.cpp
++++ b/src/modules/editor/scripteditor.cpp
+@@ -369,7 +369,7 @@ void KviScriptEditorWidget::keyPressEvent(TQKeyEvent * e)
+ TQString szPrev=text(para-1);
+ if(!szPrev.isEmpty())
+ {
+- if(szPrev.tqat(szPrev.length() - 1).tqunicode() == ' ')
++ if(szPrev.at(szPrev.length() - 1).tqunicode() == ' ')
+ szPrev.remove(szPrev.length() - 1,1);
+ TQString szCur;
+ const TQChar * pCur = (const TQChar *)szPrev.ucs2();
+diff --git a/src/modules/filetransferwindow/filetransferwindow.cpp b/src/modules/filetransferwindow/filetransferwindow.cpp
+index 3fcf59d..9274946 100644
+--- a/src/modules/filetransferwindow/filetransferwindow.cpp
++++ b/src/modules/filetransferwindow/filetransferwindow.cpp
+@@ -313,7 +313,7 @@ void KviFileTransferWindow::rightButtonPressed(KviTalListViewItem *it,const TQPo
+ if(fi.exists())
+ {
+ tmp += "<nobr>";
+- tmp += __tr2qs_ctx("Size: %1","filetransferwindow").tqarg(KviTQString::makeSizeReadable(fi.size()));
++ tmp += __tr2qs_ctx("Size: %1","filetransferwindow").arg(KviTQString::makeSizeReadable(fi.size()));
+ tmp += "</nobr><br>";
+ }
+
+diff --git a/src/modules/http/httpfiletransfer.cpp b/src/modules/http/httpfiletransfer.cpp
+index cfe9087..8ad7c8f 100644
+--- a/src/modules/http/httpfiletransfer.cpp
++++ b/src/modules/http/httpfiletransfer.cpp
+@@ -211,8 +211,8 @@ void KviHttpFileTransfer::displayPaint(TQPainter * p,int column,int width,int he
+ //iR = iW - iL;
+ p->fillRect(5,5,iL,10,bIsTerminated ? TQColor(140,110,110) : TQColor(200,100,100));
+
+- txt = TQString(__tr2qs_ctx("%1 of %2 (%3 %)","http")).tqarg(KviTQString::makeSizeReadable(uRecvd))
+- .tqarg(KviTQString::makeSizeReadable(uTotal)).tqarg(dPerc,0,'f',2);
++ txt = TQString(__tr2qs_ctx("%1 of %2 (%3 %)","http")).arg(KviTQString::makeSizeReadable(uRecvd))
++ .arg(KviTQString::makeSizeReadable(uTotal)).arg(dPerc,0,'f',2);
+ } else {
+ txt = KviTQString::makeSizeReadable(m_pHttpRequest->receivedSize());
+ }
+@@ -265,17 +265,17 @@ void KviHttpFileTransfer::displayPaint(TQPainter * p,int column,int width,int he
+ {
+ KviTimeUtils::secondsToDaysHoursMinsSecs(kvi_timeSpan(m_tTransferEndTime,m_tTransferStartTime),&uD,&uH,&uM,&uS);
+ txt = "TOT: ";
+- if(uD > 0)txt += TQString(__tr2qs_ctx("%1d %2h %3m %4s","http")).tqarg(uD).tqarg(uH).tqarg(uM).tqarg(uS);
+- else if(uH > 0)txt += TQString(__tr2qs_ctx("%2h %3m %4s","http")).tqarg(uH).tqarg(uM).tqarg(uS);
+- else txt += TQString(__tr2qs_ctx("%3m %4s","http")).tqarg(uM).tqarg(uS);
++ if(uD > 0)txt += TQString(__tr2qs_ctx("%1d %2h %3m %4s","http")).arg(uD).arg(uH).arg(uM).arg(uS);
++ else if(uH > 0)txt += TQString(__tr2qs_ctx("%2h %3m %4s","http")).arg(uH).arg(uM).arg(uS);
++ else txt += TQString(__tr2qs_ctx("%3m %4s","http")).arg(uM).arg(uS);
+ } else {
+ if(iEta >= 0)
+ {
+ KviTimeUtils::secondsToDaysHoursMinsSecs(iEta,&uD,&uH,&uM,&uS);
+ txt = "ETA: ";
+- if(uD > 0)txt += TQString(__tr2qs_ctx("%1d %2h %3m %4s","http")).tqarg(uD).tqarg(uH).tqarg(uM).tqarg(uS);
+- else if(uH > 0)txt += TQString(__tr2qs_ctx("%2h %3m %4s","http")).tqarg(uH).tqarg(uM).tqarg(uS);
+- else txt += TQString(__tr2qs_ctx("%3m %4s","http")).tqarg(uM).tqarg(uS);
++ if(uD > 0)txt += TQString(__tr2qs_ctx("%1d %2h %3m %4s","http")).arg(uD).arg(uH).arg(uM).arg(uS);
++ else if(uH > 0)txt += TQString(__tr2qs_ctx("%2h %3m %4s","http")).arg(uH).arg(uM).arg(uS);
++ else txt += TQString(__tr2qs_ctx("%3m %4s","http")).arg(uM).arg(uS);
+ } else {
+ txt = "ETA: Unknown";
+ }
+@@ -301,7 +301,7 @@ int KviHttpFileTransfer::displayHeight(int iLineSpacing)
+ TQString KviHttpFileTransfer::tipText()
+ {
+ TQString s;
+- s = TQString("<table><tr><td bgcolor=\"#000000\"><font color=\"#FFFFFF\"><b>HTTP Transfer (ID %1)</b></font></td></tr>").tqarg(id());
++ s = TQString("<table><tr><td bgcolor=\"#000000\"><font color=\"#FFFFFF\"><b>HTTP Transfer (ID %1)</b></font></td></tr>").arg(id());
+
+ if(m_lRequest.count() > 0)
+ {
+@@ -390,13 +390,13 @@ void KviHttpFileTransfer::connectionEstabilished()
+
+ void KviHttpFileTransfer::resolvingHost(const TQString &hostname)
+ {
+- m_szStatusString = __tr2qs_ctx("Resolving host %1","http").tqarg(hostname);
++ m_szStatusString = __tr2qs_ctx("Resolving host %1","http").arg(hostname);
+ displayUpdate();
+ }
+
+ void KviHttpFileTransfer::contactingHost(const TQString &ipandport)
+ {
+- m_szStatusString = __tr2qs_ctx("Contacting host %1","http").tqarg(ipandport);
++ m_szStatusString = __tr2qs_ctx("Contacting host %1","http").arg(ipandport);
+ displayUpdate();
+ }
+
+@@ -404,7 +404,7 @@ void KviHttpFileTransfer::receivedResponse(const TQString &response)
+ {
+ m_lHeaders.clear();
+ m_lHeaders.append(response);
+- m_szStatusString = __tr2qs_ctx("Transferring data (%1)","http").tqarg(response);
++ m_szStatusString = __tr2qs_ctx("Transferring data (%1)","http").arg(response);
+ m_tTransferStartTime = kvi_unixTime();
+ m_eGeneralStatus = Downloading;
+ displayUpdate();
+diff --git a/src/modules/links/linkswindow.cpp b/src/modules/links/linkswindow.cpp
+index 51ebce1..f2f51dd 100644
+--- a/src/modules/links/linkswindow.cpp
++++ b/src/modules/links/linkswindow.cpp
+@@ -301,7 +301,7 @@ void KviLinksWindow::endOfLinks()
+ while(!m_pLinkList->isEmpty())m_pLinkList->removeFirst();
+
+ m_pListView->setUpdatesEnabled(true);
+- m_pListView->tqrepaint();
++ m_pListView->repaint();
+ }
+
+ KviTalListViewItem * KviLinksWindow::insertLink(KviLink *l)
+diff --git a/src/modules/logview/logviewmdiwindow.cpp b/src/modules/logview/logviewmdiwindow.cpp
+index bab0a96..55b3622 100644
+--- a/src/modules/logview/logviewmdiwindow.cpp
++++ b/src/modules/logview/logviewmdiwindow.cpp
+@@ -202,11 +202,11 @@ void KviLogViewMDIWindow::fillCaptionBuffers()
+ {
+ m_szPlainTextCaption = __tr2qs_ctx("Log Viewer","logview");
+
+- m_szHtmlActiveCaption = TQString("<nobr><font color=\"%1\"><b>").tqarg(TQString(KVI_OPTION_COLOR(KviOption_colorCaptionTextActive).name()).ascii());
++ m_szHtmlActiveCaption = TQString("<nobr><font color=\"%1\"><b>").arg(TQString(KVI_OPTION_COLOR(KviOption_colorCaptionTextActive).name()).ascii());
+ m_szHtmlActiveCaption.append(m_szPlainTextCaption);
+ m_szHtmlActiveCaption.append("</b></font></nobr>");
+
+- m_szHtmlInactiveCaption = TQString("<nobr><font color=\"%1\"><b>").tqarg(TQString(KVI_OPTION_COLOR(KviOption_colorCaptionTextInactive).name()).ascii());
++ m_szHtmlInactiveCaption = TQString("<nobr><font color=\"%1\"><b>").arg(TQString(KVI_OPTION_COLOR(KviOption_colorCaptionTextInactive).name()).ascii());
+ m_szHtmlInactiveCaption.append(m_szPlainTextCaption);
+ m_szHtmlInactiveCaption.append("</b></font></nobr>");
+ }
+@@ -361,7 +361,7 @@ void KviLogViewMDIWindow::itemSelected(KviTalListViewItem * it)
+ else
+ outputNoFmt(0,*it,KviIrcView::NoRepaint | KviIrcView::NoTimestamp);
+ }
+- m_pIrcView->tqrepaint(false);
++ m_pIrcView->repaint(false);
+ }
+
+ TQStringList KviLogViewMDIWindow::getFileNames()
+diff --git a/src/modules/mircimport/libkvimircimport.cpp b/src/modules/mircimport/libkvimircimport.cpp
+index bdd21f1..e106623 100644
+--- a/src/modules/mircimport/libkvimircimport.cpp
++++ b/src/modules/mircimport/libkvimircimport.cpp
+@@ -243,7 +243,7 @@ void KviRemoteMircServerImportWizard::getListTerminated(bool bSuccess)
+ if(bSuccess)
+ {
+ m_pOutput->setText(__tr2qs("File downloaded: processing ..."));
+- m_pOutput->tqrepaint();
++ m_pOutput->repaint();
+ #ifndef COMPILE_ON_WINDOWS
+ g_pApp->syncX();
+ #endif //!COMPILE_ON_WINDOWS
+@@ -252,7 +252,7 @@ void KviRemoteMircServerImportWizard::getListTerminated(bool bSuccess)
+
+ TQString tmp;
+ if(iCount > 0)
+- tmp = __tr2qs("%1 servers imported succesfully").tqarg(iCount);
++ tmp = __tr2qs("%1 servers imported succesfully").arg(iCount);
+ else
+ tmp = __tr2qs("No servers imported");
+ m_pOutput->setText(tmp);
+diff --git a/src/modules/notifier/notifierwindow.cpp b/src/modules/notifier/notifierwindow.cpp
+index 3a7568b..bbc1298 100644
+--- a/src/modules/notifier/notifierwindow.cpp
++++ b/src/modules/notifier/notifierwindow.cpp
+@@ -1191,7 +1191,7 @@ void KviNotifierWindow::redrawWindow()
+ }
+
+ inline void KviNotifierWindow::setCursor(int cur) {
+- if (m_cursor.tqshape() != cur) {
++ if (m_cursor.shape() != cur) {
+ if(TQApplication::overrideCursor()) TQApplication::restoreOverrideCursor();
+ m_cursor.setShape((Qt::CursorShape)cur);
+ TQApplication::setOverrideCursor(m_cursor);
+diff --git a/src/modules/objects/class_buttongroup.cpp b/src/modules/objects/class_buttongroup.cpp
+index 9f6e26a..0a4f58a 100644
+--- a/src/modules/objects/class_buttongroup.cpp
++++ b/src/modules/objects/class_buttongroup.cpp
+@@ -48,7 +48,7 @@
+ @description:
+ This widget organizes buttons in a group.
+ It will be usually a parent for other child controls.
+- You can either use a child tqlayout to manage the tqchildren geometries
++ You can either use a child tqlayout to manage the children geometries
+ or use $setColumnLayout function to manage the tqlayout automatically.
+ The class ineriths groupbox.
+
+diff --git a/src/modules/objects/class_dockwindow.cpp b/src/modules/objects/class_dockwindow.cpp
+index 40fc473..852db9d 100644
+--- a/src/modules/objects/class_dockwindow.cpp
++++ b/src/modules/objects/class_dockwindow.cpp
+@@ -50,7 +50,7 @@
+ @description:
+ A window dockable to the KVIrc main frame borders (like a toolbar).
+ The window has an implicit tqlayout that will automatically manage
+- the tqchildren depending on the dock window's orientation.
++ the children depending on the dock window's orientation.
+ @functions:
+ !fn: $addWidget(<widget:hobject>)
+ Adds <widget> to the internal tqlayout of this dock window.[br]
+diff --git a/src/modules/objects/class_groupbox.cpp b/src/modules/objects/class_groupbox.cpp
+index d0ecae0..a1f5c11 100644
+--- a/src/modules/objects/class_groupbox.cpp
++++ b/src/modules/objects/class_groupbox.cpp
+@@ -29,7 +29,7 @@
+ #include "kvi_locale.h"
+ #include "kvi_iconmanager.h"
+
+-// Tables used in $setAlignment , $tqalignment and in $setOrientation & $orientation
++// Tables used in $setAlignment , $alignment and in $setOrientation & $orientation
+
+ const char * const align_tbl[] = {
+ "Left",
+@@ -60,7 +60,7 @@ const int align_cod[] = {
+ @description:
+ This widget can be used to display a groupbox.
+ It will be usually a parent for other child controls.
+- You can either use a child tqlayout to manage the tqchildren geometries
++ You can either use a child tqlayout to manage the children geometries
+ or use $setColumnLayout to manage the tqlayout automatically.
+ @functions:
+ !fn: $setTitle(<text:String>)
+@@ -89,14 +89,14 @@ const int align_cod[] = {
+ Returns the number of columns or rows in the groupbox.
+ !fn: $addSpace()
+ Adds an empty cell at the next free position.
+- !fn: <string> $tqalignment()
+- Returns the tqalignment of the group box title.
+- !fn: $setAlignment(<tqalignment:string>)
+- Set the tqalignment of the groupbox; Valid values are Left,Right,HCenter.
++ !fn: <string> $alignment()
++ Returns the alignment of the group box title.
++ !fn: $setAlignment(<alignment:string>)
++ Set the alignment of the groupbox; Valid values are Left,Right,HCenter.
+ !fn: $setOrientation<orientation:string>
+ Sets the group box's orientation. Valid values are:Qt::Horizontal,Qt::Vertical.
+ !fn: $setColumnLayout(<columns:integer>,<orientation:string>)
+- Enables the automatic tqlayout management. The tqchildren are arranged in n columns with the specified orientation.[br]
++ Enables the automatic tqlayout management. The children are arranged in n columns with the specified orientation.[br]
+ Valid values for <orientation> are:Qt::Horizontal,Qt::Vertical.
+ @examples:
+ [example]
+@@ -137,8 +137,8 @@ const int align_cod[] = {
+ %layoutbtn->$addwidget(%btnok,0,0)[br]
+ %layoutbtn->$addwidget(%btncancel,0,1)[br]
+ [br]
+- #And finally we create a main tqlayout with the groupbox (and its "tqchildren")[br]
+- #and fakewiget (with its buttons tqchildren).
++ #And finally we create a main tqlayout with the groupbox (and its "children")[br]
++ #and fakewiget (with its buttons children).
+ %maintqlayout=$new(tqlayout,%widget)[br]
+ %maintqlayout->$setspacing(10)[br]
+ %maintqlayout->$setmargin(10)[br]
+@@ -165,7 +165,7 @@ KVSO_BEGIN_REGISTERCLASS(KviKvsObject_groupbox,"groupbox","widget")
+ KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"setColumns", functionSetColumns)
+ KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"columns", functionColumns)
+ KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"addSpace", functionAddSpace)
+- KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"tqalignment", functionAlignment)
++ KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"alignment", functionAlignment)
+ KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"setAlignment", functionSetAlignment)
+ KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"setOrientation", functionSetOrientation)
+ KVSO_REGISTER_HANDLER(KviKvsObject_groupbox,"isChecked", functionIsChecked)
+@@ -310,7 +310,7 @@ bool KviKvsObject_groupbox::functionSetAlignment(KviKvsObjectFunctionCall *c)
+ {
+ TQString szAlign;
+ KVSO_PARAMETERS_BEGIN(c)
+- KVSO_PARAMETER("tqalignment",KVS_PT_STRING,0,szAlign)
++ KVSO_PARAMETER("alignment",KVS_PT_STRING,0,szAlign)
+ KVSO_PARAMETERS_END(c)
+ if (!widget()) return true;
+ for(unsigned int i = 0; i < align_num; i++)
+@@ -321,12 +321,12 @@ bool KviKvsObject_groupbox::functionSetAlignment(KviKvsObjectFunctionCall *c)
+ return true;
+ }
+ }
+- c->warning(__tr2qs("Unknown tqalignment"));
++ c->warning(__tr2qs("Unknown alignment"));
+ return true;
+ }
+ bool KviKvsObject_groupbox::functionAlignment(KviKvsObjectFunctionCall *c)
+ {
+- int mode = ((KviTalGroupBox *)widget())->tqalignment();
++ int mode = ((KviTalGroupBox *)widget())->alignment();
+ TQString szAlignment="";
+ for(unsigned int i = 0; i < align_num; i++)
+ {
+diff --git a/src/modules/objects/class_hbox.cpp b/src/modules/objects/class_hbox.cpp
+index 58c518c..0f6ae24 100644
+--- a/src/modules/objects/class_hbox.cpp
++++ b/src/modules/objects/class_hbox.cpp
+@@ -35,11 +35,11 @@
+ @type:
+ class
+ @short:
+- Manages child widget horizontal tqgeometry
++ Manages child widget horizontal geometry
+ @inherits:
+ [class]object[/class]
+ @description:
+- The hbox class widget provides horizontal tqgeometry management for its child widgets.
++ The hbox class widget provides horizontal geometry management for its child widgets.
+ @functions:
+ !fn: $setSpacing(<spacing:uint>)
+ Sets the default spacing of the widgets in pixels
+diff --git a/src/modules/objects/class_label.cpp b/src/modules/objects/class_label.cpp
+index 580f93b..f0e93e2 100644
+--- a/src/modules/objects/class_label.cpp
++++ b/src/modules/objects/class_label.cpp
+@@ -34,7 +34,7 @@
+
+
+
+-// Tables used in $setAlignment & $tqalignment
++// Tables used in $setAlignment & $alignment
+ const char * const align_tbl[] = {
+ "Left",
+ "Right",
+@@ -120,7 +120,7 @@ const int frame_cod[] = {
+ [class]widget[/class]
+ @description:
+ This widget can be used to display a text or an image. It can
+- have different frame styles and text/image tqalignment.
++ have different frame styles and text/image alignment.
+ @functions:
+ !fn: $setText(<text:string>)
+ Sets the text to be displayed by the label.
+@@ -144,15 +144,15 @@ const int frame_cod[] = {
+ automagically resize itself accordingly to the 'size' of the
+ text it contains.
+ See also [classfnc]$autoResize[/classfnc]().
+- !fn: <string> $tqalignment()
+- Returns a string containing tqalignment flags that are set for
++ !fn: <string> $alignment()
++ Returns a string containing alignment flags that are set for
+ this label. The flags are separated by commas. An example output
+ could look like this:[br]
+ [pre]Bottom, Right[/pre][br]
+ See [classfnc]$setAlignment[/classfnc]() for explanation of all
+- tqalignment flags.
++ alignment flags.
+ !fn: $setAlignment(<flag1:string>, <flag2:string>, ...)
+- This function sets tqalignment flags, given as parameters, for
++ This function sets alignment flags, given as parameters, for
+ this label. Valid flags are:
+ [pre]
+ Right - Text is aligned to right border[br]
+@@ -179,8 +179,8 @@ const int frame_cod[] = {
+ frame-style flags and their explenation.
+ !fn: $setFrameStyle(<flag1>, <flag2>, ...)
+ Sets the frame-style flags to the ones passed as arguments.
+- The flags can either decide of the tqshape or shadow of the
+- label's frame. Valid tqshape flags are:[br]
++ The flags can either decide of the shape or shadow of the
++ label's frame. Valid shape flags are:[br]
+ [pre]
+ NoFrame - draw no frame. You shouldn't specify a shadow when
+ using this.[br]
+@@ -216,7 +216,7 @@ KVSO_BEGIN_REGISTERCLASS(KviKvsObject_label,"label","widget")
+ KVSO_REGISTER_HANDLER(KviKvsObject_label,"setMargin", functionSetMargin)
+ KVSO_REGISTER_HANDLER(KviKvsObject_label,"autoResize", functionAutoResize)
+ KVSO_REGISTER_HANDLER(KviKvsObject_label,"setAutoResize", functionSetAutoResize)
+- KVSO_REGISTER_HANDLER(KviKvsObject_label,"tqalignment", functionAlignment)
++ KVSO_REGISTER_HANDLER(KviKvsObject_label,"alignment", functionAlignment)
+ KVSO_REGISTER_HANDLER(KviKvsObject_label,"setAlignment", functionSetAlignment)
+ KVSO_REGISTER_HANDLER(KviKvsObject_label,"clear", functionClear)
+ KVSO_REGISTER_HANDLER(KviKvsObject_label,"frameStyle", functionFrameStyle)
+@@ -297,13 +297,13 @@ bool KviKvsObject_label::functionAutoResize(KviKvsObjectFunctionCall *c)
+ //
+ bool KviKvsObject_label::functionSetAlignment(KviKvsObjectFunctionCall *c)
+ {
+- TQStringList tqalignment;
++ TQStringList alignment;
+ KVSO_PARAMETERS_BEGIN(c)
+- KVSO_PARAMETER("tqalignment",KVS_PT_STRINGLIST,KVS_PF_OPTIONAL,tqalignment)
++ KVSO_PARAMETER("alignment",KVS_PT_STRINGLIST,KVS_PF_OPTIONAL,alignment)
+ KVSO_PARAMETERS_END(c)
+ if (!widget()) return true;
+ int align,sum=0;
+- for ( TQStringList::Iterator it = tqalignment.begin(); it != tqalignment.end(); ++it )
++ for ( TQStringList::Iterator it = alignment.begin(); it != alignment.end(); ++it )
+ {
+
+ align = 0;
+@@ -318,7 +318,7 @@ bool KviKvsObject_label::functionSetAlignment(KviKvsObjectFunctionCall *c)
+ if(align)
+ sum = sum | align;
+ else
+- c->warning(__tr2qs("Unknown tqalignment: '%Q'"),&(*it));
++ c->warning(__tr2qs("Unknown alignment: '%Q'"),&(*it));
+
+ }
+ ((TQLabel *)widget())->setAlignment(sum);
+@@ -326,7 +326,7 @@ bool KviKvsObject_label::functionSetAlignment(KviKvsObjectFunctionCall *c)
+ }
+ bool KviKvsObject_label::functionAlignment(KviKvsObjectFunctionCall *c)
+ {
+- int mode = ((TQLabel *)widget())->tqalignment();
++ int mode = ((TQLabel *)widget())->alignment();
+ TQString szAlignment="";
+ for(unsigned int i = 0; i < align_num; i++)
+ {
+diff --git a/src/modules/objects/class_layout.cpp b/src/modules/objects/class_layout.cpp
+index 4381416..5caac1d 100644
+--- a/src/modules/objects/class_layout.cpp
++++ b/src/modules/objects/class_layout.cpp
+@@ -48,11 +48,11 @@
+ @type:
+ class
+ @short:
+- Manages child widget tqgeometry
++ Manages child widget geometry
+ @inherits:
+ [class]object[/class]
+ @description:
+- The tqlayout is a tqgeometry management tool for child widgets.
++ The tqlayout is a geometry management tool for child widgets.
+ You create a tqlayout , give it some widgets to manage and it will tqlayout them
+ automatically.[br]
+ The parent of the tqlayout must be the widget for which child widget geometries have to be managed.
+diff --git a/src/modules/objects/class_listview.cpp b/src/modules/objects/class_listview.cpp
+index 1bfe95a..f21417c 100644
+--- a/src/modules/objects/class_listview.cpp
++++ b/src/modules/objects/class_listview.cpp
+@@ -55,7 +55,7 @@
+ [class]widget[/class]
+ @description:
+ It can display and control a hierarchy of multi-column items, and provides the ability to add new items at any time.
+- The items are added by creating tqchildren [class]listviewitem[/class] objects: simply allocating them with $new
++ The items are added by creating children [class]listviewitem[/class] objects: simply allocating them with $new
+ will add the items to the listview and simply deleting them will remove them.
+ Allocating a [class]listviewitem[/class] item2 as a child of item1 will insert it to the same listview creating
+ a subtree of items spannig from item1. The subtree can be opened or closed by a simple click either
+@@ -132,11 +132,11 @@
+ The default implementation emits the [classfnc]$onItem[/classfnc]() signal.
+
+ !fn: $itemExpandedEvent(<item:object>)
+- This event is called when an item has been expanded, i.e. when the tqchildren of item are shown.
++ This event is called when an item has been expanded, i.e. when the children of item are shown.
+ The default implementation emits the [classfnc]$expanded[/classfnc]() signal.
+
+ !fn: $itemCollapsedEvent(<item:object>)
+- This event is called when an item has been collapsed, i.e. when the tqchildren of item are hidden.
++ This event is called when an item has been collapsed, i.e. when the children of item are hidden.
+ The default implementation emits the [classfnc]$collapsed[/classfnc]() signal.
+
+ !fn: $itemRenamedEvent(<item:object>,<col:integer>,<text:string>)
+diff --git a/src/modules/objects/class_listviewitem.cpp b/src/modules/objects/class_listviewitem.cpp
+index 49c448e..605fcee 100644
+--- a/src/modules/objects/class_listviewitem.cpp
++++ b/src/modules/objects/class_listviewitem.cpp
+@@ -71,7 +71,7 @@
+ Returns $true if this item is enabled and $false otherwise
+
+ !fn: $setOpen(<bOpen:boolean>)
+- Opens or closes the item to show its tqchildren items
++ Opens or closes the item to show its children items
+
+ !fn: $isOpen()
+ Returns the open state of this item
+@@ -80,7 +80,7 @@
+ Makes this item checkable or not. This function should be called immediately
+ after the item creation: changing this property later at runtime may have
+ strange results (like the item being moved inside the list, text disappearing,
+- hidden tqchildren etc... don't do it :D ).
++ hidden children etc... don't do it :D ).
+
+ !fn: $isCheckable()
+ Returns $true if this item is checkable and $false otherwise
+@@ -94,7 +94,7 @@
+ have been previously called.
+
+ !fn: <listviewitem> $firstChild()
+- Returns the first child item of this listviewitem or $null if this item has no tqchildren.
++ Returns the first child item of this listviewitem or $null if this item has no children.
+
+ !fn: <listviewitem> $nextSibling()
+ Returns the next sibling item of this listviewitem or $null if there are no sibling items.
+diff --git a/src/modules/objects/class_multilineedit.cpp b/src/modules/objects/class_multilineedit.cpp
+index 70d5086..1d14fcb 100644
+--- a/src/modules/objects/class_multilineedit.cpp
++++ b/src/modules/objects/class_multilineedit.cpp
+@@ -226,15 +226,15 @@ static int mod_cod[] = {
+ Returns 1(TRUE) if undo is available; otherwise returns 0(FALSE).
+ !fn: <boolean> $isRedoAvailable ()
+ Returns 1(TRUE) if redo is available; otherwise returns 0(FALSE).
+- !fn: $setAlignment(<tqalignment:string>)
+- Sets the tqalignment of the current paragraph to <tqalignment>. Valid values are:[br]
++ !fn: $setAlignment(<alignment:string>)
++ Sets the alignment of the current paragraph to <alignment>. Valid values are:[br]
+ - AlignAuto - Aligns according to the language.[br]
+ - TQt::AlignLeft - Aligns with the left edge.[br]
+ - TQt::AlignRight - Aligns with the right edge.[br]
+ - TQt::AlignCenter - Centers in both dimensions.
+- !fn: $setVerticalAlignment(<vertical_tqalignment:string>)
+- Sets the vertical tqalignment of the current format to <Valignemnt>. Valid Values are:[br]
+- - AlignNormal - Normal tqalignment.[br]
++ !fn: $setVerticalAlignment(<vertical_alignment:string>)
++ Sets the vertical alignment of the current format to <Valignemnt>. Valid Values are:[br]
++ - AlignNormal - Normal alignment.[br]
+ - AlignSuperScript - Superscript.[br]
+ - AlignSubScript - Subscript.
+ !fn: $setAutoFormatting(<afvalue:string>)
+@@ -1095,7 +1095,7 @@ bool KviKvsObject_mledit::functionsetAlignment(KviKvsObjectFunctionCall *c)
+ {
+ TQString szAlignment;
+ KVSO_PARAMETERS_BEGIN(c)
+- KVSO_PARAMETER("tqalignment",KVS_PT_STRING,0,szAlignment)
++ KVSO_PARAMETER("alignment",KVS_PT_STRING,0,szAlignment)
+ KVSO_PARAMETERS_END(c)
+ if(!widget()) return true;
+ if(KviTQString::equalCI(szAlignment,"Left"))
+@@ -1106,7 +1106,7 @@ bool KviKvsObject_mledit::functionsetAlignment(KviKvsObjectFunctionCall *c)
+ ((KviTalMultiLineEdit *)widget())->setAlignment(TQt::AlignCenter);
+ else if(KviTQString::equalCI(szAlignment,"Justify"))
+ ((KviTalMultiLineEdit *)widget())->setAlignment(TQt::AlignJustify);
+- else c->warning(__tr2qs("Unknown tqalignment '%Q'"),&szAlignment);
++ else c->warning(__tr2qs("Unknown alignment '%Q'"),&szAlignment);
+ return true;
+ }
+
+@@ -1131,18 +1131,18 @@ bool KviKvsObject_mledit::functionsetAutoFormatting(KviKvsObjectFunctionCall *c)
+ bool KviKvsObject_mledit::functionsetVerticalAlignment(KviKvsObjectFunctionCall *c)
+
+ {
+- TQString szVtqalignment;
++ TQString szValignment;
+ KVSO_PARAMETERS_BEGIN(c)
+- KVSO_PARAMETER("tqalignment",KVS_PT_STRING,0,szVtqalignment)
++ KVSO_PARAMETER("alignment",KVS_PT_STRING,0,szValignment)
+ KVSO_PARAMETERS_END(c)
+ if(!widget()) return true;
+- if(KviTQString::equalCI(szVtqalignment,"Normal"))
++ if(KviTQString::equalCI(szValignment,"Normal"))
+ ((KviTalMultiLineEdit *)widget())->setVerticalAlignment(KviTalMultiLineEdit::AlignNormal);
+- else if(KviTQString::equalCI(szVtqalignment,"SuperScript"))
++ else if(KviTQString::equalCI(szValignment,"SuperScript"))
+ ((KviTalMultiLineEdit *)widget())->setVerticalAlignment(KviTalMultiLineEdit::AlignSuperScript);
+- else if(KviTQString::equalCI(szVtqalignment,"SubScript"))
++ else if(KviTQString::equalCI(szValignment,"SubScript"))
+ ((KviTalMultiLineEdit *)widget())->setVerticalAlignment(KviTalMultiLineEdit::AlignSubScript);
+- else c->warning(__tr2qs("Unknown vertical tqalignment '%Q'"),&szVtqalignment);
++ else c->warning(__tr2qs("Unknown vertical alignment '%Q'"),&szValignment);
+ return true;
+ }
+
+diff --git a/src/modules/objects/class_painter.cpp b/src/modules/objects/class_painter.cpp
+index 826d119..81cc3f6 100644
+--- a/src/modules/objects/class_painter.cpp
++++ b/src/modules/objects/class_painter.cpp
+@@ -41,12 +41,12 @@
+ @type:
+ class
+ @short:
+- This class provide a painter to paint line and tqshapes.
++ This class provide a painter to paint line and shapes.
+ @inherits:
+ [class]object[/class]
+ [class]widget[/class]
+ @description:
+- With this class you can draw many graphics objects from simple lines to complex tqshapes like pies and chords.[br]
++ With this class you can draw many graphics objects from simple lines to complex shapes like pies and chords.[br]
+ It can also draw aligned text and pixmaps. Normally, it draws in a "natural" coordinate system, but it can also do view and world transformation.[br]
+ The class need to be implemented into a [classfnc]$paintEvent[/classfnc]();
+ @functions:
+@@ -196,8 +196,8 @@
+ timerevent()[br]
+ {[br]
+ $$->%b = $(($$->%b + 1) & 15);[br]
+- if ($$->%nextanim == 1) $$->$tqrepaint(1);[br]
+- $$->$tqrepaint(0);[br]
++ if ($$->%nextanim == 1) $$->$repaint(1);[br]
++ $$->$repaint(0);[br]
+ }[br]
+ drawAnim()[br]
+ {[br]
+@@ -414,12 +414,12 @@ if(__pXOrArray->isArray())\
+ KviKvsVariant * pH = __pXOrArray->array()->at(3);\
+ if(!(pX && pY && pW && pH))\
+ {\
+- c->error(__tr2qs("One of the tqgeometry array parameters is empty"));\
++ c->error(__tr2qs("One of the geometry array parameters is empty"));\
+ return false;\
+ }\
+ if(!(pX->asInteger(iX) && pY->asInteger(__iY) && pW->asInteger(__iW) && pH->asInteger(__iH)))\
+ {\
+- c->error(__tr2qs("One of the tqgeometry array parameters didn't evaluate to an integer"));\
++ c->error(__tr2qs("One of the geometry array parameters didn't evaluate to an integer"));\
+ return false;\
+ }\
+ } else {\
+diff --git a/src/modules/objects/class_tabwidget.cpp b/src/modules/objects/class_tabwidget.cpp
+index d30a6b6..fc22188 100644
+--- a/src/modules/objects/class_tabwidget.cpp
++++ b/src/modules/objects/class_tabwidget.cpp
+@@ -129,10 +129,10 @@
+ %labelwp=$new(label,%secondtab)
+ %labelwp->$settext("Enjoy the new Class provided by")
+ %layoutsecondtab->$addwidget(%labelwp,0,0)
+- %labelwp->$settqalignment("Center")
++ %labelwp->$setalignment("Center")
+ %labelgen=$new(label,%secondtab)
+ %labelgen->$settext(Grifisx \& Noldor)
+- %labelgen->$settqalignment("Center")
++ %labelgen->$setalignment("Center")
+ %layoutsecondtab->$addwidget(%labelgen,1,0)
+ %Tabwidget->$addTab(%secondtab,&About,50)
+
+diff --git a/src/modules/objects/class_urllabel.cpp b/src/modules/objects/class_urllabel.cpp
+index 639b311..2d0416b 100644
+--- a/src/modules/objects/class_urllabel.cpp
++++ b/src/modules/objects/class_urllabel.cpp
+@@ -152,7 +152,7 @@ bool KviScriptUrlLabelObject::eventFilter(TQObject * o, TQEvent * e)
+ !fn: $setText(<text>)
+ Sets the label's text. Reimplemented from internal reasons.
+ !fn: $setCursorChange(<bEnabled:boolean>)
+- Tells the label wheather to change or not the tqshape of cursor,
++ Tells the label wheather to change or not the shape of cursor,
+ when it is above the widget. Default is false.
+ !fn: <boolean> $cursorChange()
+ Returns true if the cursor changes over the label, false if not.
+diff --git a/src/modules/objects/class_vbox.cpp b/src/modules/objects/class_vbox.cpp
+index d068156..bfc8014 100644
+--- a/src/modules/objects/class_vbox.cpp
++++ b/src/modules/objects/class_vbox.cpp
+@@ -35,11 +35,11 @@
+ @type:
+ class
+ @short:
+- Manages child widget vertical tqgeometry
++ Manages child widget vertical geometry
+ @inherits:
+ [class]object[/class]
+ @description:
+- The vbox class widget provides vertical tqgeometry management for its child widgets.
++ The vbox class widget provides vertical geometry management for its child widgets.
+ @functions:
+ !fn: $setSpacing(<spacing:int>)
+ Sets the default spacing of the widgets in pixels
+diff --git a/src/modules/objects/class_widget.cpp b/src/modules/objects/class_widget.cpp
+index fec3925..83d5608 100644
+--- a/src/modules/objects/class_widget.cpp
++++ b/src/modules/objects/class_widget.cpp
+@@ -137,12 +137,12 @@ const int widgettypes_cod[] = {
+ All the other widget-type classes inherit from this one.
+ @functions:
+ !fn: $show()
+- Shows this widget and the tqchildren.
++ Shows this widget and the children.
+ See also [classfnc]$hide[/classfnc]() and [classfnc]$isVisible[/classfnc].
+ !fn: $hide()
+- Hides this widget (and conseguently all the tqchildren).
++ Hides this widget (and conseguently all the children).
+ See also [classfnc]$show[/classfnc]() and [classfnc]$isVisible[/classfnc].
+- !fn: $tqrepaint(<bool erase>)
++ !fn: $repaint(<bool erase>)
+ Repaints the widget directly by calling [classfnc]$paintEvent[/classfnc]() immediately.[br]
+ If erase is TRUE, erases the widget before the $paintEvent() call.
+ !fn: $x()
+@@ -157,11 +157,11 @@ const int widgettypes_cod[] = {
+ Returns the width of this widget in pixels.
+ !fn: $height()
+ Returns the height of this widget in pixels.
+- !fn: $tqgeometry()
+- Returns the widget tqgeometry in this form:[br]
++ !fn: $geometry()
++ Returns the widget geometry in this form:[br]
+ x, y, width, height.
+ !fn: $setGeometry(<x_or_array>,[<y>,<width>,<heigth>])
+- Sets the tqgeometry of this widget. <x> and <y> are relative
++ Sets the geometry of this widget. <x> and <y> are relative
+ to the parent widget or to the desktop (if this widget is
+ a toplevel one). All the parameters are in pixels.
+ !fn: $setMinimumWidth(<value>)
+@@ -341,7 +341,7 @@ const int widgettypes_cod[] = {
+ If a tooltip has setted with [classfnc]$setTooltip[/classfnc] the dynamic tooltip will be ignored.
+ The default implementation does nothing.
+ !fn: $paintEvent()
+- This event handler can be reimplemented to tqrepaint all or part of the widget.
++ This event handler can be reimplemented to repaint all or part of the widget.
+ It's needed by the Painter class.
+ It's very useful for drawing flicker free animations or low level special graphic effects.
+ If you call "[cmd]return[/cmd] $true" you will stop the internal processing
+@@ -522,7 +522,7 @@ const int widgettypes_cod[] = {
+ // ... now that I think about it , it
+ // may happen that widget() will be zero here too:
+ // If the TQt "physical" widget gets destroyed
+- // by some external factor (for example when tqchildren
++ // by some external factor (for example when children
+ // of a wrapper widget destroyed by KVIrc).
+ //
+ // as a convention:
+@@ -546,7 +546,7 @@ KVSO_BEGIN_REGISTERCLASS(KviKvsObject_widget,"widget","object")
+ // apparence
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"show",function_show)
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"hide",function_hide)
+- KVSO_REGISTER_HANDLER(KviKvsObject_widget,"tqrepaint",function_tqrepaint)
++ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"repaint",function_repaint)
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"isTopLevel",function_isTopLevel)
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"isVisible",function_isVisible)
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"raise",function_raise)
+@@ -567,10 +567,10 @@ KVSO_BEGIN_REGISTERCLASS(KviKvsObject_widget,"widget","object")
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"fontMetricsWidth",function_fontMetricsWidth)
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"fontMetricsHeight",function_fontMetricsHeight)
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"setFont",function_setFont)
+- // tqgeometry
++ // geometry
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"screenResolution",function_screenResolution)
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"centerToScreen",function_centerToScreen)
+- KVSO_REGISTER_HANDLER(KviKvsObject_widget,"geometry",function_tqgeometry)
++ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"geometry",function_geometry)
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"setGeometry",function_setGeometry)
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"mapToGlobal",function_mapToGlobal)
+ KVSO_REGISTER_HANDLER(KviKvsObject_widget,"mapFromGlobal",function_mapFromGlobal)
+@@ -916,14 +916,14 @@ bool KviKvsObject_widget::function_fontAscent(KviKvsObjectFunctionCall * c)
+
+ }
+
+-bool KviKvsObject_widget::function_tqrepaint(KviKvsObjectFunctionCall * c)
++bool KviKvsObject_widget::function_repaint(KviKvsObjectFunctionCall * c)
+ {
+ bool bEnabled;
+ KVSO_PARAMETERS_BEGIN(c)
+ KVSO_PARAMETER("bEnabled",KVS_PT_BOOL,0,bEnabled)
+ KVSO_PARAMETERS_END(c)
+ if(!widget()) return true;
+- widget()->tqrepaint(bEnabled);
++ widget()->repaint(bEnabled);
+ return true;
+ }
+
+@@ -955,9 +955,9 @@ bool KviKvsObject_widget::function_screenResolution(KviKvsObjectFunctionCall * c
+ return true;
+ }
+
+-bool KviKvsObject_widget::function_tqgeometry(KviKvsObjectFunctionCall *c)
++bool KviKvsObject_widget::function_geometry(KviKvsObjectFunctionCall *c)
+ {
+- TQRect r = widget() ? widget()->tqgeometry() : TQRect(0,0,0,0);
++ TQRect r = widget() ? widget()->geometry() : TQRect(0,0,0,0);
+ KviKvsArray * a = new KviKvsArray();
+ a->set(0,new KviKvsVariant((kvs_int_t)r.x()));
+ a->set(1,new KviKvsVariant((kvs_int_t)r.y()));
+@@ -992,7 +992,7 @@ bool KviKvsObject_widget::function_setGeometry(KviKvsObjectFunctionCall *c)
+
+ if(pXOrArray->isArray())
+ {
+- // the user has passed a complete tqgeometry array as first parameter
++ // the user has passed a complete geometry array as first parameter
+ // make sure it has at least 4 elements
+ if(pXOrArray->array()->size() < 4)
+ {
+@@ -1009,12 +1009,12 @@ bool KviKvsObject_widget::function_setGeometry(KviKvsObjectFunctionCall *c)
+ // no parameter was set in that place
+ if(!(pX && pY && pW && pH))
+ {
+- c->error(__tr2qs("One of the tqgeometry array parameters is empty"));
++ c->error(__tr2qs("One of the geometry array parameters is empty"));
+ return false;
+ }
+ if(!(pX->asInteger(iX) && pY->asInteger(iY) && pW->asInteger(iW) && pH->asInteger(iH)))
+ {
+- c->error(__tr2qs("One of the tqgeometry array parameters didn't evaluate to an integer"));
++ c->error(__tr2qs("One of the geometry array parameters didn't evaluate to an integer"));
+ return false;
+ }
+ // ok: the params are correct
+diff --git a/src/modules/objects/class_widget.h b/src/modules/objects/class_widget.h
+index edbe610..47d13cd 100644
+--- a/src/modules/objects/class_widget.h
++++ b/src/modules/objects/class_widget.h
+@@ -59,7 +59,7 @@ protected:
+ bool function_fontMetricsHeight(KviKvsObjectFunctionCall * c);
+ bool function_fontMetricsWidth(KviKvsObjectFunctionCall * c);
+ bool function_foregroundColor(KviKvsObjectFunctionCall *c);
+- bool function_tqgeometry(KviKvsObjectFunctionCall *c);
++ bool function_geometry(KviKvsObjectFunctionCall *c);
+ bool function_globalCursorX(KviKvsObjectFunctionCall *c);
+ bool function_globalCursorY(KviKvsObjectFunctionCall *c);
+ bool function_hasFocus(KviKvsObjectFunctionCall *c);
+@@ -74,7 +74,7 @@ protected:
+ bool function_move(KviKvsObjectFunctionCall *c);
+ bool function_parentWidget(KviKvsObjectFunctionCall *c);
+ bool function_raise(KviKvsObjectFunctionCall *);
+- bool function_tqrepaint(KviKvsObjectFunctionCall *c);
++ bool function_repaint(KviKvsObjectFunctionCall *c);
+ bool function_reparent(KviKvsObjectFunctionCall *c);
+ bool function_resize(KviKvsObjectFunctionCall *c);
+ bool function_screenResolution(KviKvsObjectFunctionCall * c);
+diff --git a/src/modules/objects/class_window.cpp b/src/modules/objects/class_window.cpp
+index 393c296..918f541 100644
+--- a/src/modules/objects/class_window.cpp
++++ b/src/modules/objects/class_window.cpp
+@@ -119,7 +119,7 @@ bool KviKvsObject_window::init(KviKvsRunTimeContext * pContext,KviKvsVariantList
+ KviWindow * w = new KviKvsScriptWindowWindow(pContext->window()->frame(),name());
+ setObject(TQT_TQOBJECT(w));
+ pContext->window()->frame()->addWindow(w,false);
+- w->minimize(); // must be minimized before tqchildren are added, otherwise the focus handling goes nuts...
++ w->minimize(); // must be minimized before children are added, otherwise the focus handling goes nuts...
+
+ return true;
+ }
+diff --git a/src/modules/objects/class_wrapper.cpp b/src/modules/objects/class_wrapper.cpp
+index 928ddaf..38901ed 100644
+--- a/src/modules/objects/class_wrapper.cpp
++++ b/src/modules/objects/class_wrapper.cpp
+@@ -72,7 +72,7 @@
+ The first entry in this example is a KVIrc server window, class "KviFrame" and name "kvirc_frame":
+ it is a toplevel widget.[br]
+ The "qt_top_dock", "qt_custom_toolbar" and the "qt_dockwidget_internal" are
+- direct tqchildren of that widget.[br]
++ direct children of that widget.[br]
+ To indicate a specific widget we will use the "class::name" form.[br]
+ So to indicate the main KVIrc frame you will use "KviFrame::kvirc_main_frame".
+ Look at this example:[br]
+diff --git a/src/modules/objects/libkviobjects.cpp b/src/modules/objects/libkviobjects.cpp
+index 3a939ff..2a4dc9d 100644
+--- a/src/modules/objects/libkviobjects.cpp
++++ b/src/modules/objects/libkviobjects.cpp
+@@ -153,7 +153,7 @@ static bool objects_kvs_cmd_killClass(KviKvsModuleCommandCall * c)
+ Suppresses any warning message
+ @description:
+ Removes the definition of the class <class_name>.[br]
+- All the instances of the class are killed (thus tqchildren objects are killed too).[br]
++ All the instances of the class are killed (thus children objects are killed too).[br]
+ All the derived class definitions are removed as well.[br]
+ Builtin class definitions cannot be removed and this commands
+ kills only all the instances of that class (derived class definitions
+@@ -913,7 +913,7 @@ static bool objects_kvs_fnc_listObjects(KviKvsModuleFunctionCall * cmd)
+ static void dumpChildObjects(KviWindow *pWnd, TQObject *parent, const char *spacing, bool bFlag, KviKvsArray *n, int &idx)
+ {
+ #ifdef COMPILE_USE_QT4
+- const TQObjectList list = parent->tqchildren();
++ const TQObjectList list = parent->children();
+ if( !list.count() ) return;
+ TQString sp(spacing);
+ sp.append(">");
+diff --git a/src/modules/options/dialog.cpp b/src/modules/options/dialog.cpp
+index 107c597..4f1dedf 100644
+--- a/src/modules/options/dialog.cpp
++++ b/src/modules/options/dialog.cpp
+@@ -179,7 +179,7 @@ KviOptionsDialog::KviOptionsDialog(TQWidget * par,const TQString &szGroup)
+ "</td>" \
+ "</tr>" \
+ "</table>"
+- ).tqarg(szDialogTitle).tqarg(szDialog).tqarg(szInfoTips).tqarg(szOkCancelButtons);
++ ).arg(szDialogTitle).arg(szDialog).arg(szInfoTips).arg(szOkCancelButtons);
+
+ TQString szCaption = szDialogTitle + " - KVIrc";
+ setCaption(szCaption);
+@@ -534,10 +534,10 @@ void KviOptionsDialog::fillListView(KviTalListViewItem * p,KviPointerList<KviOpt
+ {
+ if(e->bIsContainer)
+ {
+- // it's a container: add only eventual not contained tqchildren (containers or explicitly marked as not contained)
++ // it's a container: add only eventual not contained children (containers or explicitly marked as not contained)
+ fillListView(it,e->pChildList,szGroup,true);
+ } else {
+- // it's not a container, add any tqchildren
++ // it's not a container, add any children
+ fillListView(it,e->pChildList,szGroup,false);
+ }
+ }
+@@ -578,7 +578,7 @@ KviOptionsListViewItem * KviOptionsDialog::findItemByPage(KviOptionsListViewItem
+ if(it->m_pOptionsWidget == pPage)return it;
+
+ KviOptionsListViewItem *i;
+- // run through the tqchildren
++ // run through the children
+ i = (KviOptionsListViewItem *)(it->firstChild());
+ if(i)
+ {
+@@ -586,7 +586,7 @@ KviOptionsListViewItem * KviOptionsDialog::findItemByPage(KviOptionsListViewItem
+ if(i)return i;
+ }
+
+- // not found in the tqchildren tree.. look in the next sibling
++ // not found in the children tree.. look in the next sibling
+ i = (KviOptionsListViewItem *)(it->nextSibling());
+ if(i)
+ {
+@@ -647,7 +647,7 @@ void KviOptionsDialog::closeEvent(TQCloseEvent *e)
+
+ void KviOptionsDialog::recursiveCommit(KviOptionsListViewItem *it)
+ {
+- // First commit the tqchildren
++ // First commit the children
+ if(!it) return;
+ KviOptionsListViewItem *it2 = (KviOptionsListViewItem *)it->firstChild();
+ while(it2)
+diff --git a/src/modules/options/mkcreateinstanceproc.sh b/src/modules/options/mkcreateinstanceproc.sh
+index 1a25a14..9947aff 100755
+--- a/src/modules/options/mkcreateinstanceproc.sh
++++ b/src/modules/options/mkcreateinstanceproc.sh
+@@ -271,7 +271,7 @@ printclass()
+ fi
+ }
+
+-addtqchildren()
++addchildren()
+ {
+ if [ -f "$CLASSDIR/$2" ]; then
+ LEVEL=`cat $CLASSDIR/$2`
+@@ -282,7 +282,7 @@ addtqchildren()
+ echo "$3 e$1->pChildList = new KviPointerList<KviOptionsWidgetInstanceEntry>;" >> $TARGET
+ echo "$3 e$1->pChildList->setAutoDelete(true);" >> $TARGET
+ NEXTLEVEL=`expr $1 + 1`
+- addtqchildren $NEXTLEVEL $achild "$3 "
++ addchildren $NEXTLEVEL $achild "$3 "
+ else
+ echo "$3 e$1->pChildList = 0;" >> $TARGET
+ fi
+@@ -290,7 +290,7 @@ addtqchildren()
+ fi
+ }
+
+-addtqchildren 0 NOPARENT ""
++addchildren 0 NOPARENT ""
+
+
+ rm -fr $CLASSDIR
+diff --git a/src/modules/options/optw_irc.cpp b/src/modules/options/optw_irc.cpp
+index f39add0..a6cee9d 100644
+--- a/src/modules/options/optw_irc.cpp
++++ b/src/modules/options/optw_irc.cpp
+@@ -181,7 +181,7 @@ KviChannelAdvancedOptionsWidget::KviChannelAdvancedOptionsWidget(TQWidget * pPar
+
+ hostmask.mask(tmp1,(KviIrcMask::MaskType)i);
+ ipmask.mask(tmp2,(KviIrcMask::MaskType)i);
+- m_pBanTypeCombo->insertItem(TQString("%1 (%2)").tqarg(tmp1).tqarg(tmp2));
++ m_pBanTypeCombo->insertItem(TQString("%1 (%2)").arg(tmp1).arg(tmp2));
+ }
+ m_pBanTypeCombo->setCurrentItem(KVI_OPTION_UINT(KviOption_uintDefaultBanType));
+
+diff --git a/src/modules/options/optw_servers.cpp b/src/modules/options/optw_servers.cpp
+index 309344c..2c26ac5 100644
+--- a/src/modules/options/optw_servers.cpp
++++ b/src/modules/options/optw_servers.cpp
+@@ -732,7 +732,7 @@ KviServerDetailsWidget::KviServerDetailsWidget(TQWidget * par,KviIrcServer * s)
+ KviPointerList<KviProxy> * proxylist = g_pProxyDataBase->proxyList();
+ for(KviProxy * p = proxylist->first();p;p = proxylist->next())
+ {
+- m_pProxyEditor->insertItem(TQString("%1:%2").tqarg(p->hostname()).tqarg(p->port()));
++ m_pProxyEditor->insertItem(TQString("%1:%2").arg(p->hostname()).arg(p->port()));
+ }
+ if(m_pProxyEditor->count() > (s->proxy()+2))
+ m_pProxyEditor->setCurrentItem(s->proxy()+2);
+diff --git a/src/modules/options/optw_textencoding.cpp b/src/modules/options/optw_textencoding.cpp
+index 495df00..fc915ed 100644
+--- a/src/modules/options/optw_textencoding.cpp
++++ b/src/modules/options/optw_textencoding.cpp
+@@ -68,7 +68,7 @@ KviTextEncodingOptionsWidget::KviTextEncodingOptionsWidget(TQWidget * parent)
+ m_pForcedLocaleCombo->insertItem(__tr2qs_ctx("Automatic detection","options"));
+ m_pForcedLocaleCombo->insertItem(__tr2qs_ctx("en","options"));
+
+- TQString szLangFile=TQString("%1/.kvirc_force_locale").tqarg(TQDir::homeDirPath());
++ TQString szLangFile=TQString("%1/.kvirc_force_locale").arg(TQDir::homeDirPath());
+
+ bool bIsDefaultLocale = !KviFileUtils::fileExists(szLangFile);
+ //We Have setted locale, but not restarted kvirc
+@@ -121,7 +121,7 @@ void KviTextEncodingOptionsWidget::commit()
+ }
+
+ idx=m_pForcedLocaleCombo->currentItem();
+- TQString szLangFile=TQString("%1/.kvirc_force_locale").tqarg(TQDir::homeDirPath());
++ TQString szLangFile=TQString("%1/.kvirc_force_locale").arg(TQDir::homeDirPath());
+ if(idx==0) {
+ if(KviFileUtils::fileExists(szLangFile))
+ KviFileUtils::removeFile(szLangFile);
+diff --git a/src/modules/reguser/dialog.cpp b/src/modules/reguser/dialog.cpp
+index 59fc732..254c5fe 100644
+--- a/src/modules/reguser/dialog.cpp
++++ b/src/modules/reguser/dialog.cpp
+@@ -312,7 +312,7 @@ KviRegisteredUsersDialog::~KviRegisteredUsersDialog()
+ if(!parent())KVI_OPTION_RECT(KviOption_rectRegisteredUsersDialogGeometry) = TQRect(pos().x(),pos().y(),
+ size().width(),size().height());
+ #else
+- if(!parent())KVI_OPTION_RECT(KviOption_rectRegisteredUsersDialogGeometry) = tqgeometry();
++ if(!parent())KVI_OPTION_RECT(KviOption_rectRegisteredUsersDialogGeometry) = geometry();
+ #endif
+
+ g_pRegisteredUsersDialog = 0;
+diff --git a/src/modules/setup/setupwizard.cpp b/src/modules/setup/setupwizard.cpp
+index b0c72cf..1a8b5c4 100644
+--- a/src/modules/setup/setupwizard.cpp
++++ b/src/modules/setup/setupwizard.cpp
+@@ -736,7 +736,7 @@ void KviSetupWizard::chooseOldDataPath()
+ __tr2qs("Do not overwrite folder? - KVIrc"),
+ tqtr("A folder %1 seems to be not a valid KVIrc settings folder."
+ "Do you want to use it anyway?")
+- .tqarg( szBuffer ),
++ .arg( szBuffer ),
+ __tr2qs("&Yes"), __tr2qs("&No"),
+ TQString(), 0, 1 ) == 0
+ ) {
+@@ -1005,7 +1005,7 @@ void KviSetupWizard::accept()
+
+ #ifndef COMPILE_ON_WINDOWS
+ // Make local->global link
+- TQString localPath = TQString("%1/global").tqarg(g_pApp->m_szLocalKvircDir);
++ TQString localPath = TQString("%1/global").arg(g_pApp->m_szLocalKvircDir);
+ unlink(TQTextCodec::codecForLocale()->fromUnicode(localPath).data());
+ symlink(TQTextCodec::codecForLocale()->fromUnicode(g_pApp->m_szGlobalKvircDir).data(),TQTextCodec::codecForLocale()->fromUnicode(localPath).data());
+ #endif
+diff --git a/src/modules/sharedfileswindow/sharedfileswindow.cpp b/src/modules/sharedfileswindow/sharedfileswindow.cpp
+index c8aa9e4..11e320d 100644
+--- a/src/modules/sharedfileswindow/sharedfileswindow.cpp
++++ b/src/modules/sharedfileswindow/sharedfileswindow.cpp
+@@ -411,7 +411,7 @@ void KviSharedFilesWindow::rightButtonPressed(KviTalListViewItem *it,const TQPoi
+ if(fi.exists())
+ {
+ tmp += "<nobr>";
+- tmp += __tr2qs_ctx("Size: %1 bytes","filetransferwindow").tqarg(fi.size());
++ tmp += __tr2qs_ctx("Size: %1 bytes","filetransferwindow").arg(fi.size());
+ tmp += "</nobr><br>";
+ }
+
+diff --git a/src/modules/theme/packthemedialog.cpp b/src/modules/theme/packthemedialog.cpp
+index 6f2e24c..269fbfe 100644
+--- a/src/modules/theme/packthemedialog.cpp
++++ b/src/modules/theme/packthemedialog.cpp
+@@ -293,7 +293,7 @@ KviPackThemeDialog::KviPackThemeDialog(TQWidget * pParent,KviPointerList<KviThem
+ pLayout = new TQGridLayout(pPage,4,1,4,4);
+
+ pLabel = new TQLabel(pPage);
+- pLabel->setText(__tr2qs_ctx("Here you must choose the file name for the theme package. It should have a *.%1 extension.","theme").tqarg(KVI_FILEEXTENSION_THEMEPACKAGE));
++ pLabel->setText(__tr2qs_ctx("Here you must choose the file name for the theme package. It should have a *.%1 extension.","theme").arg(KVI_FILEEXTENSION_THEMEPACKAGE));
+ pLabel->setTextFormat(TQt::RichText);
+ pLayout->addWidget(pLabel,0,0);
+
+diff --git a/src/modules/toolbareditor/toolbareditor.cpp b/src/modules/toolbareditor/toolbareditor.cpp
+index 927fbf7..208c269 100644
+--- a/src/modules/toolbareditor/toolbareditor.cpp
++++ b/src/modules/toolbareditor/toolbareditor.cpp
+@@ -371,7 +371,7 @@ void KviCustomizeToolBarsDialog::deleteToolBar()
+ if(!t)return;
+ if(TQMessageBox::question(this,
+ __tr2qs("Confirm ToolBar Deletion"),
+- __tr2qs("Do you really want to delete toolbar \"%1\" ?").tqarg(t->label()),
++ __tr2qs("Do you really want to delete toolbar \"%1\" ?").arg(t->label()),
+ __tr2qs("No"),
+ __tr2qs("Yes")) == 0)return;
+ KviCustomToolBarManager::instance()->destroyDescriptor(t->descriptor()->id());
+@@ -462,7 +462,7 @@ void KviCustomizeToolBarsDialog::renameToolBar()
+ if(!t)return;
+
+ KviCustomToolBarPropertiesDialog * dlg = new KviCustomToolBarPropertiesDialog(this,
+- __tr2qs("Please specify the properties for the toolbar \"%1\"").tqarg(t->label()),
++ __tr2qs("Please specify the properties for the toolbar \"%1\"").arg(t->label()),
+ t->descriptor()->id(),
+ t->descriptor()->labelCode(),
+ t->descriptor()->iconId());
+diff --git a/src/modules/torrent/tc_statusbarapplet.cpp b/src/modules/torrent/tc_statusbarapplet.cpp
+index 45b32db..e8b6528 100644
+--- a/src/modules/torrent/tc_statusbarapplet.cpp
++++ b/src/modules/torrent/tc_statusbarapplet.cpp
+@@ -39,12 +39,12 @@ void KviTorrentStatusBarApplet::selfRegister(KviStatusBar *bar)
+ TQString formatSize(float sz)
+ {
+ if (sz >= 1024.0f*1024.0f*1024.0f)
+- return TQString("%1 GB").tqarg(sz / (1024.0f*1024.0f*1024.0f), 2, 'f', 2);
++ return TQString("%1 GB").arg(sz / (1024.0f*1024.0f*1024.0f), 2, 'f', 2);
+ if (sz >= 1024.0f*1024.0f)
+- return TQString("%1 MB").tqarg(sz / (1024.0f*1024.0f), 2, 'f', 2);
++ return TQString("%1 MB").arg(sz / (1024.0f*1024.0f), 2, 'f', 2);
+ if (sz >= 1024.0f)
+- return TQString("%1 KB").tqarg(sz / 1024.0f, 2, 'f', 2);
+- return TQString("%1 B").tqarg(sz, 2, 'f', 2);
++ return TQString("%1 KB").arg(sz / 1024.0f, 2, 'f', 2);
++ return TQString("%1 B").arg(sz, 2, 'f', 2);
+ }
+
+ void KviTorrentStatusBarApplet::update()
+@@ -52,10 +52,10 @@ void KviTorrentStatusBarApplet::update()
+ if (KviTorrentInterface::selected())
+ {
+ TQString msg = TQString("up: %1 K/s (%2), dn: %3 K/s (%4)")
+- .tqarg(KviTorrentInterface::selected()->speedUp(), 2)
+- .tqarg(formatSize(KviTorrentInterface::selected()->trafficUp()))
+- .tqarg(KviTorrentInterface::selected()->speedDown(), 2)
+- .tqarg(formatSize(KviTorrentInterface::selected()->trafficDown()));
++ .arg(KviTorrentInterface::selected()->speedUp(), 2)
++ .arg(formatSize(KviTorrentInterface::selected()->trafficUp()))
++ .arg(KviTorrentInterface::selected()->speedDown(), 2)
++ .arg(formatSize(KviTorrentInterface::selected()->trafficDown()));
+
+ setText(msg);
+
+diff --git a/src/modules/url/libkviurl.cpp b/src/modules/url/libkviurl.cpp
+index b3edd19..c0e647c 100644
+--- a/src/modules/url/libkviurl.cpp
++++ b/src/modules/url/libkviurl.cpp
+@@ -285,7 +285,7 @@ void UrlDialog::popup(KviTalListViewItem *item, const TQPoint &point, int col)
+ void UrlDialog::sayToWin(int itemID)
+ {
+ KviWindow *wnd = g_pApp->findWindowByCaption(m_pListPopup->text(itemID).utf8().data());
+- TQString say=TQString("PRIVMSG %1 %2").tqarg(wnd->windowName()).tqarg(m_szUrl.ptr());
++ TQString say=TQString("PRIVMSG %1 %2").arg(wnd->windowName()).arg(m_szUrl.ptr());
+ if (wnd) {
+ KviKvsScript::run(say,wnd);
+ wnd->raise();
+diff --git a/src/modules/window/libkviwindow.cpp b/src/modules/window/libkviwindow.cpp
+index 7c83051..3624402 100644
+--- a/src/modules/window/libkviwindow.cpp
++++ b/src/modules/window/libkviwindow.cpp
+@@ -1499,7 +1499,7 @@ static bool window_module_init(KviModule *m)
+
+ // saveOutput (view()->saveBuffer())
+ /*
+- m->registerFunction("geometry",window_module_fnc_tqgeometry);
++ m->registerFunction("geometry",window_module_fnc_geometry);
+ m->registerCommand("setGeometry",window_module_cmd_setGeometry);
+
+ m->registerFunction("isActive",window_module_fnc_isActive);
diff --git a/redhat/applications/kvirc/bp002-2dd6d32b.diff b/redhat/applications/kvirc/bp002-2dd6d32b.diff
new file mode 100644
index 000000000..94cee22e4
--- /dev/null
+++ b/redhat/applications/kvirc/bp002-2dd6d32b.diff
@@ -0,0 +1,4391 @@
+commit 2dd6d32bd821b303aa7b25edda76d1ef7c14b2bf
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1324497989 -0600
+
+ Rename obsolete tq methods to standard names
+
+diff --git a/src/kvilib/config/kvi_wincfg.h b/src/kvilib/config/kvi_wincfg.h
+index 3441e7b..1759e32 100644
+--- a/src/kvilib/config/kvi_wincfg.h
++++ b/src/kvilib/config/kvi_wincfg.h
+@@ -132,7 +132,7 @@
+ /* define this if you are on a big endian machine */
+ /* #undef BIG_ENDIAN_MACHINE_BYTE_ORDER */
+
+-/* define this if you want to use the tqunicode-local 8bit charset translation */
++/* define this if you want to use the unicode-local 8bit charset translation */
+ /* #undef COMPILE_USE_LOCAL_8BIT */
+
+ /* define this if you want to disable the inter-process communication support */
+diff --git a/src/kvilib/core/kvi_pointerhashtable.h b/src/kvilib/core/kvi_pointerhashtable.h
+index 1c2bcab..99e513f 100644
+--- a/src/kvilib/core/kvi_pointerhashtable.h
++++ b/src/kvilib/core/kvi_pointerhashtable.h
+@@ -236,18 +236,18 @@ inline unsigned int kvi_hash_hash(const TQString &szKey,bool bCaseSensitive)
+ if(!p)return 0;
+ if(bCaseSensitive)
+ {
+- while(p->tqunicode())
++ while(p->unicode())
+ {
+- uResult += p->tqunicode();
++ uResult += p->unicode();
+ p++;
+ }
+ } else {
+- while(p->tqunicode())
++ while(p->unicode())
+ {
+ #ifdef COMPILE_USE_QT4
+- uResult += p->toLower().tqunicode();
++ uResult += p->toLower().unicode();
+ #else
+- uResult += p->lower().tqunicode();
++ uResult += p->lower().unicode();
+ #endif
+ p++;
+ }
+diff --git a/src/kvilib/core/kvi_qstring.cpp b/src/kvilib/core/kvi_qstring.cpp
+index b02e308..84beaa0 100644
+--- a/src/kvilib/core/kvi_qstring.cpp
++++ b/src/kvilib/core/kvi_qstring.cpp
+@@ -54,8 +54,8 @@ namespace KviTQString
+ bool equalCSN(const TQString &sz1,const TQString &sz2,unsigned int len)
+ {
+ if(len == 0)return true; // assume equal
+- const TQChar * c1 = sz1.tqunicode();
+- const TQChar * c2 = sz2.tqunicode();
++ const TQChar * c1 = sz1.unicode();
++ const TQChar * c2 = sz2.unicode();
+ unsigned int lmin = MY_MIN(sz1.length(),sz2.length());
+ if(lmin < len)return false;
+ const TQChar * c1e = c1 + len;
+@@ -64,7 +64,7 @@ namespace KviTQString
+
+ while(c1 < c1e)
+ {
+- if(c1->tqunicode() != c2->tqunicode())return false;
++ if(c1->unicode() != c2->unicode())return false;
+ c1++;
+ c2++;
+ }
+@@ -74,8 +74,8 @@ namespace KviTQString
+ bool equalCIN(const TQString &sz1,const TQString &sz2,unsigned int len)
+ {
+ if(len == 0)return true; // assume equal
+- const TQChar * c1 = sz1.tqunicode();
+- const TQChar * c2 = sz2.tqunicode();
++ const TQChar * c1 = sz1.unicode();
++ const TQChar * c2 = sz2.unicode();
+ unsigned int lmin = MY_MIN(sz1.length(),sz2.length());
+ if(lmin < len)return false;
+ const TQChar * c1e = c1 + len;
+@@ -85,9 +85,9 @@ namespace KviTQString
+ while(c1 < c1e)
+ {
+ #ifdef COMPILE_USE_QT4
+- if(c1->toLower().tqunicode() != c2->toLower().tqunicode())return false;
++ if(c1->toLower().unicode() != c2->toLower().unicode())return false;
+ #else
+- if(c1->lower().tqunicode() != c2->lower().tqunicode())return false;
++ if(c1->lower().unicode() != c2->lower().unicode())return false;
+ #endif
+ c1++;
+ c2++;
+@@ -98,7 +98,7 @@ namespace KviTQString
+ bool equalCSN(const TQString &sz1,const char * sz2,unsigned int len)
+ {
+ if(len == 0)return true; // assume equal
+- const TQChar * c1 = sz1.tqunicode();
++ const TQChar * c1 = sz1.unicode();
+ if(sz1.length() < len)return false;
+ const TQChar * c1e = c1 + len;
+
+@@ -107,7 +107,7 @@ namespace KviTQString
+
+ while((c1 < c1e) && (*sz2))
+ {
+- if(c1->tqunicode() != *sz2)return false;
++ if(c1->unicode() != *sz2)return false;
+ c1++;
+ sz2++;
+ }
+@@ -117,7 +117,7 @@ namespace KviTQString
+ bool equalCIN(const TQString &sz1,const char * sz2,unsigned int len)
+ {
+ if(len == 0)return true; // assume equal
+- const TQChar * c1 = sz1.tqunicode();
++ const TQChar * c1 = sz1.unicode();
+ if(sz1.length() < len)return false;
+ const TQChar * c1e = c1 + len;
+
+@@ -127,9 +127,9 @@ namespace KviTQString
+ while((c1 < c1e) && (*sz2))
+ {
+ #ifdef COMPILE_USE_QT4
+- if(c1->toLower().tqunicode() != tolower(*sz2))return false;
++ if(c1->toLower().unicode() != tolower(*sz2))return false;
+ #else
+- if(c1->lower().tqunicode() != tolower(*sz2))return false;
++ if(c1->lower().unicode() != tolower(*sz2))return false;
+ #endif
+ c1++;
+ sz2++;
+@@ -141,19 +141,19 @@ namespace KviTQString
+ bool equalCIN(const TQString &sz1,const TQChar *sz2,unsigned int len)
+ {
+ if(len == 0)return true; // assume equal
+- const TQChar * c1 = sz1.tqunicode();
++ const TQChar * c1 = sz1.unicode();
+ if(sz1.length() < len)return false;
+ const TQChar * c1e = c1 + len;
+
+ if(!sz2)return !c1;
+- if(!c1)return !(sz2->tqunicode());
++ if(!c1)return !(sz2->unicode());
+
+- while((c1 < c1e) && (sz2->tqunicode()))
++ while((c1 < c1e) && (sz2->unicode()))
+ {
+ #ifdef COMPILE_USE_QT4
+- if(c1->toLower().tqunicode() != sz2->toLower().tqunicode())return false;
++ if(c1->toLower().unicode() != sz2->toLower().unicode())return false;
+ #else
+- if(c1->lower().tqunicode() != sz2->lower().tqunicode())return false;
++ if(c1->lower().unicode() != sz2->lower().unicode())return false;
+ #endif
+ c1++;
+ sz2++;
+@@ -189,15 +189,15 @@ namespace KviTQString
+ {
+ if(sz1.length() != sz2.length())return false;
+
+- const TQChar * c1 = sz1.tqunicode();
+- const TQChar * c2 = sz2.tqunicode();
++ const TQChar * c1 = sz1.unicode();
++ const TQChar * c2 = sz2.unicode();
+ const TQChar * c1e = c1 + sz1.length();
+
+ if(!c1 || !c2)return (c1 == c2);
+
+ while(c1 < c1e)
+ {
+- if(c1->tqunicode() != c2->tqunicode())return false;
++ if(c1->unicode() != c2->unicode())return false;
+ c1++;
+ c2++;
+ }
+@@ -208,8 +208,8 @@ namespace KviTQString
+ {
+ if(sz1.length() != sz2.length())return false;
+
+- const TQChar * c1 = sz1.tqunicode();
+- const TQChar * c2 = sz2.tqunicode();
++ const TQChar * c1 = sz1.unicode();
++ const TQChar * c2 = sz2.unicode();
+ const TQChar * c1e = c1 + sz1.length();
+
+ if(!c1 || !c2)return (c1 == c2);
+@@ -217,9 +217,9 @@ namespace KviTQString
+ while(c1 < c1e)
+ {
+ #ifdef COMPILE_USE_QT4
+- if(c1->toLower().tqunicode() != c2->toLower().tqunicode())return false;
++ if(c1->toLower().unicode() != c2->toLower().unicode())return false;
+ #else
+- if(c1->lower().tqunicode() != c2->lower().tqunicode())return false;
++ if(c1->lower().unicode() != c2->lower().unicode())return false;
+ #endif
+ c1++;
+ c2++;
+@@ -230,35 +230,35 @@ namespace KviTQString
+ // sz2 is assumed to be null terminated, sz1 is not!
+ bool equalCI(const TQString &sz1,const TQChar *sz2)
+ {
+- const TQChar * c1 = sz1.tqunicode();
++ const TQChar * c1 = sz1.unicode();
+ const TQChar * c1e = c1 + sz1.length();
+
+ if(!c1 || !sz2)return (c1 == sz2);
+
+ while(c1 < c1e)
+ {
+- if(!sz2->tqunicode())return false; // sz1 has at least another character
++ if(!sz2->unicode())return false; // sz1 has at least another character
+ #ifdef COMPILE_USE_QT4
+- if(c1->toLower().tqunicode() != sz2->toLower().tqunicode())return false;
++ if(c1->toLower().unicode() != sz2->toLower().unicode())return false;
+ #else
+- if(c1->lower().tqunicode() != sz2->lower().tqunicode())return false;
++ if(c1->lower().unicode() != sz2->lower().unicode())return false;
+ #endif
+ c1++;
+ sz2++;
+ }
+- return (c1 == c1e) && (!sz2->tqunicode());
++ return (c1 == c1e) && (!sz2->unicode());
+ }
+
+ bool equalCS(const TQString &sz1,const char * sz2)
+ {
+- const TQChar * c1 = sz1.tqunicode();
++ const TQChar * c1 = sz1.unicode();
+ const TQChar * c1e = c1 + sz1.length();
+
+ if(!c1)return !sz2;
+
+ while((c1 < c1e) && (*sz2))
+ {
+- if(c1->tqunicode() != *sz2)return false;
++ if(c1->unicode() != *sz2)return false;
+ c1++;
+ sz2++;
+ }
+@@ -267,7 +267,7 @@ namespace KviTQString
+
+ bool equalCI(const TQString &sz1,const char * sz2)
+ {
+- const TQChar * c1 = sz1.tqunicode();
++ const TQChar * c1 = sz1.unicode();
+ const TQChar * c1e = c1 + sz1.length();
+
+ if(!c1)return !sz2;
+@@ -275,9 +275,9 @@ namespace KviTQString
+ while((c1 < c1e) && (*sz2))
+ {
+ #ifdef COMPILE_USE_QT4
+- if(c1->toLower().tqunicode() != tolower(*sz2))return false;
++ if(c1->toLower().unicode() != tolower(*sz2))return false;
+ #else
+- if(c1->lower().tqunicode() != tolower(*sz2))return false;
++ if(c1->lower().unicode() != tolower(*sz2))return false;
+ #endif
+ c1++;
+ sz2++;
+@@ -287,8 +287,8 @@ namespace KviTQString
+
+ int cmpCS(const TQString &sz1,const TQString &sz2)
+ {
+- const TQChar * c1 = sz1.tqunicode();
+- const TQChar * c2 = sz2.tqunicode();
++ const TQChar * c1 = sz1.unicode();
++ const TQChar * c2 = sz2.unicode();
+ const TQChar * c1e = c1 + sz1.length();
+ const TQChar * c2e = c2 + sz2.length();
+
+@@ -304,12 +304,12 @@ namespace KviTQString
+ {
+ if(c1 >= c1e)
+ {
+- if(c2 < c2e)return /* 0 */ - (c2->tqunicode());
++ if(c2 < c2e)return /* 0 */ - (c2->unicode());
+ return 0;
+ }
+- if(c2 >= c2e)return c1->tqunicode() /* - 0 */;
++ if(c2 >= c2e)return c1->unicode() /* - 0 */;
+
+- int diff = c1->tqunicode() - c2->tqunicode();
++ int diff = c1->unicode() - c2->unicode();
+ if(diff)return diff;
+
+ c1++;
+@@ -321,8 +321,8 @@ namespace KviTQString
+
+ int cmpCI(const TQString &sz1,const TQString &sz2)
+ {
+- const TQChar * c1 = sz1.tqunicode();
+- const TQChar * c2 = sz2.tqunicode();
++ const TQChar * c1 = sz1.unicode();
++ const TQChar * c2 = sz2.unicode();
+ const TQChar * c1e = c1 + sz1.length();
+ const TQChar * c2e = c2 + sz2.length();
+
+@@ -338,22 +338,22 @@ namespace KviTQString
+ if(c1 >= c1e)
+ {
+ #ifdef COMPILE_USE_QT4
+- if(c2 < c2e)return /* 0 */ - (c2->toLower().tqunicode());
++ if(c2 < c2e)return /* 0 */ - (c2->toLower().unicode());
+ #else
+- if(c2 < c2e)return /* 0 */ - (c2->lower().tqunicode());
++ if(c2 < c2e)return /* 0 */ - (c2->lower().unicode());
+ #endif
+ return 0;
+ }
+ #ifdef COMPILE_USE_QT4
+- if(c2 >= c2e)return c1->toLower().tqunicode() /* - 0 */;
++ if(c2 >= c2e)return c1->toLower().unicode() /* - 0 */;
+ #else
+- if(c2 >= c2e)return c1->lower().tqunicode() /* - 0 */;
++ if(c2 >= c2e)return c1->lower().unicode() /* - 0 */;
+ #endif
+
+ #ifdef COMPILE_USE_QT4
+- int diff = c1->toLower().tqunicode() - c2->toLower().tqunicode();
++ int diff = c1->toLower().unicode() - c2->toLower().unicode();
+ #else
+- int diff = c1->lower().tqunicode() - c2->lower().tqunicode();
++ int diff = c1->lower().unicode() - c2->lower().unicode();
+ #endif
+ if(diff)return diff;
+
+@@ -370,8 +370,8 @@ namespace KviTQString
+ unsigned int l1 = MY_MIN(len,sz1.length());
+ unsigned int l = MY_MIN(l1,sz2.length()); // FIXME: THIS IS NOT OK
+
+- const TQChar * c1 = sz1.tqunicode();
+- const TQChar * c2 = sz2.tqunicode();
++ const TQChar * c1 = sz1.unicode();
++ const TQChar * c2 = sz2.unicode();
+ const TQChar * c1e = c1 + l;
+
+ if(!c1)
+@@ -384,9 +384,9 @@ namespace KviTQString
+ int diff = 0;
+
+ #ifdef COMPILE_USE_QT4
+- while((c1 < c1e) && !(diff = (c1->toLower().tqunicode() - c2->toLower().tqunicode())))
++ while((c1 < c1e) && !(diff = (c1->toLower().unicode() - c2->toLower().unicode())))
+ #else
+- while((c1 < c1e) && !(diff = (c1->lower().tqunicode() - c2->lower().tqunicode())))
++ while((c1 < c1e) && !(diff = (c1->lower().unicode() - c2->lower().unicode())))
+ #endif
+ {
+ c1++;
+@@ -533,7 +533,7 @@ namespace KviTQString
+ }
+
+ TQChar * buffer = (TQChar *)kvi_malloc(sizeof(TQChar) * allocsize);
+- //TQChar * p = (TQChar *)s.tqunicode();
++ //TQChar * p = (TQChar *)s.unicode();
+
+ char *argString;
+ long argValue;
+@@ -561,12 +561,12 @@ namespace KviTQString
+ }
+
+
+- for(; fmt->tqunicode() ; ++fmt)
++ for(; fmt->unicode() ; ++fmt)
+ {
+ if(reallen == allocsize)INCREMENT_MEM
+
+ //copy up to a '%'
+- if(fmt->tqunicode() != '%')
++ if(fmt->unicode() != '%')
+ {
+ *p++ = *fmt;
+ reallen++;
+@@ -574,7 +574,7 @@ namespace KviTQString
+ }
+
+ ++fmt; //skip this '%'
+- switch(fmt->tqunicode())
++ switch(fmt->unicode())
+ {
+ case 's': // char * string
+ {
+@@ -583,7 +583,7 @@ namespace KviTQString
+ TQString str(argString);
+ if(str.isEmpty())continue;
+ int len = str.length();
+- const TQChar * ch = str.tqunicode();
++ const TQChar * ch = str.unicode();
+ if(!ch)continue;
+ if((allocsize - reallen) < len)INCREMENT_MEM_BY(len)
+ while(len--)*p++ = *ch++;
+@@ -606,7 +606,7 @@ namespace KviTQString
+ if(!str)continue;
+ if(str->isEmpty())continue;
+ int len = str->length();
+- const TQChar * ch = str->tqunicode();
++ const TQChar * ch = str->unicode();
+ if(!ch)continue;
+ if((allocsize - reallen) < len)INCREMENT_MEM_BY(len)
+ while(len--)*p++ = *ch++;
+@@ -721,7 +721,7 @@ namespace KviTQString
+ {
+ *p++ = '%'; //write it
+ reallen++;
+- if(fmt->tqunicode())
++ if(fmt->unicode())
+ {
+ if(reallen == allocsize)INCREMENT_MEM
+ *p++ = *fmt;
+@@ -789,21 +789,21 @@ namespace KviTQString
+ const TQChar * m2 = (const TQChar *)szM2.ucs2();
+ #endif
+
+- if(!(m1 && m2 && (m1->tqunicode())))return false;
++ if(!(m1 && m2 && (m1->unicode())))return false;
+ const TQChar * savePos1 = 0;
+ const TQChar * savePos2 = m2;
+- while(m1->tqunicode())
++ while(m1->unicode())
+ {
+ //loop managed by m1 (initially first mask)
+- if(m1->tqunicode()=='*')
++ if(m1->unicode()=='*')
+ {
+ //Found a wildcard in m1
+ savePos1 = ++m1; //move to the next char and save the position...this is our jolly
+- if(!savePos1->tqunicode())return true; //last was a wildcard , matches everything ahead...
++ if(!savePos1->unicode())return true; //last was a wildcard , matches everything ahead...
+ savePos2 = m2+1; //next return state for the second string
+ continue; //and return
+ }
+- if(!m2->tqunicode())return false; //m2 finished and we had something to match here!
++ if(!m2->unicode())return false; //m2 finished and we had something to match here!
+ #ifdef COMPILE_USE_QT4
+ if(m1->toLower()==m2->toLower())
+ #else
+@@ -813,7 +813,7 @@ namespace KviTQString
+ //chars matched
+ m1++; //Go ahead in the two strings
+ m2++; //
+- if((!(m1->tqunicode())) && m2->tqunicode() && savePos1)
++ if((!(m1->unicode())) && m2->unicode() && savePos1)
+ {
+ //m1 finished , but m2 not yet and we have a savePosition for m1 (there was a wildcard)...
+ //retry matching the string following the * from the savePos2 (one char ahead last time)
+@@ -822,7 +822,7 @@ namespace KviTQString
+ savePos2++; //next savePos2 will be next char
+ }
+ } else {
+- if(m2->tqunicode() == '*')
++ if(m2->unicode() == '*')
+ {
+ //A wlidcard in the second string
+ //Invert the game : mask1 <-> mask2
+@@ -835,11 +835,11 @@ namespace KviTQString
+ continue; //...and again
+ }
+ // m1 != m2 , m1 != * , m2 != *
+- if((m1->tqunicode() == '?') || (m2->tqunicode() == '?'))
++ if((m1->unicode() == '?') || (m2->unicode() == '?'))
+ {
+ m1++;
+ m2++;
+- if((!(m1->tqunicode())) && m2->tqunicode() && savePos1)
++ if((!(m1->unicode())) && m2->unicode() && savePos1)
+ {
+ //m1 finished , but m2 not yet and we have a savePosition for m1 (there was a wildcard)...
+ //retry matching the string following the * from the savePos2 (one char ahead last time)
+@@ -858,7 +858,7 @@ namespace KviTQString
+ }
+ }
+ }
+- return (!(m2->tqunicode())); //m1 surely finished , so for the match , m2 must be finished too
++ return (!(m2->unicode())); //m1 surely finished , so for the match , m2 must be finished too
+ }
+
+ bool matchStringCI(const TQString &szExp,const TQString &szStr,bool bIsRegExp,bool bExact)
+@@ -870,9 +870,9 @@ namespace KviTQString
+ TQChar* ptr=(TQChar*)szExp.ucs2();
+ #endif
+ if(!ptr) return 0;
+- while(ptr->tqunicode())
++ while(ptr->unicode())
+ {
+- if((ptr->tqunicode()=='[') || (ptr->tqunicode()==']'))
++ if((ptr->unicode()=='[') || (ptr->unicode()==']'))
+ {
+ szWildcard.append("[");
+ szWildcard.append(*ptr);
+@@ -904,9 +904,9 @@ namespace KviTQString
+ TQChar* ptr=(TQChar*)szExp.ucs2();
+ #endif
+ if(!ptr) return 0;
+- while(ptr->tqunicode())
++ while(ptr->unicode())
+ {
+- if((ptr->tqunicode()=='[')) // <-- hum ?
++ if((ptr->unicode()=='[')) // <-- hum ?
+ {
+ szWildcard.append("[");
+ szWildcard.append(*ptr);
+@@ -1043,7 +1043,7 @@ namespace KviTQString
+ }
+ TQChar * buffer = (TQChar *)kvi_malloc(sizeof(TQChar) * szSrc.length());
+ TQChar * b = buffer;
+- unsigned short us = c->tqunicode();
++ unsigned short us = c->unicode();
+ while(us)
+ {
+ if(us < 256)
+@@ -1052,7 +1052,7 @@ namespace KviTQString
+ *b = *c;
+ c++;
+ b++;
+- us = c->tqunicode();
++ us = c->unicode();
+ }
+ TQString ret(buffer,szSrc.length());
+ kvi_free(buffer);
+@@ -1069,7 +1069,7 @@ namespace KviTQString
+ }
+ TQChar * buffer = (TQChar *)kvi_malloc(sizeof(TQChar) * szSrc.length());
+ TQChar * b = buffer;
+- unsigned short us = c->tqunicode();
++ unsigned short us = c->unicode();
+ while(us)
+ {
+ if(us < 256)
+@@ -1079,7 +1079,7 @@ namespace KviTQString
+ *b = *c;
+ c++;
+ b++;
+- us = c->tqunicode();
++ us = c->unicode();
+ }
+ TQString ret(buffer,szSrc.length());
+ kvi_free(buffer);
+diff --git a/src/kvilib/core/kvi_string.cpp b/src/kvilib/core/kvi_string.cpp
+index 525ad71..54a1c4a 100644
+--- a/src/kvilib/core/kvi_string.cpp
++++ b/src/kvilib/core/kvi_string.cpp
+@@ -109,7 +109,7 @@ kvi_wslen_t kvi_wstrlen(const kvi_wchar_t * str)
+ if(pString->length() > 0) \
+ { \
+ if(len <= ((int)(pString->length())))return (-1); \
+- _WSTRING_WMEMCPY(p,pString->tqunicode(),pString->length()); \
++ _WSTRING_WMEMCPY(p,pString->unicode(),pString->length()); \
+ p += pString->length(); \
+ len -= pString->length(); \
+ } \
+@@ -192,8 +192,8 @@ int kvi_wvsnprintf(kvi_wchar_t *buffer,kvi_wslen_t len,const kvi_wchar_t *fmt,kv
+
+ bool kvi_qstringEqualCI(const TQString &s1,const TQString &s2)
+ {
+- const TQChar * p1 = s1.tqunicode();
+- const TQChar * p2 = s2.tqunicode();
++ const TQChar * p1 = s1.unicode();
++ const TQChar * p2 = s2.unicode();
+ int l = s1.length() < s2.length() ? s1.length() : s2.length();
+ #ifdef COMPILE_USE_QT4
+ while(l-- && (p1->toLower() == p2->toLower()))p1++,p2++;
+@@ -1141,23 +1141,23 @@ KviStr::KviStr(char c,int fillLen)
+ }
+
+
+-KviStr::KviStr(const kvi_wchar_t * tqunicode)
++KviStr::KviStr(const kvi_wchar_t * unicode)
+ {
+- if(!tqunicode)
++ if(!unicode)
+ {
+ m_len = 0;
+ m_ptr = (char *)kvi_malloc(1);
+ *m_ptr = 0;
+ } else {
+- m_len = kvi_wstrlen(tqunicode);
++ m_len = kvi_wstrlen(unicode);
+ m_ptr = (char *)kvi_malloc(m_len + 1);
+ register char * p = m_ptr;
+- while(*tqunicode)*p++ = *tqunicode++;
++ while(*unicode)*p++ = *unicode++;
+ *p = 0;
+ }
+ }
+
+-KviStr::KviStr(const kvi_wchar_t * tqunicode,int len)
++KviStr::KviStr(const kvi_wchar_t * unicode,int len)
+ {
+ m_len = len;
+ m_ptr = (char *)kvi_malloc(m_len + 1);
+@@ -1165,7 +1165,7 @@ KviStr::KviStr(const kvi_wchar_t * tqunicode,int len)
+ char * end = p + len;
+ while(p != end)
+ {
+- *p++ = *tqunicode++;
++ *p++ = *unicode++;
+ }
+ *p = 0;
+ }
+diff --git a/src/kvilib/core/kvi_string.h b/src/kvilib/core/kvi_string.h
+index 4e9a3ac..9434e27 100644
+--- a/src/kvilib/core/kvi_string.h
++++ b/src/kvilib/core/kvi_string.h
+@@ -155,9 +155,9 @@ public:
+ // Creates a string long fillLen characters filled with character c.<br>
+ KviStr(char c,int fillLen = 1);
+
+- KviStr(const kvi_wchar_t * tqunicode);
++ KviStr(const kvi_wchar_t * unicode);
+
+- KviStr(const kvi_wchar_t * tqunicode,int len);
++ KviStr(const kvi_wchar_t * unicode,int len);
+
+ // just free(m_ptr)
+ ~KviStr();
+diff --git a/src/kvilib/file/kvi_fileutils.cpp b/src/kvilib/file/kvi_fileutils.cpp
+index 1668999..3410773 100644
+--- a/src/kvilib/file/kvi_fileutils.cpp
++++ b/src/kvilib/file/kvi_fileutils.cpp
+@@ -60,7 +60,7 @@ namespace KviFileUtils
+ if(tmp_buf[255] == '\r')cur_len--; //Ignore CR...
+ int lastlen = szBuffer.length();
+ szBuffer.setLength(lastlen + cur_len);
+- TQChar *p1 = szBuffer.tqunicode() + lastlen;
++ TQChar *p1 = szBuffer.unicode() + lastlen;
+ char * p2 = tmp_buf;
+ for(int i=0;i<cur_len;i++)*p1++ = *p2++;
+ cur_len = 0;
+@@ -76,7 +76,7 @@ namespace KviFileUtils
+ if(tmp_buf[cur_len - 1] == '\r')cur_len--; //Ignore CR...
+ int lastlen = szBuffer.length();
+ szBuffer.setLength(lastlen + cur_len);
+- TQChar *p1 = szBuffer.tqunicode() + lastlen;
++ TQChar *p1 = szBuffer.unicode() + lastlen;
+ char * p2 = tmp_buf;
+ for(int i=0;i<cur_len;i++)*p1++ = *p2++;
+ }
+diff --git a/src/kvilib/irc/kvi_ircmask.cpp b/src/kvilib/irc/kvi_ircmask.cpp
+index 4552cc9..acc2de8 100644
+--- a/src/kvilib/irc/kvi_ircmask.cpp
++++ b/src/kvilib/irc/kvi_ircmask.cpp
+@@ -232,8 +232,8 @@ KviIrcMask::KviIrcMask(const TQString &szMask)
+ if(b)
+ {
+ const TQChar * p = b;
+- while(p->tqunicode() && (p->tqunicode() != '!'))p++;
+- if(p->tqunicode())
++ while(p->unicode() && (p->unicode() != '!'))p++;
++ if(p->unicode())
+ {
+ if(p != b)
+ {
+@@ -250,8 +250,8 @@ KviIrcMask::KviIrcMask(const TQString &szMask)
+ }
+ p++;
+ b = p;
+- while(p->tqunicode() && (p->tqunicode() != '@'))p++;
+- if(p->tqunicode())
++ while(p->unicode() && (p->unicode() != '@'))p++;
++ if(p->unicode())
+ {
+ if(p != b)
+ {
+@@ -267,7 +267,7 @@ KviIrcMask::KviIrcMask(const TQString &szMask)
+ }
+ p++;
+ b=p;
+- while(p->tqunicode())p++;
++ while(p->unicode())p++;
+ if(p != b)
+ {
+ m_szHost.setUnicode(b,p-b);
+@@ -291,7 +291,7 @@ bool KviIrcMask::hasNumericHost() const
+ int nPoints = 0;
+ int nDoublePoints = 0;
+ unsigned short uc;
+- while((uc = p->tqunicode()))
++ while((uc = p->unicode()))
+ {
+ if(uc == '.')nPoints++; // ipv6 masks can contain dots too!
+ else {
+@@ -300,9 +300,9 @@ bool KviIrcMask::hasNumericHost() const
+ if((uc < '0') || (uc > '9'))
+ {
+ #ifdef COMPILE_USE_QT4
+- uc = p->toUpper().tqunicode();
++ uc = p->toUpper().unicode();
+ #else
+- uc = p->upper().tqunicode();
++ uc = p->upper().unicode();
+ #endif
+ if((uc < 'A') || (uc > 'F'))return false;
+ }
+@@ -408,13 +408,13 @@ void KviIrcMask::mask(TQString &szMask,MaskType eMaskType) const
+ break;
+ default:
+ if (m_szUser.length() > 0) {
+- if(m_szUser[0].tqunicode() != '*')
++ if(m_szUser[0].unicode() != '*')
+ szMask.append(m_szWild);
+- if ((m_szUser[0].tqunicode() == '~') ||
+- (m_szUser[0].tqunicode() == '^') ||
+- (m_szUser[0].tqunicode() == '+') ||
+- (m_szUser[0].tqunicode() == '-') ||
+- (m_szUser[0].tqunicode() == '='))szMask.append(m_szUser.right(m_szUser.length() - 1));
++ if ((m_szUser[0].unicode() == '~') ||
++ (m_szUser[0].unicode() == '^') ||
++ (m_szUser[0].unicode() == '+') ||
++ (m_szUser[0].unicode() == '-') ||
++ (m_szUser[0].unicode() == '='))szMask.append(m_szUser.right(m_szUser.length() - 1));
+ else
+ szMask.append(m_szUser);
+ }
+@@ -614,13 +614,13 @@ bool KviIrcMask::matchesFixed(const TQString &nick,const TQString &user,const TQ
+ int KviIrcMask::getIpDomainMaskLen() const
+ {
+ int len = m_szHost.length();
+- const TQChar *p = m_szHost.tqunicode();
++ const TQChar *p = m_szHost.unicode();
+ const TQChar *b = p;
+ p += len;
+ if(b < p)
+ {
+ p--;
+- while((b < p) && (p->tqunicode() != '.') && (p->tqunicode() != ':'))p--;
++ while((b < p) && (p->unicode() != '.') && (p->unicode() != ':'))p--;
+ }
+ // 000.000.000.000
+ // p
+@@ -632,17 +632,17 @@ int KviIrcMask::getIpDomainMaskLen() const
+ int KviIrcMask::getLargeIpDomainMaskLen() const
+ {
+ int len = m_szHost.length();
+- const TQChar *p = m_szHost.tqunicode();
++ const TQChar *p = m_szHost.unicode();
+ const TQChar *b = p;
+ p += len;
+ if(b < p)
+ {
+ p--;
+- while((b < p) && (p->tqunicode() != '.') && (p->tqunicode() != ':'))p--;
++ while((b < p) && (p->unicode() != '.') && (p->unicode() != ':'))p--;
+ if(b < p)
+ {
+ p--;
+- while((b < p) && (p->tqunicode() != '.') && (p->tqunicode() != ':'))p--;
++ while((b < p) && (p->unicode() != '.') && (p->unicode() != ':'))p--;
+ }
+ }
+ // 000.000.000.000
+@@ -657,7 +657,7 @@ TQString KviIrcMask::getHostDomainMask() const
+ const TQChar *p=KviTQString::nullTerminatedArray(m_szHost);
+ if(!p)return TQString();
+ const TQChar *b = p;
+- while(p->tqunicode() && p->tqunicode() != '.')p++;
++ while(p->unicode() && p->unicode() != '.')p++;
+ TQString ret(p,len - (p - b));
+ return ret;
+ }
+@@ -666,18 +666,18 @@ TQString KviIrcMask::getHostDomainMask() const
+ TQString KviIrcMask::getLargeHostDomainMask() const
+ {
+ int len = m_szHost.length();
+- const TQChar *p = m_szHost.tqunicode();
++ const TQChar *p = m_szHost.unicode();
+ const TQChar *b = p;
+ p += len;
+
+ if(b < p)
+ {
+ p--;
+- while((b < p) && (p->tqunicode() != '.'))p--;
++ while((b < p) && (p->unicode() != '.'))p--;
+ if(b < p)
+ {
+ p--;
+- while((b < p) && (p->tqunicode() != '.'))p--;
++ while((b < p) && (p->unicode() != '.'))p--;
+ }
+ }
+
+@@ -692,14 +692,14 @@ TQString KviIrcMask::getLargeHostDomainMask() const
+ bool KviIrcMask::hasMaskedIp() const
+ {
+ int len = m_szHost.length();
+- const TQChar *p = m_szHost.tqunicode();
++ const TQChar *p = m_szHost.unicode();
+ const TQChar *b = p;
+ if(len == 0)return false;
+ //run to the end
+ p += len;
+ const TQChar *e = p;
+ p--;
+- while((b < p) && (p->tqunicode() != '.'))p--;
++ while((b < p) && (p->unicode() != '.'))p--;
+ return ((e - p) > 4); // at the moment 4 should be enough : the largest top part is "name"
+ }
+
+@@ -721,7 +721,7 @@ bool KviIrcMask::hasWildNick()
+ const TQChar * aux = KviTQString::nullTerminatedArray(m_szNick);
+ if(!aux)return false;
+ unsigned short uc;
+- while((uc = aux->tqunicode()))
++ while((uc = aux->unicode()))
+ {
+ if((uc == '*') || (uc == '?'))return true;
+ aux++;
+@@ -736,14 +736,14 @@ int KviIrcMask::nonWildChars()
+ if(!aux)return 0;
+ unsigned short uc;
+
+- while((uc = aux->tqunicode()))
++ while((uc = aux->unicode()))
+ {
+ if((uc != '*') && (uc != '?'))iCnt++;
+ aux++;
+ }
+
+ aux = KviTQString::nullTerminatedArray(m_szUser);
+- while((uc = aux->tqunicode()))
++ while((uc = aux->unicode()))
+ {
+ if((uc != '*') && (uc != '?'))iCnt++;
+ aux++;
+@@ -751,7 +751,7 @@ int KviIrcMask::nonWildChars()
+
+
+ aux = KviTQString::nullTerminatedArray(m_szHost);
+- while((uc = aux->tqunicode()))
++ while((uc = aux->unicode()))
+ {
+ if((uc != '*') && (uc != '?'))iCnt++;
+ aux++;
+diff --git a/src/kvilib/irc/kvi_ircuserdb.cpp b/src/kvilib/irc/kvi_ircuserdb.cpp
+index 7fda2d1..3394b04 100644
+--- a/src/kvilib/irc/kvi_ircuserdb.cpp
++++ b/src/kvilib/irc/kvi_ircuserdb.cpp
+@@ -54,9 +54,9 @@ void KviIrcUserEntry::setRealName(const TQString &rn)
+ m_szRealName = KviTQString::trimmed(m_szRealName);
+ if(m_szRealName.length()>=3)
+ {
+- if( (m_szRealName[0].tqunicode()==KVI_TEXT_COLOR) && (m_szRealName[2].tqunicode()==KVI_TEXT_RESET) )
++ if( (m_szRealName[0].unicode()==KVI_TEXT_COLOR) && (m_szRealName[2].unicode()==KVI_TEXT_RESET) )
+ {
+- switch(m_szRealName[1].tqunicode())
++ switch(m_szRealName[1].unicode())
+ {
+ case '1': // hum.. encoded as hidden color code eh ? publish is somewhere, so others might implement this...
+ setGender(Male);
+diff --git a/src/kvilib/irc/kvi_mirccntrl.cpp b/src/kvilib/irc/kvi_mirccntrl.cpp
+index 21b5258..e42f316 100644
+--- a/src/kvilib/irc/kvi_mirccntrl.cpp
++++ b/src/kvilib/irc/kvi_mirccntrl.cpp
+@@ -169,7 +169,7 @@ KVILIB_API unsigned int getUnicodeColorBytes(const TQString &szData,unsigned int
+ return charIdx;
+ }
+
+- unsigned short c = szData[(int)charIdx].tqunicode();
++ unsigned short c = szData[(int)charIdx].unicode();
+
+ //First we can have a digit or a coma
+ if(((c < '0') || (c > '9')))
+@@ -189,7 +189,7 @@ KVILIB_API unsigned int getUnicodeColorBytes(const TQString &szData,unsigned int
+ return charIdx;
+ }
+
+- c = szData[(int)charIdx].tqunicode();
++ c = szData[(int)charIdx].unicode();
+
+ if(((c < '0') || (c > '9')) && (c != ','))
+ {
+@@ -207,7 +207,7 @@ KVILIB_API unsigned int getUnicodeColorBytes(const TQString &szData,unsigned int
+ (*byte_2)=KVI_NOCHANGE;
+ return charIdx;
+ }
+- c = szData[(int)charIdx].tqunicode();
++ c = szData[(int)charIdx].unicode();
+ }
+
+ if(c == ',')
+@@ -218,7 +218,7 @@ KVILIB_API unsigned int getUnicodeColorBytes(const TQString &szData,unsigned int
+ (*byte_2)=KVI_NOCHANGE;
+ return charIdx;
+ }
+- c = szData[(int)charIdx].tqunicode();
++ c = szData[(int)charIdx].unicode();
+ } else {
+ (*byte_2)=KVI_NOCHANGE;
+ return charIdx;
+@@ -227,7 +227,7 @@ KVILIB_API unsigned int getUnicodeColorBytes(const TQString &szData,unsigned int
+ if((c < '0') || (c > '9'))
+ {
+ (*byte_2)=KVI_NOCHANGE;
+- if(szData[(int)(charIdx-1)].tqunicode()==',')
++ if(szData[(int)(charIdx-1)].unicode()==',')
+ return charIdx-1;
+ else
+ return charIdx;
+@@ -237,7 +237,7 @@ KVILIB_API unsigned int getUnicodeColorBytes(const TQString &szData,unsigned int
+ (*byte_2)=c-'0';
+ charIdx++;
+ if(charIdx >= szData.length())return charIdx;
+- c = szData[(int)charIdx].tqunicode();
++ c = szData[(int)charIdx].unicode();
+
+ if((c >= '0') && (c <='9'))
+ {
+@@ -262,7 +262,7 @@ namespace KviMircCntrl
+ unsigned char b2;
+ while(i < l)
+ {
+- switch(szData[i].tqunicode())
++ switch(szData[i].unicode())
+ {
+ case KVI_TEXT_UNDERLINE:
+ case KVI_TEXT_BOLD:
+@@ -288,7 +288,7 @@ namespace KviMircCntrl
+ i++;
+ while(i < l)
+ {
+- if(szData[i].tqunicode() == ' ')break;
++ if(szData[i].unicode() == ' ')break;
+ else i++;
+ }
+ begin = i;
+diff --git a/src/kvilib/tal/kvi_tal_listview.cpp b/src/kvilib/tal/kvi_tal_listview.cpp
+index 68e6967..d090fda 100644
+--- a/src/kvilib/tal/kvi_tal_listview.cpp
++++ b/src/kvilib/tal/kvi_tal_listview.cpp
+@@ -479,7 +479,7 @@
+ return;
+
+ TQPoint pos;
+- int boxsize = lv->tqstyle()->pixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv);
++ int boxsize = lv->style()->pixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv);
+ if (activatedPos(pos)) {
+ bool parentControl = false;
+ if (parent() && parent()->rtti() == 1 &&
+@@ -652,7 +652,7 @@
+ int h = height();
+ KviTalListView *lv = listView();
+ if (lv)
+- h = qMax(lv->tqstyle()->pixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv),
++ h = qMax(lv->style()->pixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv),
+ h);
+ h = qMax(h, TQApplication::globalStrut().height());
+ setHeight(h);
+@@ -666,7 +666,7 @@
+ if (myType == RadioButtonController && pixmap(0)) {
+ // r += 0;
+ } else {
+- r += lv->tqstyle()->pixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv) + 4;
++ r += lv->style()->pixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv) + 4;
+ }
+ }
+ return qMax(r, TQApplication::globalStrut().width());
+@@ -700,7 +700,7 @@
+ parentControl = true;
+
+ TQFontMetrics fm(lv->fontMetrics());
+- int boxsize = lv->tqstyle()->pixelMetric(myType == RadioButtonController ? TQStyle::PM_CheckListControllerSize :
++ int boxsize = lv->style()->pixelMetric(myType == RadioButtonController ? TQStyle::PM_CheckListControllerSize :
+ TQStyle::PM_CheckListButtonSize, 0, lv);
+ int marg = lv->itemMargin();
+ int r = marg;
+@@ -733,7 +733,7 @@
+ opt.rect.setRect(x, 0, boxsize, fm.height() + 2 + marg);
+ opt.palette = cg;
+ opt.state = styleflags;
+- lv->tqstyle()->drawPrimitive(TQStyle::PE_Q3CheckListController, &opt, p, lv);
++ lv->style()->drawPrimitive(TQStyle::PE_Q3CheckListController, &opt, p, lv);
+ r += boxsize + 4;
+ }
+ } else {
+@@ -751,7 +751,7 @@
+ opt.rect.setRect(x, y, boxsize, fm.height() + 2 + marg);
+ opt.palette = cg;
+ opt.state = styleflags;
+- lv->tqstyle()->drawPrimitive((myType == CheckBox || myType == CheckBoxController)
++ lv->style()->drawPrimitive((myType == CheckBox || myType == CheckBoxController)
+ ? TQStyle::PE_Q3CheckListIndicator
+ : TQStyle::PE_Q3CheckListExclusiveIndicator, &opt, p, lv);
+ r += boxsize + 4;
+@@ -782,7 +782,7 @@
+ (lv->rootIsDecorated() || myType == RadioButton ||
+ (myType == CheckBox && parentControl))) {
+ TQRect rect;
+- int boxsize = lv->tqstyle()->pixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv);
++ int boxsize = lv->style()->pixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv);
+ if (lv->columnAlignment(0) == TQt::AlignCenter) {
+ TQFontMetrics fm(lv->font());
+ int bx = (lv->columnWidth(0) - (boxsize + fm.width(text())))/2 + boxsize;
+@@ -1216,7 +1216,7 @@
+ return;
+
+ TQPoint pos;
+- int boxsize = lv->tqstyle().pixelMetric(TQStyle::PM_CheckListButtonSize, lv);
++ int boxsize = lv->style().pixelMetric(TQStyle::PM_CheckListButtonSize, lv);
+ if ( activatedPos( pos ) ) {
+ bool parentControl = FALSE;
+ if ( parent() && parent()->rtti() == 1 &&
+@@ -1388,7 +1388,7 @@
+ int h = height();
+ KviTalListView *lv = listView();
+ if ( lv )
+- h = TQMAX( lv->tqstyle().pixelMetric(TQStyle::PM_CheckListButtonSize, lv),
++ h = TQMAX( lv->style().pixelMetric(TQStyle::PM_CheckListButtonSize, lv),
+ h );
+ h = TQMAX( h, TQApplication::globalStrut().height() );
+ setHeight( h );
+@@ -1402,7 +1402,7 @@
+ if ( myType == RadioButtonController && pixmap( 0 ) ) {
+ // r += 0;
+ } else {
+- r += lv->tqstyle().pixelMetric(TQStyle::PM_CheckListButtonSize, lv) + 4;
++ r += lv->style().pixelMetric(TQStyle::PM_CheckListButtonSize, lv) + 4;
+ }
+ }
+ return TQMAX( r, TQApplication::globalStrut().width() );
+@@ -1437,7 +1437,7 @@
+ parentControl = TRUE;
+
+ TQFontMetrics fm( lv->fontMetrics() );
+- int boxsize = lv->tqstyle().pixelMetric( myType == RadioButtonController ? TQStyle::PM_CheckListControllerSize :
++ int boxsize = lv->style().pixelMetric( myType == RadioButtonController ? TQStyle::PM_CheckListControllerSize :
+ TQStyle::PM_CheckListButtonSize, lv);
+ int marg = lv->itemMargin();
+ int r = marg;
+@@ -1464,7 +1464,7 @@
+ if(!parentControl)
+ x += 3;
+ if ( !pixmap( 0 ) ) {
+- lv->tqstyle().tqdrawPrimitive(TQStyle::PE_CheckListController, p,
++ lv->style().tqdrawPrimitive(TQStyle::PE_CheckListController, p,
+ TQRect(x, 0, boxsize,
+ fm.height() + 2 + marg),
+ cg, styleflags, TQStyleOption(this));
+@@ -1482,12 +1482,12 @@
+ y = (fm.height() + 2 + marg - boxsize) / 2;
+
+ if ( ( myType == CheckBox ) || ( myType == CheckBoxController ) ) {
+- lv->tqstyle().tqdrawPrimitive(TQStyle::PE_CheckListIndicator, p,
++ lv->style().tqdrawPrimitive(TQStyle::PE_CheckListIndicator, p,
+ TQRect(x, y, boxsize,
+ fm.height() + 2 + marg),
+ cg, styleflags, TQStyleOption(this));
+ } else { //radio button look
+- lv->tqstyle().tqdrawPrimitive(TQStyle::PE_CheckListExclusiveIndicator,
++ lv->style().tqdrawPrimitive(TQStyle::PE_CheckListExclusiveIndicator,
+ p, TQRect(x, y, boxsize,
+ fm.height() + 2 + marg),
+ cg, styleflags, TQStyleOption(this));
+@@ -1519,7 +1519,7 @@
+ (lv->rootIsDecorated() || myType == RadioButton ||
+ (myType == CheckBox && parentControl) ) ) {
+ TQRect rect;
+- int boxsize = lv->tqstyle().pixelMetric(TQStyle::PM_CheckListButtonSize, lv);
++ int boxsize = lv->style().pixelMetric(TQStyle::PM_CheckListButtonSize, lv);
+ if ( lv->columnAlignment(0) == AlignCenter ) {
+ TQFontMetrics fm( lv->font() );
+ int bx = (lv->columnWidth(0) - (boxsize + fm.width(text())))/2 + boxsize;
+diff --git a/src/kvilib/tal/kvi_tal_toolbar.cpp b/src/kvilib/tal/kvi_tal_toolbar.cpp
+index 80ac44a..85e24f3 100644
+--- a/src/kvilib/tal/kvi_tal_toolbar.cpp
++++ b/src/kvilib/tal/kvi_tal_toolbar.cpp
+@@ -49,7 +49,7 @@
+ {
+ //setFrameStyle(TQFrame::NoFrame);
+ setObjectName(nam);
+- if(!tqlayout())
++ if(!layout())
+ this->setLayout(new TQBoxLayout(TQBoxLayout::LeftToRight));
+ w->addToolBar(dock,this);
+ }
+@@ -58,14 +58,14 @@
+ {
+ //setFrameStyle(TQFrame::NoFrame);
+ setObjectName(name);
+- if(!tqlayout())
++ if(!layout())
+ this->setLayout(new TQBoxLayout(TQBoxLayout::LeftToRight));
+ w->addToolBar(this);
+ }
+
+ TQBoxLayout * KviTalToolBar::boxLayout()
+ {
+- return (TQBoxLayout*)this->tqlayout();
++ return (TQBoxLayout*)this->layout();
+ }
+
+ void KviTalToolBar::setBoxLayout(TQBoxLayout * l)
+diff --git a/src/kvirc/kernel/kvi_app.cpp b/src/kvirc/kernel/kvi_app.cpp
+index 1f9224c..66b65cf 100644
+--- a/src/kvirc/kernel/kvi_app.cpp
++++ b/src/kvirc/kernel/kvi_app.cpp
+@@ -916,8 +916,8 @@ TQString KviApp::getClipboardText()
+ return buffer;
+ */
+
+- TQString buffer = tqclipboard()->text(TQClipboard::Clipboard);
+- if(buffer.isEmpty())return tqclipboard()->text(TQClipboard::Selection);
++ TQString buffer = clipboard()->text(TQClipboard::Clipboard);
++ if(buffer.isEmpty())return clipboard()->text(TQClipboard::Selection);
+ return buffer;
+ }
+
+@@ -945,8 +945,8 @@ void KviApp::setClipboardText(const TQString &str)
+ #if [[[TQT_VERSION IS DEPRECATED]]] >= 300
+ }
+ #endif*/
+- tqclipboard()->setText(str,TQClipboard::Clipboard);
+- tqclipboard()->setText(str,TQClipboard::Selection);
++ clipboard()->setText(str,TQClipboard::Clipboard);
++ clipboard()->setText(str,TQClipboard::Selection);
+ }
+
+ void KviApp::setClipboardText(const KviStr &str)
+diff --git a/src/kvirc/kernel/kvi_customtoolbardescriptor.cpp b/src/kvirc/kernel/kvi_customtoolbardescriptor.cpp
+index 2e3b8fa..8bf97f4 100644
+--- a/src/kvirc/kernel/kvi_customtoolbardescriptor.cpp
++++ b/src/kvirc/kernel/kvi_customtoolbardescriptor.cpp
+@@ -127,7 +127,7 @@ void KviCustomToolBarDescriptor::fillToolBar()
+ {
+ if(m_pActions->count() == 0)
+ {
+- // force tqlayout of the toolbar
++ // force layout of the toolbar
+ TQApplication::postEvent(m_pToolBar,new TQEvent(TQEvent::LayoutHint));
+ } else {
+ KviPointerList<TQString> dying;
+diff --git a/src/kvirc/kernel/kvi_ircconnectionserverinfo.cpp b/src/kvirc/kernel/kvi_ircconnectionserverinfo.cpp
+index 9c5ef5a..0040b53 100644
+--- a/src/kvirc/kernel/kvi_ircconnectionserverinfo.cpp
++++ b/src/kvirc/kernel/kvi_ircconnectionserverinfo.cpp
+@@ -67,7 +67,7 @@ void KviIrcConnectionServerInfo::setSupportedChannelModes(const TQString &szSupp
+ m_bSupportsModesIe = (szSupportedChannelModes.contains('e') && szSupportedChannelModes.contains('I'));
+
+ TQChar* aux=(TQChar*)szSupportedChannelModes.ucs2();
+- while(aux->tqunicode())
++ while(aux->unicode())
+ {
+ if(!m_szSupportedChannelModes.contains(*aux))
+ m_szSupportedChannelModes.append(*aux);
+@@ -98,7 +98,7 @@ void KviIrcConnectionServerInfo::buildModePrefixTable()
+ // Alexey: FIXED: rethinked:)
+ // Pragma: LOL :DDDD
+ int i=0;
+- while( (uPrefix = cPrefix->tqunicode()) && (uFlag = cFlag->tqunicode()) && i<m_uPrefixes*3)
++ while( (uPrefix = cPrefix->unicode()) && (uFlag = cFlag->unicode()) && i<m_uPrefixes*3)
+ {
+ m_pModePrefixTable[i]=uPrefix;
+ m_pModePrefixTable[i+1]=uFlag;
+@@ -131,7 +131,7 @@ bool KviIrcConnectionServerInfo::isSupportedModePrefix(TQChar c)
+ if(!m_pModePrefixTable) return false;
+ for(int i=0;i<m_uPrefixes;i++)
+ {
+- if(m_pModePrefixTable[i*3]==c.tqunicode()) return true;
++ if(m_pModePrefixTable[i*3]==c.unicode()) return true;
+ }
+ return false;
+ }
+@@ -141,7 +141,7 @@ bool KviIrcConnectionServerInfo::isSupportedModeFlag(TQChar c)
+ if(!m_pModePrefixTable) return false;
+ for(int i=0;i<m_uPrefixes;i++)
+ {
+- if(m_pModePrefixTable[(i*3)+1]==c.tqunicode()) return true;
++ if(m_pModePrefixTable[(i*3)+1]==c.unicode()) return true;
+ }
+ return false;
+ }
+@@ -171,7 +171,7 @@ kvi_u32_t KviIrcConnectionServerInfo::modeFlagFromPrefixChar(TQChar c)
+ if(!m_pModePrefixTable) return 0;
+ for(int i=0;i<m_uPrefixes;i++)
+ {
+- if(m_pModePrefixTable[i*3]==c.tqunicode()) return m_pModePrefixTable[i*3+2];
++ if(m_pModePrefixTable[i*3]==c.unicode()) return m_pModePrefixTable[i*3+2];
+ }
+ return 0;
+ }
+@@ -181,7 +181,7 @@ kvi_u32_t KviIrcConnectionServerInfo::modeFlagFromModeChar(TQChar c)
+ if(!m_pModePrefixTable) return 0;
+ for(int i=0;i<m_uPrefixes;i++)
+ {
+- if(m_pModePrefixTable[i*3+1]==c.tqunicode()) return m_pModePrefixTable[i*3+2];
++ if(m_pModePrefixTable[i*3+1]==c.unicode()) return m_pModePrefixTable[i*3+2];
+ }
+ return 0;
+ }
+@@ -225,7 +225,7 @@ const TQString & KviBasicIrcServerInfo::getUserModeDescription(TQChar mode)
+
+ const TQString & KviBasicIrcServerInfo::getBasicChannelModeDescription(TQChar mode)
+ {
+- switch(mode.tqunicode())
++ switch(mode.unicode())
+ {
+ case 'o': return __tr2qs("Channel operators"); break;
+ case 'v': return __tr2qs("Voiced users"); break;
+@@ -265,7 +265,7 @@ const TQString & KviBasicIrcServerInfo::getBasicChannelModeDescription(TQChar mo
+
+ const TQString & KviBasicIrcServerInfo::getBasicUserModeDescription(TQChar mode)
+ {
+- switch(mode.tqunicode())
++ switch(mode.unicode())
+ {
+ case 'o': return __tr2qs("o: IRC operator (OPER)"); break;
+ case 'O': return __tr2qs("O: Local IRC operator (LOCOP)"); break;
+diff --git a/src/kvirc/kernel/kvi_userinput.cpp b/src/kvirc/kernel/kvi_userinput.cpp
+index 6de1110..0bf241d 100644
+--- a/src/kvirc/kernel/kvi_userinput.cpp
++++ b/src/kvirc/kernel/kvi_userinput.cpp
+@@ -44,17 +44,17 @@ namespace KviUserInput
+ if(!c)return true; // empty
+
+ while(c->isSpace())c++;
+- if(!c->tqunicode())return true; // empty
++ if(!c->unicode())return true; // empty
+
+- if(c->tqunicode() == '\\')
++ if(c->unicode() == '\\')
+ {
+ c++;
+- if(c->tqunicode() != '/')c--;
++ if(c->unicode() != '/')c--;
+ } else {
+- if(c->tqunicode() == '/')
++ if(c->unicode() == '/')
+ {
+ c++;
+- if(c->tqunicode() != '/')
++ if(c->unicode() != '/')
+ {
+ szData.remove(0,c-b);
+ return parseCommand(szData,pWindow,szContext,bUserFriendlyCommandline);
+@@ -103,11 +103,11 @@ namespace KviUserInput
+ const TQChar * beg = aux;
+ if(!beg)return; // empty
+
+- while(aux->tqunicode())
++ while(aux->unicode())
+ {
+- while(aux->tqunicode() && (aux->tqunicode() != '\n'))aux++;
++ while(aux->unicode() && (aux->unicode() != '\n'))aux++;
+ TQString buf(beg,aux-beg);
+- if(aux->tqunicode() == '\n')aux++;
++ if(aux->unicode() == '\n')aux++;
+ beg = aux;
+
+ if(buf.isEmpty())buf = " "; // avoid "No text to send" (d3vah)
+diff --git a/src/kvirc/kvs/kvi_kvs_corefunctions.cpp b/src/kvirc/kvs/kvi_kvs_corefunctions.cpp
+index 0610328..f376b58 100644
+--- a/src/kvirc/kvs/kvi_kvs_corefunctions.cpp
++++ b/src/kvirc/kvs/kvi_kvs_corefunctions.cpp
+@@ -47,7 +47,7 @@ namespace KviKvsCoreFunctions
+ // a_f
+ _REGFNC("active",active)
+ _REGFNC("array",array)
+- _REGFNC("ascii",tqunicode)
++ _REGFNC("ascii",unicode)
+ _REGFNC("asciiToHex",asciiToHex)
+ _REGFNC("asciiToBase64",asciiToBase64)
+ _REGFNC("away",away)
+@@ -121,7 +121,7 @@ namespace KviKvsCoreFunctions
+ _REGFNC("true",trueCKEYWORDWORKAROUND)
+ _REGFNC("typeof",typeofCKEYWORDWORKAROUND)
+ _REGFNC("u",u)
+- _REGFNC("tqunicode",tqunicode)
++ _REGFNC("unicode",unicode)
+ _REGFNC("unixtime",unixtime)
+ _REGFNC("unserialize",unserialize)
+ _REGFNC("username",username)
+diff --git a/src/kvirc/kvs/kvi_kvs_corefunctions.h b/src/kvirc/kvs/kvi_kvs_corefunctions.h
+index 31a73b7..b902ebe 100644
+--- a/src/kvirc/kvs/kvi_kvs_corefunctions.h
++++ b/src/kvirc/kvs/kvi_kvs_corefunctions.h
+@@ -131,7 +131,7 @@ namespace KviKvsCoreFunctions
+ KVSCF(trueCKEYWORDWORKAROUND);
+ KVSCF(typeofCKEYWORDWORKAROUND);
+ KVSCF(u);
+- KVSCF(tqunicode);
++ KVSCF(unicode);
+ KVSCF(unixtime);
+ KVSCF(unserialize);
+ KVSCF(username);
+diff --git a/src/kvirc/kvs/kvi_kvs_corefunctions_af.cpp b/src/kvirc/kvs/kvi_kvs_corefunctions_af.cpp
+index 60fbe44..096ff3c 100644
+--- a/src/kvirc/kvs/kvi_kvs_corefunctions_af.cpp
++++ b/src/kvirc/kvs/kvi_kvs_corefunctions_af.cpp
+@@ -108,7 +108,7 @@ namespace KviKvsCoreFunctions
+ @syntax:
+ <variant> $ascii(<char:string>)
+ @description:
+- This function has been renamed to $tqunicode and is present
++ This function has been renamed to $unicode and is present
+ only for backward compatibility.
+ @seealso:
+ [fnc]$cr[/fnc], [fnc]$lf[/fnc], [fnc]$char[/fnc]
+@@ -489,24 +489,24 @@ namespace KviKvsCoreFunctions
+ @title:
+ $char
+ @short:
+- Returns a character specified by tqunicode
++ Returns a character specified by unicode
+ @syntax:
+- <string> $char(<tqunicode_value:integer>)
++ <string> $char(<unicode_value:integer>)
+ @description:
+- Returns a character corresponding to the UNICODE code <tqunicode_value>.[br]
++ Returns a character corresponding to the UNICODE code <unicode_value>.[br]
+ This function can not return NUL character (UNICODE 0). Basically
+ you should never need it: if you do, drop me a mail.[br]
+- If the <tqunicode_code> is not a valid UNICODE code (or is 0), this function returns
++ If the <unicode_code> is not a valid UNICODE code (or is 0), this function returns
+ an empty string.[br]
+ @seealso:
+- [fnc]$cr[/fnc], [fnc]$lf[/fnc], [fnc]$tqunicode[/fnc]
++ [fnc]$cr[/fnc], [fnc]$lf[/fnc], [fnc]$unicode[/fnc]
+ */
+
+ KVSCF(charCKEYWORDWORKAROUND)
+ {
+ kvs_uint_t ac;
+ KVSCF_PARAMETERS_BEGIN
+- KVSCF_PARAMETER("tqunicode_value",KVS_PT_UINT,0,ac)
++ KVSCF_PARAMETER("unicode_value",KVS_PT_UINT,0,ac)
+ KVSCF_PARAMETERS_END
+
+ if(ac != 0 && ac < 65536)
+@@ -780,15 +780,15 @@ namespace KviKvsCoreFunctions
+ const TQChar * c = KviTQString::nullTerminatedArray(szFormat);
+ if(c)
+ {
+- while(c->tqunicode())
++ while(c->unicode())
+ {
+ //Check for right Characters
+ #ifdef COMPILE_ON_WINDOWS
+- if (szAllowedCharacters.find((char)(c->tqunicode()),0,true) >= 0) tmpFormat += '%';
++ if (szAllowedCharacters.find((char)(c->unicode()),0,true) >= 0) tmpFormat += '%';
+ #else
+ if (c->isLetter()) tmpFormat += '%';
+ #endif
+- tmpFormat += (char)(c->tqunicode());
++ tmpFormat += (char)(c->unicode());
+ c++;
+ }
+ }
+diff --git a/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp b/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp
+index a5478dc..e56abbe 100644
+--- a/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp
++++ b/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp
+@@ -401,12 +401,12 @@ namespace KviKvsCoreFunctions
+ if(szLongSwitch.isEmpty())
+ v = sl->find(szSwitch);
+ else
+- v = sl->find(szSwitch[0].tqunicode(),szLongSwitch);
++ v = sl->find(szSwitch[0].unicode(),szLongSwitch);
+ }else {
+ if(szLongSwitch.isEmpty())
+ v = sl->find(szSwitch[0]);
+ else
+- v = sl->find(szSwitch[0].tqunicode(),szLongSwitch);
++ v = sl->find(szSwitch[0].unicode(),szLongSwitch);
+ }
+
+ if(v)KVSCF_pRetBuffer->copyFrom(*v);
+@@ -842,15 +842,15 @@ namespace KviKvsCoreFunctions
+ /////////////////////////////////////////////////////////////////////////////////////////
+
+ /*
+- @doc: tqunicode
++ @doc: unicode
+ @type:
+ function
+ @title:
+- $tqunicode
++ $unicode
+ @short:
+ Returns the UNICODE code of a sets of characters
+ @syntax:
+- <variant> $tqunicode(<char:string>)
++ <variant> $unicode(<char:string>)
+ @description:
+ If <char> is composed only of a single character
+ then returns its UNICODE code point as an integer.
+@@ -860,7 +860,7 @@ namespace KviKvsCoreFunctions
+ [fnc]$cr[/fnc], [fnc]$lf[/fnc], [fnc]$char[/fnc]
+ */
+
+- KVSCF(tqunicode)
++ KVSCF(unicode)
+ {
+ TQString sz;
+ KVSCF_PARAMETERS_BEGIN
+@@ -871,10 +871,10 @@ namespace KviKvsCoreFunctions
+ {
+ KviKvsArray * a = new KviKvsArray();
+ for(kvs_int_t i=0;i<sz.length();i++)
+- a->set(i,new KviKvsVariant((kvs_int_t)(sz[(int)i].tqunicode())));
++ a->set(i,new KviKvsVariant((kvs_int_t)(sz[(int)i].unicode())));
+ KVSCF_pRetBuffer->setArray(a);
+ } else {
+- KVSCF_pRetBuffer->setInteger((kvs_int_t)(sz[0].tqunicode()));
++ KVSCF_pRetBuffer->setInteger((kvs_int_t)(sz[0].unicode()));
+ }
+ return true;
+ }
+diff --git a/src/kvirc/kvs/kvi_kvs_coresimplecommands_af.cpp b/src/kvirc/kvs/kvi_kvs_coresimplecommands_af.cpp
+index 0a4aa54..4f11db0 100644
+--- a/src/kvirc/kvs/kvi_kvs_coresimplecommands_af.cpp
++++ b/src/kvirc/kvs/kvi_kvs_coresimplecommands_af.cpp
+@@ -427,7 +427,7 @@ namespace KviKvsCoreSimpleCommands
+
+ // TQChar o = tbOp.length() > 0 ? tbOp[0] : TQChar('x');
+
+- switch(o.tqunicode())
++ switch(o.unicode())
+ {
+ case 't':
+ KviTalToolTip::remove(pButton);
+@@ -853,7 +853,7 @@ namespace KviKvsCoreSimpleCommands
+ {
+ TQString szWnd;
+ v->asString(szWnd);
+- //#warning "FIXME: the window database is not tqunicode! (we even could keep integer window id's at this point!)"
++ //#warning "FIXME: the window database is not unicode! (we even could keep integer window id's at this point!)"
+ pWnd = g_pApp->findWindow(szWnd.utf8().data());
+ if(!pWnd)
+ {
+diff --git a/src/kvirc/kvs/kvi_kvs_coresimplecommands_sz.cpp b/src/kvirc/kvs/kvi_kvs_coresimplecommands_sz.cpp
+index acf8eec..85c6c5c 100644
+--- a/src/kvirc/kvs/kvi_kvs_coresimplecommands_sz.cpp
++++ b/src/kvirc/kvs/kvi_kvs_coresimplecommands_sz.cpp
+@@ -673,7 +673,7 @@ namespace KviKvsCoreSimpleCommands
+ to load catalogues that reside in different directories.[br]
+ [b]NOTE[/b][br]
+ This feature is currently work in progress: the scripting engine
+- is not yet fully tqunicode and thus some more exotic translations may still suffer...
++ is not yet fully unicode and thus some more exotic translations may still suffer...
+ @seealso:
+ [fnc]$tr[/fnc], [cmd]trunload[/cmd]
+ */
+diff --git a/src/kvirc/kvs/kvi_kvs_parser.cpp b/src/kvirc/kvs/kvi_kvs_parser.cpp
+index fc483f5..074753e 100644
+--- a/src/kvirc/kvs/kvi_kvs_parser.cpp
++++ b/src/kvirc/kvs/kvi_kvs_parser.cpp
+@@ -117,9 +117,9 @@ void KviKvsParser::report(bool bError,const TQChar * pLocation,const TQString &s
+
+ void KviKvsParser::errorBadChar(const TQChar * pLocation,char cExpected,const char * szCommandName)
+ {
+- if(pLocation->tqunicode())
+- error(pLocation,__tr2qs("Found character '%q' (tqunicode 0x%x) where '%c' was expected: see \"/help %s\" for the command syntax"),
+- pLocation,pLocation->tqunicode(),cExpected,szCommandName);
++ if(pLocation->unicode())
++ error(pLocation,__tr2qs("Found character '%q' (unicode 0x%x) where '%c' was expected: see \"/help %s\" for the command syntax"),
++ pLocation,pLocation->unicode(),cExpected,szCommandName);
+ else
+ error(pLocation,__tr2qs("Found end of input where character '%c' was expected: see \"/help %s\" for the command syntax"),
+ cExpected,szCommandName);
+@@ -1349,7 +1349,7 @@ KviKvsTreeNodeInstruction * KviKvsParser::parseAsParameter(const TQChar * pBuffe
+ so the callback code is empty, but if you continue reading we will soon fill it.
+ [/p]
+
+- [big]A typical addon tqlayout[/big]
++ [big]A typical addon layout[/big]
+ [p]
+ As stated above, the addons are usually shipped in a compressed archive.
+ Once uncompressed, the archive will expand into a small directory tree
+@@ -1400,7 +1400,7 @@ KviKvsTreeNodeInstruction * KviKvsParser::parseAsParameter(const TQChar * pBuffe
+ [/p]
+ [p]
+ The entries in [b]bold[/b] are directories while the other are files.
+- Please note that this is a general tqlayout for a huge and rather complex
++ Please note that this is a general layout for a huge and rather complex
+ addon: you might not need all of these directories. Remember: the minimal
+ addon has only an install.kvs file. Anyway, a really cool addon
+ will probably have all of them and maybe some more.
+@@ -1496,7 +1496,7 @@ KviKvsTreeNodeInstruction * KviKvsParser::parseAsParameter(const TQChar * pBuffe
+ [p]
+ It is a good idea to start on the KVIrc web site. There are surely
+ several addons to look at. Pick one that seems simple and analyze its
+- tqlayout and code (wow... the free software!). It will be easier to do than it was to explain it :D
++ layout and code (wow... the free software!). It will be easier to do than it was to explain it :D
+ [/p]
+ [p]
+ Have fun! :)
+@@ -2724,7 +2724,7 @@ KviKvsTreeNodeInstruction * KviKvsParser::parseInstruction()
+ return parseCommand();
+ } else {
+ // what the heck is this ?
+- error(KVSP_curCharPointer,__tr2qs("Found character '%q' (tqunicode %x) where an instruction was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found character '%q' (unicode %x) where an instruction was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ return 0;
+ }
+ break;
+@@ -2839,7 +2839,7 @@ KviKvsTreeNodeSwitchList * KviKvsParser::parseCommandSwitchList()
+
+ if(KVSP_curCharUnicode == 0)
+ {
+- error(KVSP_curCharPointer,__tr2qs("Unexpected character '%q' (tqunicode %x) after a switch dash"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Unexpected character '%q' (unicode %x) after a switch dash"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ } else {
+ error(KVSP_curCharPointer,__tr2qs("Unexpected end of script after a switch dash"));
+ }
+@@ -2880,12 +2880,12 @@ KviKvsTreeNodeSwitchList * KviKvsParser::parseCommandSwitchList()
+ if(bLong)
+ sw->addLong(TQString(pSw,pSwEnd - pSw),p);
+ else
+- sw->addShort(pSw->lower().tqunicode(),p);
++ sw->addShort(pSw->lower().unicode(),p);
+ } else {
+ if(bLong)
+ sw->addLong(TQString(pSw,pSwEnd - pSw),new KviKvsTreeNodeConstantData(KVSP_curCharPointer,new KviKvsVariant(true))); // empty param
+ else
+- sw->addShort(pSw->lower().tqunicode(),new KviKvsTreeNodeConstantData(KVSP_curCharPointer,new KviKvsVariant(true))); // empty param
++ sw->addShort(pSw->lower().unicode(),new KviKvsTreeNodeConstantData(KVSP_curCharPointer,new KviKvsVariant(true))); // empty param
+ }
+ }
+
+@@ -3300,7 +3300,7 @@ KviKvsTreeNodeData * KviKvsParser::parseArrayIndex()
+ error(KVSP_curCharPointer,__tr2qs("Unexpected end of line in array index (missing ']' character or unescaped newline)"));
+ break;
+ default:
+- error(KVSP_curCharPointer,__tr2qs("Unexpected character '%q' (tqunicode %x) in array index: it should be already terminated"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Unexpected character '%q' (unicode %x) in array index: it should be already terminated"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ break;
+ }
+ return 0;
+diff --git a/src/kvirc/kvs/kvi_kvs_parser_command.cpp b/src/kvirc/kvs/kvi_kvs_parser_command.cpp
+index 094fc30..865bf18 100644
+--- a/src/kvirc/kvs/kvi_kvs_parser_command.cpp
++++ b/src/kvirc/kvs/kvi_kvs_parser_command.cpp
+@@ -139,7 +139,7 @@ KviKvsTreeNodeCommand * KviKvsParser::parseCommand()
+ // perl.begin has a *really* half special parsing routine
+ if(iIdentifierLen == 4)
+ {
+- if(pIdentifier->lower().tqunicode() == 'p')
++ if(pIdentifier->lower().unicode() == 'p')
+ {
+ if(KviTQString::equalCI(szIdentifier,"perl"))
+ {
+diff --git a/src/kvirc/kvs/kvi_kvs_parser_comment.cpp b/src/kvirc/kvs/kvi_kvs_parser_comment.cpp
+index 18fbbbe..ea15840 100644
+--- a/src/kvirc/kvs/kvi_kvs_parser_comment.cpp
++++ b/src/kvirc/kvs/kvi_kvs_parser_comment.cpp
+@@ -85,7 +85,7 @@ KviKvsTreeNode * KviKvsParser::parseComment()
+ }
+ break;
+ default:
+- error(KVSP_curCharPointer,__tr2qs("Unexpected character '%q' (tqunicode %x) after a slash (it is a typo or a malformed comment begin ?)"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Unexpected character '%q' (unicode %x) after a slash (it is a typo or a malformed comment begin ?)"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ return 0;
+ break;
+ }
+diff --git a/src/kvirc/kvs/kvi_kvs_parser_dollar.cpp b/src/kvirc/kvs/kvi_kvs_parser_dollar.cpp
+index a2d6516..b556614 100644
+--- a/src/kvirc/kvs/kvi_kvs_parser_dollar.cpp
++++ b/src/kvirc/kvs/kvi_kvs_parser_dollar.cpp
+@@ -50,7 +50,7 @@ KviKvsTreeNodeData * KviKvsParser::parseDollar(bool bInObjScope)
+ if(!KVSP_curCharIsFunctionStart)
+ {
+ if(KVSP_curCharUnicode == 0)warning(KVSP_curCharPointer,__tr2qs("Unexpected end of script after '$' function call prefix"));
+- else warning(KVSP_curCharPointer,__tr2qs("Unexpected character %q (tqunicode %x) after '$' function call prefix"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ else warning(KVSP_curCharPointer,__tr2qs("Unexpected character %q (unicode %x) after '$' function call prefix"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ error(KVSP_curCharPointer,__tr2qs("Syntax error after '$' function call prefix. If you want to use a plain '$' in the code you need to escape it"));
+ return 0;
+ }
+diff --git a/src/kvirc/kvs/kvi_kvs_parser_expression.cpp b/src/kvirc/kvs/kvi_kvs_parser_expression.cpp
+index ee91df4..44ce71d 100644
+--- a/src/kvirc/kvs/kvi_kvs_parser_expression.cpp
++++ b/src/kvirc/kvs/kvi_kvs_parser_expression.cpp
+@@ -420,7 +420,7 @@ KviKvsTreeNodeExpression * KviKvsParser::parseExpressionOperandCore(char termina
+ pDataList->append(new KviKvsTreeNodeConstantData(pBegin,new KviKvsVariant(iVal)));
+ } else {
+ // bOk is false
+- if(pBegin->tqunicode() == '0')
++ if(pBegin->unicode() == '0')
+ {
+ if(tmp.length() > 2)
+ {
+@@ -448,7 +448,7 @@ KviKvsTreeNodeExpression * KviKvsParser::parseExpressionOperandCore(char termina
+ }
+ }
+ } else {
+- error(KVSP_curCharPointer,__tr2qs("Unexpected character %q (tqunicode %h) in expression. If it meant to be a string use the quotes."),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Unexpected character %q (unicode %h) in expression. If it meant to be a string use the quotes."),KVSP_curCharPointer,KVSP_curCharUnicode);
+ delete pDataList;
+ return 0;
+ }
+diff --git a/src/kvirc/kvs/kvi_kvs_parser_lside.cpp b/src/kvirc/kvs/kvi_kvs_parser_lside.cpp
+index 3733f55..bcca75d 100644
+--- a/src/kvirc/kvs/kvi_kvs_parser_lside.cpp
++++ b/src/kvirc/kvs/kvi_kvs_parser_lside.cpp
+@@ -828,7 +828,7 @@ KviKvsTreeNodeOperation * KviKvsParser::parseBindingOperation()
+
+ if(KVSP_curCharUnicode != '/')
+ {
+- error(KVSP_curCharPointer,__tr2qs("Found character '%q' (tqunicode %x) where a slash '/' was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found character '%q' (unicode %x) where a slash '/' was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ return 0;
+ }
+
+@@ -846,7 +846,7 @@ KviKvsTreeNodeOperation * KviKvsParser::parseBindingOperation()
+
+ if(KVSP_curCharUnicode != '/')
+ {
+- error(KVSP_curCharPointer,__tr2qs("Found character '%q' (tqunicode %x) where a slash '/' was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found character '%q' (unicode %x) where a slash '/' was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ delete pFirst;
+ return 0;
+ }
+@@ -869,7 +869,7 @@ KviKvsTreeNodeOperation * KviKvsParser::parseBindingOperation()
+
+ if(KVSP_curCharUnicode != '/')
+ {
+- error(KVSP_curCharPointer,__tr2qs("Found character '%q' (tqunicode %x) where a slash '/' was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found character '%q' (unicode %x) where a slash '/' was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ delete pFirst;
+ return 0;
+ }
+@@ -1173,10 +1173,10 @@ KviKvsTreeNodeInstruction * KviKvsParser::parseVoidFunctionCallOrOperation()
+ // must be followed by the end of a command
+ if(r->isFunctionCall())
+ {
+- error(KVSP_curCharPointer,__tr2qs("Unexpected character '%q' (tqunicode %x) after a void function call: end of instruction expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Unexpected character '%q' (unicode %x) after a void function call: end of instruction expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ } else {
+ warning(pBegin,__tr2qs("Unexpected (and senseless) read-only data evaluation"));
+- warning(pBegin,__tr2qs("Unexpected character '%q' (tqunicode %x)"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ warning(pBegin,__tr2qs("Unexpected character '%q' (unicode %x)"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ error(KVSP_curCharPointer,__tr2qs("Syntax error: confused by earlier errors: bailing out"));
+ }
+ delete r;
+diff --git a/src/kvirc/kvs/kvi_kvs_parser_macros.h b/src/kvirc/kvs/kvi_kvs_parser_macros.h
+index e727e4a..8de1f47 100644
+--- a/src/kvirc/kvs/kvi_kvs_parser_macros.h
++++ b/src/kvirc/kvs/kvi_kvs_parser_macros.h
+@@ -29,15 +29,15 @@
+ #define KVSP_backChar m_ptr--
+ #define KVSP_backNChars(n) m_ptr -= n
+
+-#define KVSP_curCharUnicode (m_ptr->tqunicode())
++#define KVSP_curCharUnicode (m_ptr->unicode())
+ #define KVSP_curCharPointer m_ptr
+
+ #define KVSP_curCharIsLetter (m_ptr->isLetter())
+ #define KVSP_curCharIsNumber (m_ptr->isNumber())
+ #define KVSP_curCharIsLetterOrNumber (m_ptr->isLetterOrNumber())
+-#define KVSP_curCharIsFunctionStart (m_ptr->isLetterOrNumber() || (m_ptr->tqunicode() == '(') || (m_ptr->tqunicode() == '{') || (m_ptr->tqunicode() == '$'))
+-#define KVSP_curCharIsEndOfCommand ((m_ptr->tqunicode() == ';') || (m_ptr->tqunicode() == 0) || (m_ptr->tqunicode() == '\n') || (m_ptr->tqunicode() == '\r'))
+-#define KVSP_curCharIsEndOfBuffer (m_ptr->tqunicode() == 0)
++#define KVSP_curCharIsFunctionStart (m_ptr->isLetterOrNumber() || (m_ptr->unicode() == '(') || (m_ptr->unicode() == '{') || (m_ptr->unicode() == '$'))
++#define KVSP_curCharIsEndOfCommand ((m_ptr->unicode() == ';') || (m_ptr->unicode() == 0) || (m_ptr->unicode() == '\n') || (m_ptr->unicode() == '\r'))
++#define KVSP_curCharIsEndOfBuffer (m_ptr->unicode() == 0)
+
+ #define KVSP_setCurCharPointer(_ptr) m_ptr = _ptr
+
+diff --git a/src/kvirc/kvs/kvi_kvs_parser_specialcommands.cpp b/src/kvirc/kvs/kvi_kvs_parser_specialcommands.cpp
+index 95eca6a..6d6ab96 100644
+--- a/src/kvirc/kvs/kvi_kvs_parser_specialcommands.cpp
++++ b/src/kvirc/kvs/kvi_kvs_parser_specialcommands.cpp
+@@ -207,7 +207,7 @@ KviKvsTreeNodeCommand * KviKvsParser::parseSpecialCommandUnset()
+ if(!KVSP_curCharIsEndOfCommand)
+ {
+ warning(KVSP_curCharPointer,__tr2qs("The 'unset' command needs a variable list"));
+- error(KVSP_curCharPointer,__tr2qs("Found character %q (tqunicode %x) where a variable was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found character %q (unicode %x) where a variable was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ return 0;
+ }
+
+@@ -277,7 +277,7 @@ KviKvsTreeNodeCommand * KviKvsParser::parseSpecialCommandGlobal()
+ if(!KVSP_curCharIsEndOfCommand)
+ {
+ warning(KVSP_curCharPointer,__tr2qs("The 'global' command needs a variable list"));
+- error(KVSP_curCharPointer,__tr2qs("Found character %q (tqunicode %x) where a variable was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found character %q (unicode %x) where a variable was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ return 0;
+ }
+
+@@ -376,7 +376,7 @@ KviKvsTreeNodeCommand * KviKvsParser::parseSpecialCommandClass()
+
+ if(KVSP_curCharUnicode != '(')
+ {
+- error(KVSP_curCharPointer,__tr2qs("Found character %q (tqunicode %x) where an open parenthesis was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found character %q (unicode %x) where an open parenthesis was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ return 0;
+ }
+
+@@ -443,7 +443,7 @@ KviKvsTreeNodeCommand * KviKvsParser::parseSpecialCommandClass()
+
+ if(KVSP_curCharPointer == pLabelBegin)
+ {
+- error(KVSP_curCharPointer,__tr2qs("Found character %q (tqunicode %x) where a function name was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found character %q (unicode %x) where a function name was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ delete pClass;
+ return 0;
+ }
+@@ -471,7 +471,7 @@ KviKvsTreeNodeCommand * KviKvsParser::parseSpecialCommandClass()
+
+ if(KVSP_curCharPointer == pLabelBegin)
+ {
+- error(KVSP_curCharPointer,__tr2qs("Found character %q (tqunicode %x) where a function name was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found character %q (unicode %x) where a function name was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ delete pClass;
+ return 0;
+ }
+@@ -498,7 +498,7 @@ KviKvsTreeNodeCommand * KviKvsParser::parseSpecialCommandClass()
+
+ if(KVSP_curCharPointer == pLabelBegin)
+ {
+- error(KVSP_curCharPointer,__tr2qs("Found character %q (tqunicode %x) where a function name was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found character %q (unicode %x) where a function name was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ delete pClass;
+ return 0;
+ }
+@@ -628,7 +628,7 @@ KviKvsTreeNodeCommand * KviKvsParser::parseSpecialCommandWhile()
+ if(KVSP_curCharUnicode != '(')
+ {
+ warning(KVSP_curCharPointer,__tr2qs("The while command needs an expression enclosed in parenthesis"));
+- error(KVSP_curCharPointer,__tr2qs("Found character %q (tqunicode %x) where an open parenthesis was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found character %q (unicode %x) where an open parenthesis was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ return 0;
+ }
+
+@@ -740,7 +740,7 @@ KviKvsTreeNodeCommand * KviKvsParser::parseSpecialCommandDo()
+ if(KVSP_curCharIsEndOfBuffer)
+ error(KVSP_curCharPointer,__tr2qs("Unexpected end of command after the 'do' command block: expected 'while' keyword"));
+ else
+- error(KVSP_curCharPointer,__tr2qs("Found character %q (tqunicode %x) where a 'while' keyword was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found character %q (unicode %x) where a 'while' keyword was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ if(i)delete i;
+ return 0;
+ }
+@@ -1089,7 +1089,7 @@ KviKvsTreeNodeCommand * KviKvsParser::parseSpecialCommandFor()
+
+ if(KVSP_curCharUnicode != ')')
+ {
+- error(KVSP_curCharPointer,__tr2qs("Found char %q (tqunicode %x) while looking for the terminating ')' in 'for' command"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found char %q (unicode %x) while looking for the terminating ')' in 'for' command"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ if(i1)delete i1;
+ if(e)delete e;
+ if(i2)delete i2;
+@@ -1193,7 +1193,7 @@ KviKvsTreeNodeCommand * KviKvsParser::parseSpecialCommandForeach()
+ if((KVSP_curCharUnicode != '%') && (KVSP_curCharUnicode != '$') && (KVSP_curCharUnicode != '@'))
+ {
+ warning(KVSP_curCharPointer,__tr2qs("The 'foreach' command expects a writeable iteration variable as first parameter"));
+- error(KVSP_curCharPointer,__tr2qs("Found character '%q' (tqunicode %x) where '%' or '$' was expected: see /help foreach for the command syntax"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found character '%q' (unicode %x) where '%' or '$' was expected: see /help foreach for the command syntax"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ return 0;
+ }
+
+@@ -1419,7 +1419,7 @@ KviKvsTreeNodeCommand * KviKvsParser::parseSpecialCommandSwitch()
+
+ if(KVSP_curCharPointer == pLabelBegin)
+ {
+- error(KVSP_curCharPointer,__tr2qs("Found character %q (tqunicode %x) where a 'case','match','regexp','default' or 'break' label was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found character %q (unicode %x) where a 'case','match','regexp','default' or 'break' label was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ delete pSwitch;
+ return 0;
+ }
+@@ -1566,7 +1566,7 @@ KviKvsTreeNodeSpecialCommandDefpopupLabelPopup * KviKvsParser::parseSpecialComma
+
+ if(KVSP_curCharPointer == pLabelBegin)
+ {
+- error(KVSP_curCharPointer,__tr2qs("Found character %q (tqunicode %x) where a 'prologue','separator','label','popup','item','extpopup' or 'epilogue' label was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
++ error(KVSP_curCharPointer,__tr2qs("Found character %q (unicode %x) where a 'prologue','separator','label','popup','item','extpopup' or 'epilogue' label was expected"),KVSP_curCharPointer,KVSP_curCharUnicode);
+ delete pPopup;
+ return 0;
+ }
+diff --git a/src/kvirc/kvs/kvi_kvs_processmanager.cpp b/src/kvirc/kvs/kvi_kvs_processmanager.cpp
+index 53ac882..c80794e 100644
+--- a/src/kvirc/kvs/kvi_kvs_processmanager.cpp
++++ b/src/kvirc/kvs/kvi_kvs_processmanager.cpp
+@@ -73,7 +73,7 @@ bool KviKvsProcessAsyncOperation::start()
+ if(szShell.isEmpty())
+ {
+ #ifdef COMPILE_ON_WINDOWS
+- // [01:26:00] <PragmaOff> btw, what is qt_wintqunicode ?
++ // [01:26:00] <PragmaOff> btw, what is qt_winunicode ?
+ // [01:26:12] <kode54> TQt export specific to win32
+ // [01:26:27] <kode54> bool which indicates whether system is Unicode (NT) or not
+ // [01:26:58] <kode54> not sure if that's documented, but it is a public export
+diff --git a/src/kvirc/kvs/kvi_kvs_report.cpp b/src/kvirc/kvs/kvi_kvs_report.cpp
+index aa40ef3..7618e29 100644
+--- a/src/kvirc/kvs/kvi_kvs_report.cpp
++++ b/src/kvirc/kvs/kvi_kvs_report.cpp
+@@ -60,7 +60,7 @@ void KviKvsReport::findLineAndCol(const TQChar * pBegin,const TQChar * pPoint,in
+ const TQChar * pPrevLine = 0;
+ const TQChar * pLineBegin = pBegin;
+
+- unsigned short us = pBegin->tqunicode();
++ unsigned short us = pBegin->unicode();
+
+ while(us && (pBegin < pPoint))
+ {
+@@ -73,7 +73,7 @@ void KviKvsReport::findLineAndCol(const TQChar * pBegin,const TQChar * pPoint,in
+ } else {
+ pBegin++;
+ }
+- us = pBegin->tqunicode();
++ us = pBegin->unicode();
+ }
+
+ iCol = (pBegin - pLineBegin) + 1;
+@@ -92,7 +92,7 @@ void KviKvsReport::findLineColAndListing(const TQChar * pBegin,const TQChar * pP
+ const TQChar * pPrevLine = 0;
+ const TQChar * pLineBegin = pBegin;
+
+- unsigned short us = pBegin->tqunicode();
++ unsigned short us = pBegin->unicode();
+
+ while(us && (pBegin < pPoint))
+ {
+@@ -105,7 +105,7 @@ void KviKvsReport::findLineColAndListing(const TQChar * pBegin,const TQChar * pP
+ } else {
+ pBegin++;
+ }
+- us = pBegin->tqunicode();
++ us = pBegin->unicode();
+ }
+
+ iCol = (pBegin - pLineBegin) + 1;
+@@ -131,11 +131,11 @@ void KviKvsReport::findLineColAndListing(const TQChar * pBegin,const TQChar * pP
+ // current line
+ pBegin = pLineBegin;
+
+- us = pBegin->tqunicode();
++ us = pBegin->unicode();
+ while(us && (us != '\n'))
+ {
+ pBegin++;
+- us = pBegin->tqunicode();
++ us = pBegin->unicode();
+ }
+ if(us)pBegin++;
+
+@@ -152,11 +152,11 @@ void KviKvsReport::findLineColAndListing(const TQChar * pBegin,const TQChar * pP
+ // next line
+ pLineBegin = pBegin;
+
+- us = pBegin->tqunicode();
++ us = pBegin->unicode();
+ while(us && (us != '\n'))
+ {
+ pBegin++;
+- us = pBegin->tqunicode();
++ us = pBegin->unicode();
+ }
+ if(us)pBegin++;
+
+diff --git a/src/kvirc/kvs/kvi_kvs_switchlist.h b/src/kvirc/kvs/kvi_kvs_switchlist.h
+index b82d93f..fc31461 100644
+--- a/src/kvirc/kvs/kvi_kvs_switchlist.h
++++ b/src/kvirc/kvs/kvi_kvs_switchlist.h
+@@ -48,7 +48,7 @@ public:
+
+ KviKvsVariant * find(const TQChar &c)
+ {
+- return m_pShortSwitchDict ? m_pShortSwitchDict->find(c.tqunicode()) : 0;
++ return m_pShortSwitchDict ? m_pShortSwitchDict->find(c.unicode()) : 0;
+ };
+
+ KviKvsVariant * find(unsigned short uShortKey)
+diff --git a/src/kvirc/kvs/kvi_kvs_treenode_operation.cpp b/src/kvirc/kvs/kvi_kvs_treenode_operation.cpp
+index 26b05b9..bdb1310 100644
+--- a/src/kvirc/kvs/kvi_kvs_treenode_operation.cpp
++++ b/src/kvirc/kvs/kvi_kvs_treenode_operation.cpp
+@@ -1467,18 +1467,18 @@ bool KviKvsTreeNodeOperationStringSubstitution::execute(KviKvsRunTimeContext * c
+ TQString szReplaced;
+ const TQChar * p2 = KviTQString::nullTerminatedArray(szR);
+ const TQChar * begin = p2;
+- while(p2->tqunicode())
++ while(p2->unicode())
+ {
+- if(p2->tqunicode() == '\\')
++ if(p2->unicode() == '\\')
+ {
+ p2++;
+- if(p2->tqunicode() >= '0' && p2->tqunicode() <= '9')
++ if(p2->unicode() >= '0' && p2->unicode() <= '9')
+ {
+ szReplaced.append(TQString(begin,(p2 - begin) - 1));
+- szReplaced.append(re.cap(p2->tqunicode() - '0'));
++ szReplaced.append(re.cap(p2->unicode() - '0'));
+ p2++;
+ begin = p2;
+- } else if(p2->tqunicode())p2++;
++ } else if(p2->unicode())p2++;
+ } else p2++;
+ }
+ if(begin != p2)szReplaced.append(TQString(begin,p2 - begin));
+diff --git a/src/kvirc/kvs/kvi_kvs_variant.cpp b/src/kvirc/kvs/kvi_kvs_variant.cpp
+index c4e457f..b2da370 100644
+--- a/src/kvirc/kvs/kvi_kvs_variant.cpp
++++ b/src/kvirc/kvs/kvi_kvs_variant.cpp
+@@ -1010,7 +1010,7 @@ KviKvsVariant* KviKvsVariant::unserializeNull(const TQChar** aux)
+ KviKvsVariant* KviKvsVariant::unserializeRealOrInteger(const TQChar** aux)
+ {
+ TQString data;
+- if((*aux)->tqunicode() == '-')
++ if((*aux)->unicode() == '-')
+ {
+ data.append('-');
+ (*aux)++;
+@@ -1024,7 +1024,7 @@ KviKvsVariant* KviKvsVariant::unserializeRealOrInteger(const TQChar** aux)
+ data.append(**aux);
+ (*aux)++;
+ }
+- if((*aux)->tqunicode()=='.')
++ if((*aux)->unicode()=='.')
+ {
+ return unserializeReal(aux,data);
+ }
+@@ -1042,15 +1042,15 @@ KviKvsVariant* KviKvsVariant::unserializeReal(const TQChar** aux,TQString& data)
+ (*aux)++;
+ }
+
+- if((*aux)->tqunicode() == 'e' || (*aux)->tqunicode() == 'E')
++ if((*aux)->unicode() == 'e' || (*aux)->unicode() == 'E')
+ {
+ (*aux)++;
+- if((*aux)->tqunicode() == '-')
++ if((*aux)->unicode() == '-')
+ {
+ exponent.append('-');
+ (*aux)++;
+ } else {
+- if((*aux)->tqunicode() == '+')
++ if((*aux)->unicode() == '+')
+ {
+ exponent.append('+');
+ (*aux)++;
+@@ -1079,15 +1079,15 @@ KviKvsVariant* KviKvsVariant::unserializeInteger(const TQChar** aux,TQString& da
+
+ TQString exponent;
+
+- if((*aux)->tqunicode() == 'e' || (*aux)->tqunicode() == 'E')
++ if((*aux)->unicode() == 'e' || (*aux)->unicode() == 'E')
+ {
+ (*aux)++;
+- if((*aux)->tqunicode() == '-')
++ if((*aux)->unicode() == '-')
+ {
+ exponent.append('-');
+ (*aux)++;
+ } else {
+- if((*aux)->tqunicode() == '+')
++ if((*aux)->unicode() == '+')
+ {
+ exponent.append('+');
+ (*aux)++;
+@@ -1122,9 +1122,9 @@ void KviKvsVariant::unserializeString(const TQChar** aux,TQString& data)
+ TQString hex; //temp var
+ //skip leading "
+ (*aux)++;
+- while((*aux)->tqunicode())
++ while((*aux)->unicode())
+ {
+- switch((*aux)->tqunicode())
++ switch((*aux)->unicode())
+ {
+ case '"':
+ //EOF
+@@ -1134,7 +1134,7 @@ void KviKvsVariant::unserializeString(const TQChar** aux,TQString& data)
+ case '\\':
+ //Special
+ (*aux)++;
+- switch((*aux)->tqunicode())
++ switch((*aux)->unicode())
+ {
+ case 't':
+ data.append('\t');
+@@ -1159,11 +1159,11 @@ void KviKvsVariant::unserializeString(const TQChar** aux,TQString& data)
+ //4 hexadecmical digits pending...
+ hex="";
+ (*aux)++;
+- for(int k=0;k<4 && (*aux)->tqunicode(); k++)
++ for(int k=0;k<4 && (*aux)->unicode(); k++)
+ {
+ if((*aux)->isDigit() ||
+- ((*aux)->tqunicode() >='A' && (*aux)->tqunicode() <='F')|| //ABCDEF
+- ((*aux)->tqunicode() >='a' && (*aux)->tqunicode() <='f')) //abcdef
++ ((*aux)->unicode() >='A' && (*aux)->unicode() <='F')|| //ABCDEF
++ ((*aux)->unicode() >='a' && (*aux)->unicode() <='f')) //abcdef
+ {
+ hex.append(**aux);
+ (*aux)++;
+@@ -1203,7 +1203,7 @@ KviKvsVariant* KviKvsVariant::unserializeHash(const TQChar** aux)
+ while((*aux)->isSpace())
+ (*aux)++;
+ //waiting for starting of string
+- if((*aux)->tqunicode()!='\"')
++ if((*aux)->unicode()!='\"')
+ {
+ //strange characters
+ delete pHash;
+@@ -1221,7 +1221,7 @@ KviKvsVariant* KviKvsVariant::unserializeHash(const TQChar** aux)
+ while((*aux)->isSpace())
+ (*aux)++;
+ //waiting for name-value delimeter
+- if((*aux)->tqunicode()!=':')
++ if((*aux)->unicode()!=':')
+ {
+ //strange characters
+ delete pHash;
+@@ -1238,7 +1238,7 @@ KviKvsVariant* KviKvsVariant::unserializeHash(const TQChar** aux)
+ i++;
+ while((*aux)->isSpace())
+ (*aux)++;
+- switch((*aux)->tqunicode())
++ switch((*aux)->unicode())
+ {
+ case ',':
+ //goto next
+@@ -1278,7 +1278,7 @@ KviKvsVariant* KviKvsVariant::unserializeArray(const TQChar** aux)
+ i++;
+ while((*aux)->isSpace())
+ (*aux)++;
+- switch((*aux)->tqunicode())
++ switch((*aux)->unicode())
+ {
+ case ',':
+ //goto next
+@@ -1310,7 +1310,7 @@ KviKvsVariant* KviKvsVariant::unserialize(const TQChar** aux)
+ while((*aux)->isSpace())
+ (*aux)++;
+
+- switch((*aux)->tqunicode())
++ switch((*aux)->unicode())
+ {
+ case 't':
+ //true
+@@ -1373,7 +1373,7 @@ KviKvsVariant* KviKvsVariant::unserialize(const TQString& data)
+
+ pResult = unserialize(&aux);
+
+- if(aux->tqunicode())
++ if(aux->unicode())
+ {
+ //strange extra characters?
+ if(pResult) delete pResult;
+diff --git a/src/kvirc/sparser/kvi_sp_ctcp.cpp b/src/kvirc/sparser/kvi_sp_ctcp.cpp
+index b7150e8..3a28909 100644
+--- a/src/kvirc/sparser/kvi_sp_ctcp.cpp
++++ b/src/kvirc/sparser/kvi_sp_ctcp.cpp
+@@ -1808,7 +1808,7 @@ void KviServerParser::parseCtcpReplyUserinfo(KviCtcpMessage *msg)
+ if(pos>=0)
+ {
+ TQChar c = decoded[pos+7];
+- switch(c.tqunicode())
++ switch(c.unicode())
+ {
+ case 'F':
+ case 'f':
+diff --git a/src/kvirc/sparser/kvi_sp_literal.cpp b/src/kvirc/sparser/kvi_sp_literal.cpp
+index 18ab099..d488c8f 100644
+--- a/src/kvirc/sparser/kvi_sp_literal.cpp
++++ b/src/kvirc/sparser/kvi_sp_literal.cpp
+@@ -186,13 +186,13 @@ void KviServerParser::parseLiteralJoin(KviIrcMessage *msg)
+ // nick!user@host JOIN :#channel\x07[o|v]
+ const TQChar * pExt = KviTQString::nullTerminatedArray(channel);
+ char chExtMode = 0;
+- while(pExt->tqunicode() && (pExt->tqunicode() != 0x07))pExt++;
+- if(pExt->tqunicode())
++ while(pExt->unicode() && (pExt->unicode() != 0x07))pExt++;
++ if(pExt->unicode())
+ {
+ ++pExt;
+- if(pExt->tqunicode())
++ if(pExt->unicode())
+ {
+- chExtMode = (char)pExt->tqunicode();
++ chExtMode = (char)pExt->unicode();
+ channel.remove(channel.length() - 2,2); // assuming that we're at the end (we should be)
+ } // else { senseless 0x07 in channel name ?
+ }
+@@ -993,7 +993,7 @@ void KviServerParser::parseLiteralPrivmsg(KviIrcMessage *msg)
+ if(!chan)
+ {
+ // check if the channel has some leading mode prefixes
+- while((szTarget.length() > 0) && console->connection()->serverInfo()->isSupportedModePrefix(szTarget[0].tqunicode()))
++ while((szTarget.length() > 0) && console->connection()->serverInfo()->isSupportedModePrefix(szTarget[0].unicode()))
+ {
+ szPrefixes += szTarget[0];
+ szTarget.remove(0,1);
+@@ -1328,7 +1328,7 @@ void KviServerParser::parseLiteralNotice(KviIrcMessage *msg)
+ if(!chan)
+ {
+ // check if the channel has some leading mode prefixes
+- while((szTarget.length() > 0) && console->connection()->serverInfo()->isSupportedModePrefix(szTarget[0].tqunicode()))
++ while((szTarget.length() > 0) && console->connection()->serverInfo()->isSupportedModePrefix(szTarget[0].unicode()))
+ {
+ szPrefixes += szTarget[0];
+ szTarget.remove(0,1);
+diff --git a/src/kvirc/ui/kvi_channel.cpp b/src/kvirc/ui/kvi_channel.cpp
+index c22b36b..03ab82e 100644
+--- a/src/kvirc/ui/kvi_channel.cpp
++++ b/src/kvirc/ui/kvi_channel.cpp
+@@ -112,7 +112,7 @@ KviChannel::KviChannel(KviFrame * lpFrm,KviConsole * lpConsole,const char * name
+
+ // Register ourselves
+ connection()->registerChannel(this);
+- // And create the widgets tqlayout
++ // And create the widgets layout
+ // Button box
+ m_pButtonBox = new KviTalHBox(this);
+
+@@ -287,7 +287,7 @@ void KviChannel::applyOptions()
+
+ m_pModeWidget->applyOptions();
+
+- // this applies options for IrcView and Input and forces the window to retqlayout
++ // this applies options for IrcView and Input and forces the window to relayout
+ KviWindow::applyOptions();
+ }
+
+diff --git a/src/kvirc/ui/kvi_console.cpp b/src/kvirc/ui/kvi_console.cpp
+index a4eba90..e9e560b 100644
+--- a/src/kvirc/ui/kvi_console.cpp
++++ b/src/kvirc/ui/kvi_console.cpp
+@@ -634,7 +634,7 @@ int KviConsole::applyHighlighting(KviWindow *wnd,int type,const TQString &nick,c
+ TQChar* aux=(TQChar*)(szStripMsg.ucs2());
+ if(aux)
+ {
+- while(aux->tqunicode())
++ while(aux->unicode())
+ {
+ if( KVI_OPTION_STRING(KviOption_stringWordSplitters).find(*aux) > -1 )
+ szSource.append(' ');
+@@ -794,11 +794,11 @@ void KviConsole::outputPrivmsg(KviWindow *wnd,
+ {
+ int sum = 0;
+ int i = nick.length();
+- const TQChar * aux = nick.tqunicode();
++ const TQChar * aux = nick.unicode();
+ // FIXME: Shouldn't this be case insensitive ?
+ while(i > 0)
+ {
+- sum += aux->tqunicode();
++ sum += aux->unicode();
+ aux++;
+ i--;
+ }
+@@ -815,11 +815,11 @@ void KviConsole::outputPrivmsg(KviWindow *wnd,
+ {
+ int sum = 0;
+ int i = nick.length();
+- const TQChar * aux = nick.tqunicode();
++ const TQChar * aux = nick.unicode();
+ // FIXME: Shouldn't this be case insensitive ?
+ while(i > 0)
+ {
+- sum += aux->tqunicode();
++ sum += aux->unicode();
+ aux++;
+ i--;
+ }
+diff --git a/src/kvirc/ui/kvi_customtoolbar.cpp b/src/kvirc/ui/kvi_customtoolbar.cpp
+index e974b94..774ba53 100644
+--- a/src/kvirc/ui/kvi_customtoolbar.cpp
++++ b/src/kvirc/ui/kvi_customtoolbar.cpp
+@@ -70,9 +70,9 @@ TQSize KviCustomToolBarSeparator::sizeHint() const
+ #ifdef COMPILE_USE_QT4
+ TQStyleOption opt;
+ opt.initFrom(this);
+- int extent = tqstyle()->pixelMetric(TQStyle::PM_ToolBarSeparatorExtent,&opt,this);
++ int extent = style()->pixelMetric(TQStyle::PM_ToolBarSeparatorExtent,&opt,this);
+ #else
+- int extent = tqstyle().pixelMetric(TQStyle::PM_DockWindowSeparatorExtent,this);
++ int extent = style().pixelMetric(TQStyle::PM_DockWindowSeparatorExtent,this);
+ #endif
+ if(m_pToolBar->orientation() == Qt::Horizontal)return TQSize(extent,0);
+ else return TQSize(0,extent);
+@@ -84,11 +84,11 @@ void KviCustomToolBarSeparator::paintEvent(TQPaintEvent *)
+ #ifdef COMPILE_USE_QT4
+ TQStyleOption opt;
+ opt.initFrom(this);
+- tqstyle()->drawPrimitive(TQStyle::PE_Q3DockWindowSeparator,&opt,&p,this);
++ style()->drawPrimitive(TQStyle::PE_Q3DockWindowSeparator,&opt,&p,this);
+ #else
+ TQStyle::SFlags flags = TQStyle::Style_Default;
+ if(m_pToolBar->orientation() == Qt::Horizontal)flags |= TQStyle::Style_Horizontal;
+- tqstyle().tqdrawPrimitive(TQStyle::PE_DockWindowSeparator,&p,rect(),colorGroup(),flags);
++ style().tqdrawPrimitive(TQStyle::PE_DockWindowSeparator,&p,rect(),colorGroup(),flags);
+ #endif
+ }
+
+@@ -334,7 +334,7 @@ int KviCustomToolBar::dropIndexAt(const TQPoint &pnt,TQWidget * exclude,int * ex
+ // treating exclude as if it was going to be removed
+ // find also the exclude index if needed
+ #ifdef COMPILE_USE_QT4
+- TQLayout * l = tqlayout();
++ TQLayout * l = layout();
+ #else
+ TQBoxLayout * l = boxLayout();
+ #endif
+@@ -453,7 +453,7 @@ int KviCustomToolBar::dropIndexAt(const TQPoint &pnt,TQWidget * exclude,int * ex
+ #ifdef COMPILE_USE_QT4
+ TQWidget * KviCustomToolBar::widgetAt(int index)
+ {
+- TQLayout * l = tqlayout();
++ TQLayout * l = layout();
+ if(!l)
+ return NULL;
+ TQLayoutItem * it = l->itemAt(index);
+diff --git a/src/kvirc/ui/kvi_frame.cpp b/src/kvirc/ui/kvi_frame.cpp
+index 49084c3..0128f29 100644
+--- a/src/kvirc/ui/kvi_frame.cpp
++++ b/src/kvirc/ui/kvi_frame.cpp
+@@ -173,7 +173,7 @@ KviFrame::KviFrame()
+
+ installAccelerators(this);
+
+- tqlayout()->setResizeMode(TQLayout::FreeResize);
++ layout()->setResizeMode(TQLayout::FreeResize);
+ }
+
+ KviFrame::~KviFrame()
+diff --git a/src/kvirc/ui/kvi_input.cpp b/src/kvirc/ui/kvi_input.cpp
+index 5d2e1c6..94afb59 100644
+--- a/src/kvirc/ui/kvi_input.cpp
++++ b/src/kvirc/ui/kvi_input.cpp
+@@ -317,7 +317,7 @@ TQSize KviInputEditor::sizeHint() const
+ TQSize( w + m, h + m ).
+ expandedTo(TQApplication::globalStrut()),this));
+ #else
+- return (tqstyle().tqsizeFromContents(TQStyle::CT_LineEdit, this,
++ return (style().tqsizeFromContents(TQStyle::CT_LineEdit, this,
+ TQSize( w + m, h + m ).
+ expandedTo(TQApplication::globalStrut())));
+ #endif
+@@ -454,7 +454,7 @@ void KviInputEditor::drawContents(TQPainter *p)
+ {
+ pa.setPen(KVI_OPTION_COLOR(KviOption_colorInputControl));
+
+- TQString s = getSubstituteChar(m_szTextBuffer[charIdx].tqunicode());
++ TQString s = getSubstituteChar(m_szTextBuffer[charIdx].unicode());
+
+ // the block width is 4 pixels more than the actual character
+
+@@ -523,9 +523,9 @@ void KviInputEditor::drawContents(TQPainter *p)
+ {
+ TQChar c = m_szTextBuffer.at(m_iBlockLen);
+ #ifdef COMPILE_USE_QT4
+- m_iLastCursorXPosition+= c.tqunicode() < 32 ? fm.width(getSubstituteChar(c.tqunicode())) + 3 : fm.width(c);
++ m_iLastCursorXPosition+= c.unicode() < 32 ? fm.width(getSubstituteChar(c.unicode())) + 3 : fm.width(c);
+ #else
+- m_iLastCursorXPosition+= (c.tqunicode() < 256) ? g_iInputFontCharWidth[c.tqunicode()] : fm.width(c);
++ m_iLastCursorXPosition+= (c.unicode() < 256) ? g_iInputFontCharWidth[c.unicode()] : fm.width(c);
+ #endif
+ m_iBlockLen++;
+ }
+@@ -626,7 +626,7 @@ void KviInputEditor::extractNextBlock(int idx,TQFontMetrics & fm,int curXPos,int
+
+ TQChar c = m_szTextBuffer[idx];
+
+- if((c.tqunicode() > 32) ||
++ if((c.unicode() > 32) ||
+ ((c != TQChar(KVI_TEXT_COLOR)) &&
+ (c != TQChar(KVI_TEXT_BOLD)) && (c != TQChar(KVI_TEXT_UNDERLINE)) &&
+ (c != TQChar(KVI_TEXT_RESET)) && (c != TQChar(KVI_TEXT_REVERSE)) &&
+@@ -637,7 +637,7 @@ void KviInputEditor::extractNextBlock(int idx,TQFontMetrics & fm,int curXPos,int
+ while((idx < ((int)(m_szTextBuffer.length()))) && (curXPos < maxXPos))
+ {
+ c = m_szTextBuffer[idx];
+- if((c.tqunicode() > 32) ||
++ if((c.unicode() > 32) ||
+ ((c != TQChar(KVI_TEXT_COLOR)) && (c != TQChar(KVI_TEXT_BOLD)) &&
+ (c != TQChar(KVI_TEXT_UNDERLINE)) && (c != TQChar(KVI_TEXT_RESET)) &&
+ (c != TQChar(KVI_TEXT_REVERSE)) && (c != TQChar(KVI_TEXT_CRYPTESCAPE)) &&
+@@ -645,9 +645,9 @@ void KviInputEditor::extractNextBlock(int idx,TQFontMetrics & fm,int curXPos,int
+ {
+ m_iBlockLen++;
+ #ifdef COMPILE_USE_QT4
+- int xxx = c.tqunicode() < 32 ? fm.width(getSubstituteChar(c.tqunicode())) + 3 : fm.width(c);;
++ int xxx = c.unicode() < 32 ? fm.width(getSubstituteChar(c.unicode())) + 3 : fm.width(c);;
+ #else
+- int xxx = (c.tqunicode() < 256 ? g_iInputFontCharWidth[c.tqunicode()] : fm.width(c));
++ int xxx = (c.unicode() < 256 ? g_iInputFontCharWidth[c.unicode()] : fm.width(c));
+ #endif
+ m_iBlockWidth +=xxx;
+ curXPos +=xxx;
+@@ -658,9 +658,9 @@ void KviInputEditor::extractNextBlock(int idx,TQFontMetrics & fm,int curXPos,int
+ } else {
+ m_bControlBlock = true;
+ m_iBlockLen = 1;
+- m_iBlockWidth = g_iInputFontCharWidth[c.tqunicode()];
++ m_iBlockWidth = g_iInputFontCharWidth[c.unicode()];
+ //Control code
+- switch(c.tqunicode())
++ switch(c.unicode())
+ {
+ case KVI_TEXT_BOLD:
+ m_bCurBold = ! m_bCurBold;
+@@ -716,7 +716,7 @@ void KviInputEditor::runUpToTheFirstVisibleChar()
+ register int idx = 0;
+ while(idx < m_iFirstVisibleChar)
+ {
+- unsigned short c = m_szTextBuffer[idx].tqunicode();
++ unsigned short c = m_szTextBuffer[idx].unicode();
+ if(c < 32)
+ {
+ switch(c)
+@@ -789,7 +789,7 @@ void KviInputEditor::mousePressEvent(TQMouseEvent *e)
+
+ TQString szClip;
+
+- TQClipboard * c = TQApplication::tqclipboard();
++ TQClipboard * c = TQApplication::clipboard();
+ if(c)
+ {
+ szClip = c->text(TQClipboard::Clipboard);
+@@ -918,7 +918,7 @@ bool KviInputEditor::hasSelection()
+ void KviInputEditor::copyToClipboard()
+ {
+ if(!hasSelection())return;
+- TQClipboard * c = TQApplication::tqclipboard();
++ TQClipboard * c = TQApplication::clipboard();
+ if(!c)return;
+ TQString szTxt = m_szTextBuffer.mid(m_iSelectionBegin,(m_iSelectionEnd-m_iSelectionBegin)+1);
+ c->setText(szTxt,TQClipboard::Clipboard);
+@@ -928,7 +928,7 @@ void KviInputEditor::copyToClipboard()
+ void KviInputEditor::copyToSelection(bool bDonNotCopyToClipboard)
+ {
+ if(!hasSelection())return;
+- TQClipboard * c = TQApplication::tqclipboard();
++ TQClipboard * c = TQApplication::clipboard();
+ if(!c)return;
+ TQString szTxt = m_szTextBuffer.mid(m_iSelectionBegin,(m_iSelectionEnd-m_iSelectionBegin)+1);
+ if(c->supportsSelection())
+@@ -969,7 +969,7 @@ void KviInputEditor::removeSelected()
+ void KviInputEditor::cut()
+ {
+ if(!hasSelection())return;
+- TQClipboard * c = TQApplication::tqclipboard();
++ TQClipboard * c = TQApplication::clipboard();
+ if(!c)return;
+ c->setText(m_szTextBuffer.mid(m_iSelectionBegin,(m_iSelectionEnd-m_iSelectionBegin)+1),TQClipboard::Clipboard);
+ m_szTextBuffer.remove(m_iSelectionBegin,(m_iSelectionEnd-m_iSelectionBegin)+1);
+@@ -1042,7 +1042,7 @@ int KviInputEditor::replaceSegment(int start, int length, const TQString &text)
+
+ void KviInputEditor::pasteClipboardWithConfirmation()
+ {
+- TQClipboard * c = TQApplication::tqclipboard();
++ TQClipboard * c = TQApplication::clipboard();
+ if(!c)return;
+ TQString szText = c->text(TQClipboard::Clipboard);
+
+@@ -1057,7 +1057,7 @@ void KviInputEditor::pasteClipboardWithConfirmation()
+
+ void KviInputEditor::pasteSelectionWithConfirmation()
+ {
+- TQClipboard * c = TQApplication::tqclipboard();
++ TQClipboard * c = TQApplication::clipboard();
+ if(!c)return;
+ TQString szText = c->text(c->supportsSelection() ? TQClipboard::Selection : TQClipboard::Clipboard);
+
+@@ -1819,7 +1819,7 @@ void KviInputEditor::completion(bool bShift)
+ bool bIsDir = false;
+ bool bIsNick = false;
+
+- unsigned short uc = word[0].tqunicode();
++ unsigned short uc = word[0].unicode();
+
+ if(uc == '/')
+ {
+@@ -1845,7 +1845,7 @@ void KviInputEditor::completion(bool bShift)
+ {
+ if(m_pKviWindow)
+ {
+- if( (word.length()==1) && (m_pKviWindow->windowName()[0].tqunicode()==uc))
++ if( (word.length()==1) && (m_pKviWindow->windowName()[0].unicode()==uc))
+ {
+ match=m_pKviWindow->windowName();
+ match.append(" ");
+@@ -1911,8 +1911,8 @@ void KviInputEditor::completion(bool bShift)
+ const TQChar * b2 = KviTQString::nullTerminatedArray(match) + wLen;
+ const TQChar * c1 = b1;
+ const TQChar * c2 = b2;
+- if(bIsDir)while(c1->tqunicode() && (c1->tqunicode() == c2->tqunicode()))c1++,c2++;
+- else while(c1->tqunicode() && (c1->lower().tqunicode() == c2->lower().tqunicode()))c1++,c2++;
++ if(bIsDir)while(c1->unicode() && (c1->unicode() == c2->unicode()))c1++,c2++;
++ else while(c1->unicode() && (c1->lower().unicode() == c2->lower().unicode()))c1++,c2++;
+ int len = wLen + (c1 - b1);
+ if(len < ((int)(match.length())))match.remove(len,match.length() - len);
+ if(!all.isEmpty())all.append(", ");
+@@ -2084,17 +2084,17 @@ void KviInputEditor::moveRightFirstVisibleCharToShowCursor()
+ TQChar c = m_szTextBuffer.at(m_iCursorPosition);
+
+ #ifdef COMPILE_USE_QT4
+- m_iLastCursorXPosition += c.tqunicode() < 32 ? fm.width(getSubstituteChar(c.tqunicode())) + 3 : fm.width(c);;
++ m_iLastCursorXPosition += c.unicode() < 32 ? fm.width(getSubstituteChar(c.unicode())) + 3 : fm.width(c);;
+ #else
+- m_iLastCursorXPosition += (c.tqunicode() < 256) ? g_iInputFontCharWidth[c.tqunicode()] : fm.width(c);
++ m_iLastCursorXPosition += (c.unicode() < 256) ? g_iInputFontCharWidth[c.unicode()] : fm.width(c);
+ #endif
+ while(m_iLastCursorXPosition >= contentsRect().width()-2*KVI_INPUT_MARGIN)
+ {
+ c = m_szTextBuffer.at(m_iFirstVisibleChar);
+ #ifdef COMPILE_USE_QT4
+- m_iLastCursorXPosition -= c.tqunicode() < 32 ? fm.width(getSubstituteChar(c.tqunicode())) + 3 : fm.width(c);;
++ m_iLastCursorXPosition -= c.unicode() < 32 ? fm.width(getSubstituteChar(c.unicode())) + 3 : fm.width(c);;
+ #else
+- m_iLastCursorXPosition -= (c.tqunicode() < 256) ? g_iInputFontCharWidth[c.tqunicode()] : fm.width(c);
++ m_iLastCursorXPosition -= (c.unicode() < 256) ? g_iInputFontCharWidth[c.unicode()] : fm.width(c);
+ #endif
+ m_iFirstVisibleChar++;
+ }
+@@ -2127,9 +2127,9 @@ int KviInputEditor::charIndexFromXPosition(int xPos)
+ {
+ TQChar c = m_szTextBuffer.at(curChar);
+ #ifdef COMPILE_USE_QT4
+- int widthCh = c.tqunicode() < 32 ? fm.width(getSubstituteChar(c.tqunicode())) + 3 : fm.width(c);;
++ int widthCh = c.unicode() < 32 ? fm.width(getSubstituteChar(c.unicode())) + 3 : fm.width(c);;
+ #else
+- int widthCh = (c.tqunicode() < 256) ? g_iInputFontCharWidth[c.tqunicode()] : fm.width(c);
++ int widthCh = (c.unicode() < 256) ? g_iInputFontCharWidth[c.unicode()] : fm.width(c);
+ #endif
+ if(xPos < (curXPos+(widthCh/2)))return curChar;
+ else if(xPos < (curXPos+widthCh))return (curChar+1);
+@@ -2150,9 +2150,9 @@ int KviInputEditor::xPositionFromCharIndex(TQFontMetrics& fm,int chIdx,bool bCo
+ {
+ TQChar c = m_szTextBuffer.at(curChar);
+ #ifdef COMPILE_USE_QT4
+- curXPos += c.tqunicode() < 32 ? fm.width(getSubstituteChar(c.tqunicode())) + 3 : fm.width(c);;
++ curXPos += c.unicode() < 32 ? fm.width(getSubstituteChar(c.unicode())) + 3 : fm.width(c);;
+ #else
+- curXPos += (c.tqunicode() < 256) ? g_iInputFontCharWidth[c.tqunicode()] : fm.width(c);
++ curXPos += (c.unicode() < 256) ? g_iInputFontCharWidth[c.unicode()] : fm.width(c);
+ #endif
+ curChar++;
+ }
+@@ -2170,9 +2170,9 @@ int KviInputEditor::xPositionFromCharIndex(int chIdx,bool bContentsCoords)
+ {
+ TQChar c = m_szTextBuffer.at(curChar);
+ #ifdef COMPILE_USE_QT4
+- curXPos += c.tqunicode() < 32 ? g_pLastFontMetrics->width(getSubstituteChar(c.tqunicode())) + 3 : g_pLastFontMetrics->width(c);
++ curXPos += c.unicode() < 32 ? g_pLastFontMetrics->width(getSubstituteChar(c.unicode())) + 3 : g_pLastFontMetrics->width(c);
+ #else
+- curXPos += (c.tqunicode() < 256) ? g_iInputFontCharWidth[c.tqunicode()] : g_pLastFontMetrics->width(c);
++ curXPos += (c.unicode() < 256) ? g_iInputFontCharWidth[c.unicode()] : g_pLastFontMetrics->width(c);
+ #endif
+ curChar++;
+ }
+@@ -2336,8 +2336,8 @@ KviInput::KviInput(KviWindow *par,KviUserListView * view)
+
+ #ifdef COMPILE_USE_QT4
+ m_pButtonContainer->setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum,TQSizePolicy::Preferred));
+-// if(m_pButtonContainer->tqlayout())
+-// m_pButtonContainer->tqlayout()->setSizeConstraint(TQLayout::SetMinimumSize);
++// if(m_pButtonContainer->layout())
++// m_pButtonContainer->layout()->setSizeConstraint(TQLayout::SetMinimumSize);
+ #endif
+
+ m_pHistoryButton = new KviStyledToolButton(m_pButtonContainer,"historybutton");
+diff --git a/src/kvirc/ui/kvi_ircview.cpp b/src/kvirc/ui/kvi_ircview.cpp
+index 9eb166c..1ddf275 100644
+--- a/src/kvirc/ui/kvi_ircview.cpp
++++ b/src/kvirc/ui/kvi_ircview.cpp
+@@ -243,12 +243,12 @@ void kvi_appendWCharToTQStringWithLength(TQString * qstrptr,const kvi_wchar_t *
+ kvi_wslen_t oldLen = qstrptr->length();
+ qstrptr->setLength(oldLen + len);
+ #ifdef WSTRINGCONFIG_SAFE_TO_MEMCPY_TQCHAR
+- _WSTRING_WMEMCPY(qstrptr->tqunicode() + oldLen,ptr,len);
++ _WSTRING_WMEMCPY(qstrptr->unicode() + oldLen,ptr,len);
+ #else // !WSTRINGCONFIG_SAFE_TO_MEMCPY_TQCHAR
+- TQChar * c = (qstrptr->tqunicode() + oldLen);
++ TQChar * c = (qstrptr->unicode() + oldLen);
+ while(*ptr)
+ {
+- c->tqunicode() = *ptr;
++ c->unicode() = *ptr;
+ ptr++;
+ c++;
+ }
+@@ -1964,8 +1964,8 @@ const kvi_wchar_t * KviIrcView::getTextLine(int iMsgType,
+ iTextIdx = iTimeStampLength; // the rest of the string will begin 11 chars later
+
+ // throw away const: we WANT to set the chars :D
+- register TQChar * data_ptr_aux = (TQChar *)line_ptr->szText.tqunicode();
+- register TQChar * stamp_ptr_aux = (TQChar *)szTimestamp.tqunicode();
++ register TQChar * data_ptr_aux = (TQChar *)line_ptr->szText.unicode();
++ register TQChar * stamp_ptr_aux = (TQChar *)szTimestamp.unicode();
+
+ for(int i=0;i<iTimeStampLength;i++)
+ *data_ptr_aux++ = *stamp_ptr_aux++;
+@@ -3449,7 +3449,7 @@ no_selection_paint:
+ //
+ ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+
+-#define IRCVIEW_WCHARWIDTH(__c) (((__c).tqunicode() < 0xff) ? m_iFontCharacterWidth[(__c).tqunicode()] : m_pFm->width(__c))
++#define IRCVIEW_WCHARWIDTH(__c) (((__c).unicode() < 0xff) ? m_iFontCharacterWidth[(__c).unicode()] : m_pFm->width(__c))
+
+ void KviIrcView::calculateLineWraps(KviIrcViewLine *ptr,int maxWidth)
+ {
+@@ -3476,12 +3476,12 @@ void KviIrcView::calculateLineWraps(KviIrcViewLine *ptr,int maxWidth)
+
+ int maxBlockLen = ptr->pChunks->iTextLen; // ptr->pChunks[0].iTextLen
+
+- const TQChar * tqunicode = ptr->szText.tqunicode();
++ const TQChar * unicode = ptr->szText.unicode();
+
+ for(;;)
+ {
+ //Calculate the block_width
+- register const TQChar * p = tqunicode + ptr->pBlocks[ptr->iBlockCount].block_start;
++ register const TQChar * p = unicode + ptr->pBlocks[ptr->iBlockCount].block_start;
+ int curBlockLen = 0;
+ int curBlockWidth = 0;
+
+@@ -3546,7 +3546,7 @@ void KviIrcView::calculateLineWraps(KviIrcViewLine *ptr,int maxWidth)
+ ptr->pBlocks[ptr->iBlockCount].block_width = 0;
+ ptr->iBlockCount++;
+ ptr->pBlocks = (KviIrcViewWrappedBlock *)kvi_realloc(ptr->pBlocks,(ptr->iBlockCount + 1) * sizeof(KviIrcViewWrappedBlock));
+- ptr->pBlocks[ptr->iBlockCount].block_start = p - tqunicode;
++ ptr->pBlocks[ptr->iBlockCount].block_start = p - unicode;
+ ptr->pBlocks[ptr->iBlockCount].block_len = 0;
+ ptr->pBlocks[ptr->iBlockCount].block_width = 0;
+ ptr->pBlocks[ptr->iBlockCount].pChunk = &(ptr->pChunks[curAttrBlock]);
+@@ -3579,7 +3579,7 @@ void KviIrcView::calculateLineWraps(KviIrcViewLine *ptr,int maxWidth)
+ maxBlockLen-=curBlockLen;
+ ptr->iBlockCount++;
+ ptr->pBlocks = (KviIrcViewWrappedBlock *)kvi_realloc(ptr->pBlocks,(ptr->iBlockCount + 1) * sizeof(KviIrcViewWrappedBlock));
+- ptr->pBlocks[ptr->iBlockCount].block_start = p - tqunicode;
++ ptr->pBlocks[ptr->iBlockCount].block_start = p - unicode;
+ ptr->pBlocks[ptr->iBlockCount].block_len = 0;
+ ptr->pBlocks[ptr->iBlockCount].block_width = 0;
+ ptr->pBlocks[ptr->iBlockCount].pChunk = 0;
+@@ -3632,8 +3632,8 @@ bool KviIrcView::checkSelectionBlock(KviIrcViewLine * line,int left,int bottom,i
+ //
+ // Yahoo!!!!
+ //
+- const TQChar * tqunicode = line->szText.tqunicode();
+- register const TQChar * p = tqunicode + line->pBlocks[bufIndex].block_start;
++ const TQChar * unicode = line->szText.unicode();
++ register const TQChar * p = unicode + line->pBlocks[bufIndex].block_start;
+
+ int top = bottom-m_iFontLineSpacing;
+ int right = ((line->pBlocks[bufIndex].block_width >= 0) ? \
+@@ -4479,7 +4479,7 @@ void KviIrcView::mouseDoubleClickEvent(TQMouseEvent *e)
+ pParams->append(szCmd);
+
+
+- switch(linkCmd[0].tqunicode())
++ switch(linkCmd[0].unicode())
+ {
+ case 'n':
+ {
+@@ -4517,7 +4517,7 @@ void KviIrcView::mouseDoubleClickEvent(TQMouseEvent *e)
+ if(((KviChannel *)m_pKviWindow)->isMeOp())
+ {
+ TQChar plmn = linkCmd[1];
+- if((plmn.tqunicode() == '+') || (plmn.tqunicode() == '-'))
++ if((plmn.unicode() == '+') || (plmn.unicode() == '-'))
+ {
+ TQString target(m_pKviWindow->windowName());
+ target.replace("\\","\\\\");
+@@ -4526,7 +4526,7 @@ void KviIrcView::mouseDoubleClickEvent(TQMouseEvent *e)
+ target.replace("$","\\$");
+ target.replace("%","\\%");
+ TQChar flag = linkCmd[2];
+- switch(flag.tqunicode())
++ switch(flag.unicode())
+ {
+ case 'o':
+ case 'v':
+@@ -4669,7 +4669,7 @@ void KviIrcView::mouseRealPressEvent(TQMouseEvent *e)
+ {
+ if(!linkCmd.isEmpty())
+ {
+- switch(linkCmd[0].tqunicode())
++ switch(linkCmd[0].unicode())
+ {
+ case 'n':
+ {
+@@ -4782,7 +4782,7 @@ void KviIrcView::mouseReleaseEvent(TQMouseEvent *)
+ {
+ killTimer(m_iSelectTimer);
+ m_iSelectTimer = 0;
+- TQClipboard * c = TQApplication::tqclipboard();
++ TQClipboard * c = TQApplication::clipboard();
+ if(c)
+ {
+ // copy to both!
+@@ -4896,7 +4896,7 @@ void KviIrcView::doLinkToolTip(const TQRect &rct,TQString &linkCmd,TQString &lin
+
+ TQString tip;
+
+- switch(linkCmd[0].tqunicode())
++ switch(linkCmd[0].unicode())
+ {
+ case 'u': // url link
+ {
+@@ -4972,11 +4972,11 @@ void KviIrcView::doLinkToolTip(const TQRect &rct,TQString &linkCmd,TQString &lin
+ if(((KviChannel *)m_pKviWindow)->isMeOp())
+ {
+ TQChar plmn = linkCmd[1];
+- if((plmn.tqunicode() == '+') || (plmn.tqunicode() == '-'))
++ if((plmn.unicode() == '+') || (plmn.unicode() == '-'))
+ {
+ tip = __tr2qs("Double-click to set<br>");
+ TQChar flag = linkCmd[2];
+- switch(flag.tqunicode())
++ switch(flag.unicode())
+ {
+ case 'o':
+ case 'v':
+diff --git a/src/kvirc/ui/kvi_ircviewprivate.h b/src/kvirc/ui/kvi_ircviewprivate.h
+index 790976b..34c70c4 100644
+--- a/src/kvirc/ui/kvi_ircviewprivate.h
++++ b/src/kvirc/ui/kvi_ircviewprivate.h
+@@ -148,7 +148,7 @@ typedef struct _KviIrcViewWrappedBlockSelectionInfoTag
+ #endif //!COMPILE_ON_WINDOWS
+
+ //=========================================================================================================
+-// Screen tqlayout
++// Screen layout
+ //=========================================================================================================
+
+ //FIRST LINE (prev_line = 0) <---m_pFirstLine
+diff --git a/src/kvirc/ui/kvi_mdimanager.cpp b/src/kvirc/ui/kvi_mdimanager.cpp
+index 607f699..039bf28 100644
+--- a/src/kvirc/ui/kvi_mdimanager.cpp
++++ b/src/kvirc/ui/kvi_mdimanager.cpp
+@@ -591,7 +591,7 @@ void KviMdiManager::enterSDIMode(KviMdiChild *lpC)
+ // This is an obscure, undocumented and internal function in QT4 TQMenuBar
+ // I won't be surprised if this disappears....
+ b->setCornerWidget(m_pSdiControls,TQt::TopRightCorner);
+- // The show below SHOULD force a re-tqlayout of the menubar..
++ // The show below SHOULD force a re-layout of the menubar..
+ // but it doesn't work when the KviFrame is still hidden (at startup)
+ // We handle this BUG in showEvent()
+ m_pSdiControls->show();
+@@ -611,7 +611,7 @@ void KviMdiManager::enterSDIMode(KviMdiChild *lpC)
+ void KviMdiManager::relayoutMenuButtons()
+ {
+ #ifdef COMPILE_USE_QT4
+- // force a re-tqlayout of the menubar in TQt4 (see the note in enterSDIMode())
++ // force a re-layout of the menubar in TQt4 (see the note in enterSDIMode())
+ // by resetting the corner widget
+ if(m_pSdiControls)
+ {
+@@ -662,7 +662,7 @@ void KviMdiManager::leaveSDIMode()
+ }
+ if(m_pSdiIconButton)
+ {
+- m_pSdiIconButton->hide(); // this will force a TQMenuBar retqlayout
++ m_pSdiIconButton->hide(); // this will force a TQMenuBar relayout
+ delete m_pSdiIconButton;
+ m_pSdiIconButton = 0;
+ }
+@@ -1073,7 +1073,7 @@ void KviMdiManager::tileAnodine()
+ int numVisible=getVisibleChildCount(); // count visible windows
+ if(numVisible<1)return;
+ int numCols=int(sqrt((double)numVisible)); // set columns to square root of visible count
+- // create an array to form grid tqlayout
++ // create an array to form grid layout
+ int *numRows=new int[numCols];
+ int numCurCol=0;
+ while(numCurCol<numCols)
+diff --git a/src/kvirc/ui/kvi_menubar.cpp b/src/kvirc/ui/kvi_menubar.cpp
+index 1c43223..ad5531e 100644
+--- a/src/kvirc/ui/kvi_menubar.cpp
++++ b/src/kvirc/ui/kvi_menubar.cpp
+@@ -97,7 +97,7 @@ void KviMenuBar::showEvent(TQShowEvent *e)
+ {
+ #ifdef COMPILE_USE_QT4
+ debug("menubar show");
+- // force a re-tqlayout of the menubar in TQt4 (see the note in enterSDIMode())
++ // force a re-layout of the menubar in TQt4 (see the note in enterSDIMode())
+ // by resetting the corner widget
+ m_pFrm->mdiManager()->relayoutMenuButtons();
+ #endif
+diff --git a/src/kvirc/ui/kvi_modeeditor.cpp b/src/kvirc/ui/kvi_modeeditor.cpp
+index 18ce661..5c385cf 100644
+--- a/src/kvirc/ui/kvi_modeeditor.cpp
++++ b/src/kvirc/ui/kvi_modeeditor.cpp
+@@ -121,11 +121,11 @@ KviModeEditor::KviModeEditor(TQWidget * par,KviWindowToolPageButton* button,cons
+ TQChar ccc = szModes[0];
+ szModes.remove(0,1);
+
+- KviTQString::sprintf(tmp,"%c: %Q",ccc.tqunicode(),&(c->connection()->serverInfo()->getChannelModeDescription(ccc)));
++ KviTQString::sprintf(tmp,"%c: %Q",ccc.unicode(),&(c->connection()->serverInfo()->getChannelModeDescription(ccc)));
+ KviStyledCheckBox * cb = new KviStyledCheckBox(tmp,pBackground);
+ cb->setEnabled(isEnabled);
+ m_pCheckBoxes->append(cb);
+- cb->setChecked(m_szMode.contains((char)ccc.tqunicode()));
++ cb->setChecked(m_szMode.contains((char)ccc.unicode()));
+ i++;
+ g->addMultiCellWidget(cb,i,i,0,2);
+ }
+@@ -193,11 +193,11 @@ KviModeEditor::KviModeEditor(TQWidget * par,KviWindowToolPageButton* button,cons
+ TQChar ccc = szModes[0];
+ szModes.remove(0,1);
+
+- KviTQString::sprintf(tmp,"%c: %Q",(char)ccc.tqunicode(),&(c->connection()->serverInfo()->getChannelModeDescription(ccc)));
++ KviTQString::sprintf(tmp,"%c: %Q",(char)ccc.unicode(),&(c->connection()->serverInfo()->getChannelModeDescription(ccc)));
+ KviStyledCheckBox * cb = new KviStyledCheckBox(tmp,pBackground);
+ cb->setEnabled(isEnabled);
+ m_pCheckBoxes->append(cb);
+- cb->setChecked(m_szMode.contains((char)ccc.tqunicode()));
++ cb->setChecked(m_szMode.contains((char)ccc.unicode()));
+ i++;
+ g->addMultiCellWidget(cb,i,i,0,2);
+ }
+@@ -317,9 +317,9 @@ void KviModeEditor::commit()
+ TQChar ccc = sz[0];
+ if(cb->isChecked())
+ {
+- if(!m_szMode.contains((char)ccc.tqunicode()))szPlusModes.append((char)ccc.tqunicode());
++ if(!m_szMode.contains((char)ccc.unicode()))szPlusModes.append((char)ccc.unicode());
+ } else {
+- if(m_szMode.contains((char)ccc.tqunicode()))szMinusModes.append((char)ccc.tqunicode());
++ if(m_szMode.contains((char)ccc.unicode()))szMinusModes.append((char)ccc.unicode());
+ }
+ }
+ }
+diff --git a/src/kvirc/ui/kvi_optionswidget.cpp b/src/kvirc/ui/kvi_optionswidget.cpp
+index d0dae63..82c1a83 100644
+--- a/src/kvirc/ui/kvi_optionswidget.cpp
++++ b/src/kvirc/ui/kvi_optionswidget.cpp
+@@ -98,16 +98,16 @@ void KviOptionsWidget::createLayout(int rows,int cols)
+ void KviOptionsWidget::createTabbedPage()
+ {
+ createLayout(1,1);
+- tqlayout()->setMargin(0);
+- tqlayout()->setSpacing(0);
++ layout()->setMargin(0);
++ layout()->setSpacing(0);
+ m_pTabWidget = new TQTabWidget(this);
+ addWidgetToLayout(m_pTabWidget,0,0,0,0);
+ }
+
+ void KviOptionsWidget::addOptionsWidget(const TQString &szText,const TQIconSet &iconSet,KviOptionsWidget * pWidget)
+ {
+- if(pWidget->tqlayout())
+- pWidget->tqlayout()->setMargin(10);
++ if(pWidget->layout())
++ pWidget->layout()->setMargin(10);
+ m_pTabWidget->addTab(pWidget,iconSet,szText);
+ m_pSelectorInterfaceList->append(pWidget);
+ }
+@@ -115,8 +115,8 @@ void KviOptionsWidget::addOptionsWidget(const TQString &szText,const TQIconSet &
+
+ void KviOptionsWidget::addWidgetToLayout(TQWidget * w,int x1,int y1,int x2,int y2)
+ {
+- if((x1 == x2) && (y1 == y2))tqlayout()->addWidget(w,y1,x1);
+- else tqlayout()->addMultiCellWidget(w,y1,y2,x1,x2);
++ if((x1 == x2) && (y1 == y2))layout()->addWidget(w,y1,x1);
++ else layout()->addMultiCellWidget(w,y1,y2,x1,x2);
+ }
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////////
+@@ -622,7 +622,7 @@ void KviOptionsWidget::addRowSpacer(int x1,int y1,int x2,int y2)
+ {
+ TQWidget * w = new TQWidget(this);
+ addWidgetToLayout(w,x1,y1,x2,y2);
+- tqlayout()->setRowStretch(y1,1);
++ layout()->setRowStretch(y1,1);
+ }
+
+ TQLabel * KviOptionsWidget::addLabel(int x1,int y1,int x2,int y2,const TQString & text,bool bEnabled)
+diff --git a/src/kvirc/ui/kvi_optionswidget.h b/src/kvirc/ui/kvi_optionswidget.h
+index 5e397f1..38023fa 100644
+--- a/src/kvirc/ui/kvi_optionswidget.h
++++ b/src/kvirc/ui/kvi_optionswidget.h
+@@ -54,7 +54,7 @@ private:
+ public:
+ void mergeResetFlag(int flag){ m_iResetFlags |= flag; };
+ void createLayout(int rows,int columns);
+- TQGridLayout * tqlayout(){ return m_pLayout; };
++ TQGridLayout * layout(){ return m_pLayout; };
+ protected:
+ void commitSelectors();
+ void commitOptionsReset();
+diff --git a/src/kvirc/ui/kvi_query.cpp b/src/kvirc/ui/kvi_query.cpp
+index ef70a1d..0d133bd 100644
+--- a/src/kvirc/ui/kvi_query.cpp
++++ b/src/kvirc/ui/kvi_query.cpp
+@@ -547,7 +547,7 @@ void KviQuery::applyOptions()
+ {
+ m_pUserListView->applyOptions();
+ updateLabelText();
+- // this applies options for IrcView and Input and forces the window to retqlayout
++ // this applies options for IrcView and Input and forces the window to relayout
+ KviWindow::applyOptions();
+ }
+
+diff --git a/src/kvirc/ui/kvi_statusbar.cpp b/src/kvirc/ui/kvi_statusbar.cpp
+index 1985217..481a521 100644
+--- a/src/kvirc/ui/kvi_statusbar.cpp
++++ b/src/kvirc/ui/kvi_statusbar.cpp
+@@ -249,7 +249,7 @@ void KviStatusBar::recalcMinimumHeight()
+ {
+ m_iLastMinimumHeight = s;
+ setMinimumHeight(s);
+- TQLayout * l = tqlayout();
++ TQLayout * l = layout();
+ if(l)
+ if(l->inherits(TQBOXLAYOUT_OBJECT_NAME_STRING))
+ ((TQBoxLayout *)l)->addStrut(s);
+diff --git a/src/kvirc/ui/kvi_topicw.cpp b/src/kvirc/ui/kvi_topicw.cpp
+index 63fd4e6..3267679 100644
+--- a/src/kvirc/ui/kvi_topicw.cpp
++++ b/src/kvirc/ui/kvi_topicw.cpp
+@@ -153,7 +153,7 @@ TQString convertToHtml(const TQString &text)
+
+ while(idx < text.length())
+ {
+- unsigned short c = text[(int)idx].tqunicode();
++ unsigned short c = text[(int)idx].unicode();
+
+ unsigned int start = idx;
+
+@@ -168,7 +168,7 @@ TQString convertToHtml(const TQString &text)
+ {
+ idx++;
+ if(idx >= text.length())break;
+- else c = text[(int)idx].tqunicode();
++ else c = text[(int)idx].unicode();
+ }
+
+ int len = idx - start;
+@@ -251,7 +251,7 @@ TQString convertToHtml(const TQString &text)
+ ++idx;
+
+ unsigned int icoStart = idx;
+- while((idx < text.length()) && (text[(int)idx].tqunicode() > 32))idx++;
++ while((idx < text.length()) && (text[(int)idx].unicode() > 32))idx++;
+
+ KviStr lookupString = text.mid(icoStart,idx - icoStart);
+
+@@ -291,7 +291,7 @@ void KviTopicWidget::paintColoredText(TQPainter *p, TQString text,const TQColorG
+
+ while((idx < text.length()) && (curX < width))
+ {
+- unsigned short c = text[(int)idx].tqunicode();
++ unsigned short c = text[(int)idx].unicode();
+
+ unsigned int start = idx;
+
+@@ -305,7 +305,7 @@ void KviTopicWidget::paintColoredText(TQPainter *p, TQString text,const TQColorG
+ )
+ {
+ idx++;
+- c = text[(int)idx].tqunicode();
++ c = text[(int)idx].unicode();
+ }
+
+ int len = idx - start;
+@@ -392,7 +392,7 @@ void KviTopicWidget::paintColoredText(TQPainter *p, TQString text,const TQColorG
+ ++idx;
+
+ unsigned int icoStart = idx;
+- while((idx < text.length()) && (text[(int)idx].tqunicode() > 32))idx++;
++ while((idx < text.length()) && (text[(int)idx].unicode() > 32))idx++;
+
+ KviStr lookupString = text.mid(icoStart,idx - icoStart);
+
+@@ -629,7 +629,7 @@ void KviTopicWidget::contextPopupAboutToShow()
+
+ void KviTopicWidget::copy()
+ {
+- TQClipboard * c = TQApplication::tqclipboard();
++ TQClipboard * c = TQApplication::clipboard();
+ if(!c)return;
+ if(c->supportsSelection())c->setText(m_szTopic,TQClipboard::Selection);
+ c->setText(m_szTopic,TQClipboard::Clipboard);
+diff --git a/src/kvirc/ui/kvi_userlistview.cpp b/src/kvirc/ui/kvi_userlistview.cpp
+index d86b864..a66156c 100644
+--- a/src/kvirc/ui/kvi_userlistview.cpp
++++ b/src/kvirc/ui/kvi_userlistview.cpp
+@@ -838,7 +838,7 @@ int KviUserListView::getUserModeLevel(const TQString &szNick)
+ char KviUserListView::getUserFlag(KviUserListEntry * e)
+ {
+ if(!e)return 0;
+- return (char)m_pKviWindow->connection()->serverInfo()->modePrefixChar(e->m_iFlags).tqunicode();
++ return (char)m_pKviWindow->connection()->serverInfo()->modePrefixChar(e->m_iFlags).unicode();
+ }
+
+ void KviUserListView::prependUserFlag(const TQString &nick,TQString &buffer)
+diff --git a/src/kvirc/ui/kvi_window.cpp b/src/kvirc/ui/kvi_window.cpp
+index a4828bf..984fb70 100644
+--- a/src/kvirc/ui/kvi_window.cpp
++++ b/src/kvirc/ui/kvi_window.cpp
+@@ -1327,7 +1327,7 @@ void KviWindow::applyOptions()
+ if(m_pIrcView)m_pIrcView->applyOptions();
+ if(m_pInput)m_pInput->applyOptions();
+
+- // trick: retqlayout
++ // trick: relayout
+ resize(width() - 1,height() - 1);
+ resize(width() + 1,height() + 1);
+ }
+diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp
+index 6945cd1..9d704ec 100644
+--- a/src/modules/editor/scripteditor.cpp
++++ b/src/modules/editor/scripteditor.cpp
+@@ -107,11 +107,11 @@ void KviCompletionBox::updateContents(TQString buffer)
+ if(pos>0)
+ {
+ szModule=buffer.left(pos);
+- if(szModule[0].tqunicode()=='$')
++ if(szModule[0].unicode()=='$')
+ szModule.remove(0,1);
+ }
+
+- if(pCur->tqunicode() == '$')
++ if(pCur->unicode() == '$')
+ {
+ buffer.remove(0,1);
+ if(!buffer.isEmpty())
+@@ -369,13 +369,13 @@ void KviScriptEditorWidget::keyPressEvent(TQKeyEvent * e)
+ TQString szPrev=text(para-1);
+ if(!szPrev.isEmpty())
+ {
+- if(szPrev.at(szPrev.length() - 1).tqunicode() == ' ')
++ if(szPrev.at(szPrev.length() - 1).unicode() == ' ')
+ szPrev.remove(szPrev.length() - 1,1);
+ TQString szCur;
+ const TQChar * pCur = (const TQChar *)szPrev.ucs2();
+ if(pCur)
+ {
+- while(pCur->tqunicode() && pCur->isSpace())
++ while(pCur->unicode() && pCur->isSpace())
+ {
+ szCur.append(*pCur);
+ pCur++;
+@@ -557,9 +557,9 @@ void KviScriptEditorWidget::slotComplete(const TQString &str)
+ bool bIsFirstWordInLine;
+ getWordBeforeCursor(buffer,index,&bIsFirstWordInLine);
+ int len=buffer.length();
+-// if (buffer[1].tqunicode() == '$') len --;
++// if (buffer[1].unicode() == '$') len --;
+ complete.remove(0,len-1);
+- if (buffer[1].tqunicode() == '$') complete.append("(");
++ if (buffer[1].unicode() == '$') complete.append("(");
+ else complete.append(" ");
+ insert (complete);
+ completelistbox->hide();
+@@ -595,19 +595,19 @@ int KviScriptSyntaxHighlighter::highlightParagraph(const TQString &text,int endS
+ const TQChar * pBegin;
+
+
+- while(c->tqunicode())
++ while(c->unicode())
+ {
+ if(bInComment)
+ {
+ pBegin = c;
+- while(c->tqunicode() && (c->tqunicode() != '*'))c++;
+- if(!c->tqunicode())
++ while(c->unicode() && (c->unicode() != '*'))c++;
++ if(!c->unicode())
+ {
+ setFormat(pBegin - pBuf,c - pBegin,g_fntNormal,g_clrComment);
+ return IN_COMMENT;
+ }
+ c++;
+- if(c->tqunicode() == '/')
++ if(c->unicode() == '/')
+ {
+ // end of the comment!
+ c++;
+@@ -620,14 +620,14 @@ int KviScriptSyntaxHighlighter::highlightParagraph(const TQString &text,int endS
+
+ if(c->isSpace())
+ {
+- while(c->tqunicode() && c->isSpace())c++;
+- if(!c->tqunicode())continue;
++ while(c->unicode() && c->isSpace())c++;
++ if(!c->unicode())continue;
+ }
+
+ pBegin = c;
+
+ // this does not break the bNewCommand flag
+- if((c->tqunicode() == '{') || (c->tqunicode() == '}'))
++ if((c->unicode() == '{') || (c->unicode() == '}'))
+ {
+ c++;
+ setFormat(pBegin - pBuf,1,g_fntNormal,g_clrBracket);
+@@ -639,12 +639,12 @@ int KviScriptSyntaxHighlighter::highlightParagraph(const TQString &text,int endS
+ {
+ bNewCommand = false;
+
+- if(c->tqunicode() == '#')
++ if(c->unicode() == '#')
+ {
+ if(c > pBuf)
+ {
+ const TQChar * prev = c - 1;
+- if((prev->tqunicode() == ']') || (prev->tqunicode() == '}'))
++ if((prev->unicode() == ']') || (prev->unicode() == '}'))
+ {
+ // array or hash count
+ c++;
+@@ -653,19 +653,19 @@ int KviScriptSyntaxHighlighter::highlightParagraph(const TQString &text,int endS
+ }
+ }
+ // comment until the end of the line
+- while(c->tqunicode())c++;
++ while(c->unicode())c++;
+ setFormat(pBegin - pBuf,c - pBegin,g_fntNormal,g_clrComment);
+ continue;
+ }
+- if(c->tqunicode() == '/')
++ if(c->unicode() == '/')
+ {
+ c++;
+- if(c->tqunicode() == '/')
++ if(c->unicode() == '/')
+ {
+- while(c->tqunicode())c++;
++ while(c->unicode())c++;
+ setFormat(pBegin - pBuf,c - pBegin,g_fntNormal,g_clrComment);
+ continue;
+- } else if(c->tqunicode() == '*')
++ } else if(c->unicode() == '*')
+ {
+ c++;
+ setFormat(pBegin - pBuf,c - pBegin,g_fntNormal,g_clrComment);
+@@ -674,13 +674,13 @@ int KviScriptSyntaxHighlighter::highlightParagraph(const TQString &text,int endS
+ }
+ c--;
+ }
+- if(c->tqunicode() && (c->isLetterOrNumber() || (c->tqunicode() == '_')))
++ if(c->unicode() && (c->isLetterOrNumber() || (c->unicode() == '_')))
+ {
+ c++;
+- while(c->tqunicode() && (c->isLetterOrNumber() || (c->tqunicode() == '.') || (c->tqunicode() == '_') || (c->tqunicode() == ':')))c++;
++ while(c->unicode() && (c->isLetterOrNumber() || (c->unicode() == '.') || (c->unicode() == '_') || (c->unicode() == ':')))c++;
+ setFormat(pBegin - pBuf,c - pBegin,g_fntNormal,g_clrKeyword);
+ // special processing for callbacks and magic commands
+- if(pBegin->tqunicode() == 'e')
++ if(pBegin->unicode() == 'e')
+ {
+ if(c - pBegin == 4)
+ {
+@@ -691,7 +691,7 @@ int KviScriptSyntaxHighlighter::highlightParagraph(const TQString &text,int endS
+ }
+ }
+ else
+- if(pBegin->tqunicode() == 'f')
++ if(pBegin->unicode() == 'f')
+ {
+ if(c - pBegin == 8)
+ {
+@@ -702,7 +702,7 @@ int KviScriptSyntaxHighlighter::highlightParagraph(const TQString &text,int endS
+ }
+ }
+
+- if(pBegin->tqunicode() == 'i')
++ if(pBegin->unicode() == 'i')
+ {
+ if(c - pBegin == 8)
+ {
+@@ -717,28 +717,28 @@ int KviScriptSyntaxHighlighter::highlightParagraph(const TQString &text,int endS
+ continue;
+ }
+ }
+- if(c->tqunicode() == '$')
++ if(c->unicode() == '$')
+ {
+ c++;
+- if(c->tqunicode() == '$')
++ if(c->unicode() == '$')
+ {
+ c++;
+ setFormat(pBegin - pBuf,c - pBegin,g_fntNormal,g_clrKeyword);
+ } else {
+- while(c->tqunicode() && (c->isLetterOrNumber() || (c->tqunicode() == '.') || (c->tqunicode() == '_') || (c->tqunicode() == ':')))c++;
++ while(c->unicode() && (c->isLetterOrNumber() || (c->unicode() == '.') || (c->unicode() == '_') || (c->unicode() == ':')))c++;
+ setFormat(pBegin - pBuf,c - pBegin,g_fntNormal,g_clrFunction);
+ }
+ continue;
+ }
+
+- if(c->tqunicode() == '-')
++ if(c->unicode() == '-')
+ {
+ TQChar * pTmp =(TQChar *) c;
+ c++;
+- if(c->tqunicode() == '-') c++;
++ if(c->unicode() == '-') c++;
+ if(c->isLetter())
+ {
+- while(c->tqunicode() && (c->isLetterOrNumber() || (c->tqunicode() == '_')))c++;
++ while(c->unicode() && (c->isLetterOrNumber() || (c->unicode() == '_')))c++;
+ setFormat(pBegin - pBuf,c - pBegin,g_fntNormal,g_clrKeyword);
+ continue;
+ } else {
+@@ -746,35 +746,35 @@ int KviScriptSyntaxHighlighter::highlightParagraph(const TQString &text,int endS
+ }
+ }
+
+- if(c->tqunicode() == '%')
++ if(c->unicode() == '%')
+ {
+ c++;
+- if(c->tqunicode() && (c->isLetterOrNumber() || (c->tqunicode() == ':') || (c->tqunicode() == '_')))
++ if(c->unicode() && (c->isLetterOrNumber() || (c->unicode() == ':') || (c->unicode() == '_')))
+ {
+- while(c->tqunicode() && (c->isLetterOrNumber() || (c->tqunicode() == ':') || (c->tqunicode() == '_')))c++;
++ while(c->unicode() && (c->isLetterOrNumber() || (c->unicode() == ':') || (c->unicode() == '_')))c++;
+ setFormat(pBegin - pBuf,c - pBegin,g_fntNormal,g_clrVariable);
+ continue;
+ }
+ c--;
+ }
+
+- if(!c->tqunicode())continue;
++ if(!c->unicode())continue;
+
+- if(c->isLetterOrNumber() || c->tqunicode() == '_')
++ if(c->isLetterOrNumber() || c->unicode() == '_')
+ {
+ c++;
+- while(c->tqunicode() && c->isLetterOrNumber() || (c->tqunicode() == '_'))c++;
++ while(c->unicode() && c->isLetterOrNumber() || (c->unicode() == '_'))c++;
+ setFormat(pBegin - pBuf,c - pBegin,g_fntNormal,g_clrNormalText);
+ continue;
+ }
+
+- if(c->tqunicode() == '\\')
++ if(c->unicode() == '\\')
+ {
+ c++;
+ setFormat(pBegin - pBuf,c - pBegin,g_fntNormal,g_clrPunctuation);
+ // the next char is to be interpreted as normal text
+ pBegin = c;
+- if(c->tqunicode() && (c->tqunicode() != '\n'))
++ if(c->unicode() && (c->unicode() != '\n'))
+ {
+ c++;
+ setFormat(pBegin - pBuf,c - pBegin,g_fntNormal,g_clrNormalText);
+@@ -785,13 +785,13 @@ int KviScriptSyntaxHighlighter::highlightParagraph(const TQString &text,int endS
+ return IN_LINE;
+ }
+
+- if(c->tqunicode() == '"')
++ if(c->unicode() == '"')
+ {
+ bInString = !bInString;
+ c++;
+ setFormat(pBegin - pBuf,c - pBegin,g_fntNormal,g_clrPunctuation);
+ continue;
+- } else if(c->tqunicode() == ';')
++ } else if(c->unicode() == ';')
+ {
+ if(!bInString) bNewCommand = true; // the next will be a new command
+ }
+@@ -1124,7 +1124,7 @@ KviScriptEditorReplaceDialog::KviScriptEditorReplaceDialog( TQWidget* parent, co
+ emit initFind();
+ setPaletteForegroundColor( TQColor( 0, 0, 0 ) );
+ setPaletteBackgroundColor( TQColor( 236, 233, 216 ) );
+- TQGridLayout *tqlayout = new TQGridLayout( this, 1, 1, 11, 6, "replace tqlayout");
++ TQGridLayout *layout = new TQGridLayout( this, 1, 1, 11, 6, "replace layout");
+
+ m_pFindlineedit = new TQLineEdit( this, "findlineedit" );
+ #ifndef COMPILE_USE_QT4
+@@ -1133,14 +1133,14 @@ KviScriptEditorReplaceDialog::KviScriptEditorReplaceDialog( TQWidget* parent, co
+ m_pFindlineedit->setFrameShadow( TQLineEdit::Sunken );
+ #endif
+
+- tqlayout->addMultiCellWidget( m_pFindlineedit, 2, 2, 1, 2 );
++ layout->addMultiCellWidget( m_pFindlineedit, 2, 2, 1, 2 );
+
+ m_pReplacelineedit = new TQLineEdit( this, "replacelineedit" );
+ #ifndef COMPILE_USE_QT4
+ m_pReplacelineedit->setFrameShape( TQLineEdit::LineEditPanel );
+ m_pReplacelineedit->setFrameShadow( TQLineEdit::Sunken );
+ #endif
+- tqlayout->addMultiCellWidget( m_pReplacelineedit, 3, 3, 1, 2 );
++ layout->addMultiCellWidget( m_pReplacelineedit, 3, 3, 1, 2 );
+
+ m_pFindlineedit->setFocus();
+
+@@ -1150,36 +1150,36 @@ KviScriptEditorReplaceDialog::KviScriptEditorReplaceDialog( TQWidget* parent, co
+ findlabel->setAutoResize(true);
+ #endif
+
+- tqlayout->addWidget( findlabel, 2, 0 );
++ layout->addWidget( findlabel, 2, 0 );
+
+ TQLabel *replacelabel = new TQLabel( this, "replacelabel" );
+ replacelabel->setText(tr("Replace with"));
+ #ifndef COMPILE_USE_QT4
+ replacelabel->setAutoResize(true);
+ #endif
+- tqlayout->addWidget( replacelabel, 3, 0 );
++ layout->addWidget( replacelabel, 3, 0 );
+
+ TQPushButton *cancelbutton = new TQPushButton( this, "cancelButton" );
+ cancelbutton->setText(tr("&Cancel"));
+- tqlayout->addWidget( cancelbutton, 5, 2 );
++ layout->addWidget( cancelbutton, 5, 2 );
+
+ replacebutton = new TQPushButton( this, "replacebutton" );
+ replacebutton->setText(tr("&Replace"));
+ replacebutton->setEnabled( FALSE );
+- tqlayout->addWidget( replacebutton, 5, 0 );
++ layout->addWidget( replacebutton, 5, 0 );
+
+ checkReplaceAll = new KviStyledCheckBox( this, "replaceAll" );
+ checkReplaceAll->setText(tr("&Replace in all Aliases"));
+- tqlayout->addWidget( checkReplaceAll, 4, 0 );
++ layout->addWidget( checkReplaceAll, 4, 0 );
+
+ findNext = new TQPushButton(this, "findNext(WIP)" );
+ findNext->setText(tr("&Findnext"));
+- tqlayout->addWidget( findNext, 2, 3 );
++ layout->addWidget( findNext, 2, 3 );
+ findNext->setEnabled(false);
+
+ replace = new TQPushButton(this, "replace" );
+ replace->setText(tr("&Replace(WIP)"));
+- tqlayout->addWidget( replace, 3, 3 );
++ layout->addWidget( replace, 3, 3 );
+ replace->setEnabled(false);
+
+ #ifndef COMPILE_USE_QT4
+diff --git a/src/modules/file/libkvifile.cpp b/src/modules/file/libkvifile.cpp
+index 14ddad5..009340f 100644
+--- a/src/modules/file/libkvifile.cpp
++++ b/src/modules/file/libkvifile.cpp
+@@ -873,7 +873,7 @@ static bool file_kvs_fnc_readLines(KviKvsModuleFunctionCall * c)
+ @switches:
+ !sw: -l | --local-8-bit
+ Causes the lines to be saved in local 8 bit character set instead
+- of the default tqunicode encoding.
++ of the default unicode encoding.
+ !sw: -a | --append
+ If the file already exists, then the lines are appended to the end
+ instead of overwriting the file.
+diff --git a/src/modules/filetransferwindow/filetransferwindow.cpp b/src/modules/filetransferwindow/filetransferwindow.cpp
+index 9274946..0990e17 100644
+--- a/src/modules/filetransferwindow/filetransferwindow.cpp
++++ b/src/modules/filetransferwindow/filetransferwindow.cpp
+@@ -580,12 +580,12 @@ void KviFileTransferWindow::copyLocalFileToClipboard()
+ TQString tmp = t->localFileName();
+ if(tmp.isEmpty())return;
+ #ifdef COMPILE_USE_QT4
+- TQApplication::tqclipboard()->setText(tmp);
++ TQApplication::clipboard()->setText(tmp);
+ #else
+- TQApplication::tqclipboard()->setSelectionMode(false);
+- TQApplication::tqclipboard()->setText(tmp);
+- TQApplication::tqclipboard()->setSelectionMode(true);
+- TQApplication::tqclipboard()->setText(tmp);
++ TQApplication::clipboard()->setSelectionMode(false);
++ TQApplication::clipboard()->setText(tmp);
++ TQApplication::clipboard()->setSelectionMode(true);
++ TQApplication::clipboard()->setText(tmp);
+ #endif
+ }
+
+diff --git a/src/modules/help/helpwidget.cpp b/src/modules/help/helpwidget.cpp
+index c0f7f1c..96a7edb 100644
+--- a/src/modules/help/helpwidget.cpp
++++ b/src/modules/help/helpwidget.cpp
+@@ -138,7 +138,7 @@ TQSize KviHelpWidget::sizeHint() const
+
+ bool KviHelpWidget::eventFilter(TQObject * o, TQEvent *e)
+ {
+- TQClipboard *cb = TQApplication::tqclipboard();
++ TQClipboard *cb = TQApplication::clipboard();
+
+ if(e->type() == TQEvent::MouseButtonRelease) {
+ if(m_pTextBrowser->hasSelectedText()) {
+diff --git a/src/modules/help/index.cpp b/src/modules/help/index.cpp
+index 46dc4f2..d77e6fe 100755
+--- a/src/modules/help/index.cpp
++++ b/src/modules/help/index.cpp
+@@ -164,7 +164,7 @@ void Index::parseDocument( const TQString &filename, int docNum )
+ if (text.isNull())
+ return;
+ bool valid = TRUE;
+- const TQChar *buf = text.tqunicode();
++ const TQChar *buf = text.unicode();
+ TQChar str[64];
+ TQChar c = buf[0];
+ int j = 0;
+@@ -727,7 +727,7 @@ bool Index::searchForPattern( const TQStringList &patterns, const TQStringList &
+
+ bool valid = TRUE;
+
+- const TQChar *buf = text.tqunicode();
++ const TQChar *buf = text.unicode();
+
+ TQChar str[64];
+
+diff --git a/src/modules/list/listwindow.cpp b/src/modules/list/listwindow.cpp
+index acc6fd1..b7bd8bc 100644
+--- a/src/modules/list/listwindow.cpp
++++ b/src/modules/list/listwindow.cpp
+@@ -145,7 +145,7 @@ void KviChannelListViewItem::paintCell(TQPainter * p,const TQColorGroup &cg,int
+ if ( isEnabled() || !lv )
+ p->setPen( cg.text() );
+ else if ( !isEnabled() && lv)
+- p->setPen( lv->tqpalette().disabled().text() );
++ p->setPen( lv->palette().disabled().text() );
+ }
+
+ KviTopicWidget::paintColoredText(p,szText,cg,height(),width);
+diff --git a/src/modules/logview/logviewmdiwindow.cpp b/src/modules/logview/logviewmdiwindow.cpp
+index 55b3622..84a6711 100644
+--- a/src/modules/logview/logviewmdiwindow.cpp
++++ b/src/modules/logview/logviewmdiwindow.cpp
+@@ -90,67 +90,67 @@ KviLogViewMDIWindow::KviLogViewMDIWindow(KviModuleExtensionDescriptor * d,KviFra
+ m_pSearchTab = new TQWidget(m_pTabWidget);
+ m_pTabWidget->insertTab(m_pSearchTab,__tr2qs_ctx("Filter","logview"));
+
+- TQGridLayout *tqlayout = new TQGridLayout(m_pSearchTab,10,2,3,5);
++ TQGridLayout *layout = new TQGridLayout(m_pSearchTab,10,2,3,5);
+
+ m_pShowChannelsCheck = new KviStyledCheckBox(__tr2qs_ctx("Show channel logs","logview"),m_pSearchTab);
+ m_pShowChannelsCheck->setChecked(true);
+- tqlayout->addMultiCellWidget(m_pShowChannelsCheck,0,0,0,1);
++ layout->addMultiCellWidget(m_pShowChannelsCheck,0,0,0,1);
+
+ m_pShowQueryesCheck = new KviStyledCheckBox(__tr2qs_ctx("Show query logs","logview"),m_pSearchTab);
+ m_pShowQueryesCheck->setChecked(true);
+- tqlayout->addMultiCellWidget(m_pShowQueryesCheck,1,1,0,1);
++ layout->addMultiCellWidget(m_pShowQueryesCheck,1,1,0,1);
+
+ m_pShowConsolesCheck = new KviStyledCheckBox(__tr2qs_ctx("Show console logs","logview"),m_pSearchTab);
+ m_pShowConsolesCheck->setChecked(true);
+- tqlayout->addMultiCellWidget(m_pShowConsolesCheck,2,2,0,1);
++ layout->addMultiCellWidget(m_pShowConsolesCheck,2,2,0,1);
+
+ m_pShowDccChatCheck = new KviStyledCheckBox(__tr2qs_ctx("Show DCC chat logs","logview"),m_pSearchTab);
+ m_pShowDccChatCheck->setChecked(true);
+- tqlayout->addMultiCellWidget(m_pShowDccChatCheck,3,3,0,1);
++ layout->addMultiCellWidget(m_pShowDccChatCheck,3,3,0,1);
+
+ m_pShowOtherCheck = new KviStyledCheckBox(__tr2qs_ctx("Show other logs","logview"),m_pSearchTab);
+ m_pShowOtherCheck->setChecked(true);
+- tqlayout->addMultiCellWidget(m_pShowOtherCheck,4,4,0,1);
++ layout->addMultiCellWidget(m_pShowOtherCheck,4,4,0,1);
+
+ TQLabel *l;
+ l = new TQLabel(__tr2qs_ctx("Contents filter","logview"),m_pSearchTab);
+- tqlayout->addMultiCellWidget(l,5,5,0,1);
++ layout->addMultiCellWidget(l,5,5,0,1);
+
+ l = new TQLabel(__tr2qs_ctx("Log name mask:","logview"),m_pSearchTab);
+ m_pFileNameMask = new TQLineEdit(m_pSearchTab);
+ connect(m_pFileNameMask,TQT_SIGNAL(returnPressed()),this,TQT_SLOT(applyFilter()));
+- tqlayout->addWidget(l,6,0);
+- tqlayout->addWidget(m_pFileNameMask,6,1);
++ layout->addWidget(l,6,0);
++ layout->addWidget(m_pFileNameMask,6,1);
+
+ l = new TQLabel(__tr2qs_ctx("Log contents mask:","logview"),m_pSearchTab);
+ m_pContentsMask = new TQLineEdit(m_pSearchTab);
+ connect(m_pContentsMask,TQT_SIGNAL(returnPressed()),this,TQT_SLOT(applyFilter()));
+- tqlayout->addWidget(l,7,0);
+- tqlayout->addWidget(m_pContentsMask,7,1);
++ layout->addWidget(l,7,0);
++ layout->addWidget(m_pContentsMask,7,1);
+
+ m_pEnableFromFilter = new KviStyledCheckBox(__tr2qs_ctx("Only older than","logview"),m_pSearchTab);
+ m_pFromDateEdit = new TQDateEdit(m_pSearchTab);
+ m_pFromDateEdit->setDate(TQDate::currentDate());
+- tqlayout->addWidget(m_pEnableFromFilter,8,0);
+- tqlayout->addWidget(m_pFromDateEdit,8,1);
++ layout->addWidget(m_pEnableFromFilter,8,0);
++ layout->addWidget(m_pFromDateEdit,8,1);
+ connect(m_pEnableFromFilter,TQT_SIGNAL(toggled(bool)),m_pFromDateEdit,TQT_SLOT(setEnabled(bool)));
+ m_pFromDateEdit->setEnabled(false);
+
+ m_pEnableToFilter = new KviStyledCheckBox(__tr2qs_ctx("Only newier than","logview"),m_pSearchTab);
+ m_pToDateEdit = new TQDateEdit(m_pSearchTab);
+ m_pToDateEdit->setDate(TQDate::currentDate());
+- tqlayout->addWidget(m_pEnableToFilter,9,0);
+- tqlayout->addWidget(m_pToDateEdit,9,1);
++ layout->addWidget(m_pEnableToFilter,9,0);
++ layout->addWidget(m_pToDateEdit,9,1);
+ connect(m_pEnableToFilter,TQT_SIGNAL(toggled(bool)),m_pToDateEdit,TQT_SLOT(setEnabled(bool)));
+ m_pToDateEdit->setEnabled(false);
+
+ TQPushButton *pb = new TQPushButton(__tr2qs_ctx("Apply filter","logview"),m_pSearchTab);
+ connect(pb,TQT_SIGNAL(clicked()),this,TQT_SLOT(applyFilter()));
+- tqlayout->addWidget(pb,10,1);
++ layout->addWidget(pb,10,1);
+
+ TQWidget *w = new TQWidget(m_pSearchTab);
+ w->setSizePolicy(TQSizePolicy::Ignored,TQSizePolicy::Ignored);
+- tqlayout->addWidget(w,11,1);
++ layout->addWidget(w,11,1);
+
+ m_pIrcView = new KviIrcView(m_pSplitter,g_pFrame,this);
+ #ifdef COMPILE_USE_QT4
+diff --git a/src/modules/notifier/notifierwindow.h b/src/modules/notifier/notifierwindow.h
+index dfc9d6d..cbb2682 100644
+--- a/src/modules/notifier/notifierwindow.h
++++ b/src/modules/notifier/notifierwindow.h
+@@ -77,7 +77,7 @@ protected:
+ TQPixmap m_pixBackgroundHighlighted;
+ TQPixmap m_pixForeground; // we paint the stuff HERE
+
+- // Notifier graphic tqlayout
++ // Notifier graphic layout
+ TQPixmap m_pixBckgrnd;
+
+ TQImage m_imgBuffer; // here we merge the two images
+diff --git a/src/modules/objects/class_buttongroup.cpp b/src/modules/objects/class_buttongroup.cpp
+index 0a4f58a..96ecc40 100644
+--- a/src/modules/objects/class_buttongroup.cpp
++++ b/src/modules/objects/class_buttongroup.cpp
+@@ -48,8 +48,8 @@
+ @description:
+ This widget organizes buttons in a group.
+ It will be usually a parent for other child controls.
+- You can either use a child tqlayout to manage the children geometries
+- or use $setColumnLayout function to manage the tqlayout automatically.
++ You can either use a child layout to manage the children geometries
++ or use $setColumnLayout function to manage the layout automatically.
+ The class ineriths groupbox.
+
+ @functions:
+diff --git a/src/modules/objects/class_dockwindow.cpp b/src/modules/objects/class_dockwindow.cpp
+index 852db9d..c0942a6 100644
+--- a/src/modules/objects/class_dockwindow.cpp
++++ b/src/modules/objects/class_dockwindow.cpp
+@@ -49,11 +49,11 @@
+ [class]widget[/class]
+ @description:
+ A window dockable to the KVIrc main frame borders (like a toolbar).
+- The window has an implicit tqlayout that will automatically manage
++ The window has an implicit layout that will automatically manage
+ the children depending on the dock window's orientation.
+ @functions:
+ !fn: $addWidget(<widget:hobject>)
+- Adds <widget> to the internal tqlayout of this dock window.[br]
++ Adds <widget> to the internal layout of this dock window.[br]
+ The widget must be a child of this dock window (otherwise strange things may happen).
+ !fn: <string> $orientation()
+ Returns the string "vertical" or "horizontal" depending on the orientation of this dock window.
+diff --git a/src/modules/objects/class_groupbox.cpp b/src/modules/objects/class_groupbox.cpp
+index a1f5c11..7c01140 100644
+--- a/src/modules/objects/class_groupbox.cpp
++++ b/src/modules/objects/class_groupbox.cpp
+@@ -60,8 +60,8 @@ const int align_cod[] = {
+ @description:
+ This widget can be used to display a groupbox.
+ It will be usually a parent for other child controls.
+- You can either use a child tqlayout to manage the children geometries
+- or use $setColumnLayout to manage the tqlayout automatically.
++ You can either use a child layout to manage the children geometries
++ or use $setColumnLayout to manage the layout automatically.
+ @functions:
+ !fn: $setTitle(<text:String>)
+ Sets the group box title to <text>.
+@@ -96,7 +96,7 @@ const int align_cod[] = {
+ !fn: $setOrientation<orientation:string>
+ Sets the group box's orientation. Valid values are:Qt::Horizontal,Qt::Vertical.
+ !fn: $setColumnLayout(<columns:integer>,<orientation:string>)
+- Enables the automatic tqlayout management. The children are arranged in n columns with the specified orientation.[br]
++ Enables the automatic layout management. The children are arranged in n columns with the specified orientation.[br]
+ Valid values for <orientation> are:Qt::Horizontal,Qt::Vertical.
+ @examples:
+ [example]
+@@ -120,16 +120,16 @@ const int align_cod[] = {
+ %inputpass->$setechomode("password")[br]
+ [br]
+ #now lets' layouting the groupbox's element's.[br]
+- %layoutgb=$new(tqlayout,%gb)[br]
++ %layoutgb=$new(layout,%gb)[br]
+ %layoutgb->$setmargin(20)[br]
+ %layoutgb->$addwidget(%labeluser,0,0)[br]
+ %layoutgb->$addwidget(%labelpass,1,0)[br]
+ %layoutgb->$addwidget(%inputuser,0,1)[br]
+ %layoutgb->$addwidget(%inputpass,1,1)[br]
+ [br]
+- # now we create a fake widget and managing the two buttons tqlayout.[br]
++ # now we create a fake widget and managing the two buttons layout.[br]
+ %fakewidget=$new(widget,%widget)[br]
+- %layoutbtn=$new(tqlayout,%fakewidget)[br]
++ %layoutbtn=$new(layout,%fakewidget)[br]
+ %btnok=$new(button,%fakewidget)[br]
+ %btnok->$settext("OK")[br]
+ %btncancel=$new(button,%fakewidget)[br]
+@@ -137,13 +137,13 @@ const int align_cod[] = {
+ %layoutbtn->$addwidget(%btnok,0,0)[br]
+ %layoutbtn->$addwidget(%btncancel,0,1)[br]
+ [br]
+- #And finally we create a main tqlayout with the groupbox (and its "children")[br]
++ #And finally we create a main layout with the groupbox (and its "children")[br]
+ #and fakewiget (with its buttons children).
+- %maintqlayout=$new(tqlayout,%widget)[br]
+- %maintqlayout->$setspacing(10)[br]
+- %maintqlayout->$setmargin(10)[br]
+- %maintqlayout->$addwidget(%gb,0,0)[br]
+- %maintqlayout->$addwidget(%fakewidget,1,0)[br]
++ %mainlayout=$new(layout,%widget)[br]
++ %mainlayout->$setspacing(10)[br]
++ %mainlayout->$setmargin(10)[br]
++ %mainlayout->$addwidget(%gb,0,0)[br]
++ %mainlayout->$addwidget(%fakewidget,1,0)[br]
+ [br]
+ #Let's show our nice login request =D ! [br]
+ %widget->$show()[br]
+diff --git a/src/modules/objects/class_hbox.cpp b/src/modules/objects/class_hbox.cpp
+index 0f6ae24..21167be 100644
+--- a/src/modules/objects/class_hbox.cpp
++++ b/src/modules/objects/class_hbox.cpp
+@@ -44,7 +44,7 @@
+ !fn: $setSpacing(<spacing:uint>)
+ Sets the default spacing of the widgets in pixels
+ !fn: $setMargin(<margin:uint>)
+- Sets the dimension of the tqlayout margin : the distance from the border to the outermost child widget edges.
++ Sets the dimension of the layout margin : the distance from the border to the outermost child widget edges.
+ !fn: $setStretchFactor(<widget:hobject>,<stretch:uint>)
+ Sets the stretch factor of widget to stretch.
+ */
+diff --git a/src/modules/objects/class_layout.cpp b/src/modules/objects/class_layout.cpp
+index 5caac1d..7b2d252 100644
+--- a/src/modules/objects/class_layout.cpp
++++ b/src/modules/objects/class_layout.cpp
+@@ -40,11 +40,11 @@
+
+
+ /*
+- @doc: tqlayout
++ @doc: layout
+ @keyterms:
+- tqlayout object class, child widgets
++ layout object class, child widgets
+ @title:
+- tqlayout class
++ layout class
+ @type:
+ class
+ @short:
+@@ -52,25 +52,25 @@
+ @inherits:
+ [class]object[/class]
+ @description:
+- The tqlayout is a geometry management tool for child widgets.
+- You create a tqlayout , give it some widgets to manage and it will tqlayout them
++ The layout is a geometry management tool for child widgets.
++ You create a layout , give it some widgets to manage and it will layout them
+ automatically.[br]
+- The parent of the tqlayout must be the widget for which child widget geometries have to be managed.
+- A tqlayout is a grid of NxM cells in which you insert child widgets with [classfnc:tqlayout]$addWidget[/classfnc]().[br]
+- Widgets that must span multiple cells can be added to the tqlayout with [classfnc:tqlayout]$addMultiCellWidget[/classfnc]().[br]
++ The parent of the layout must be the widget for which child widget geometries have to be managed.
++ A layout is a grid of NxM cells in which you insert child widgets with [classfnc:layout]$addWidget[/classfnc]().[br]
++ Widgets that must span multiple cells can be added to the layout with [classfnc:layout]$addMultiCellWidget[/classfnc]().[br]
+ @functions:
+ !fn: $addWidget(<widget:object widget>,<row:uint>,<column:uint>)
+- Adds a widget to this tqlayout placing it at position <row>,<column> in the grid
++ Adds a widget to this layout placing it at position <row>,<column> in the grid
+ !fn: $addMultiCellWidget(<widget:object widget>,<start_row:uint>,<end_row:uint>,<start_col:uint>,<end_col:uint>)
+- Adds a widget to this tqlayout spanning multiple grid cells
++ Adds a widget to this layout spanning multiple grid cells
+ !fn: $setRowStretch(<row:uint>,<stretch:uint>)
+- Sets the stretch value for a particular row of this tqlayout. The <stretch_value>
++ Sets the stretch value for a particular row of this layout. The <stretch_value>
+ must be a positive integer. The rows with bigger stretch values will take more space
+- in the tqlayout.
++ in the layout.
+ !fn: $setColStretch(<column:uint>,<stretch:uint>)
+- Sets the stretch value for a particular column in this tqlayout. The <stretch_value>
++ Sets the stretch value for a particular column in this layout. The <stretch_value>
+ must be a positive integer. The rows with bigger stretch values will take more space
+- in the tqlayout.
++ in the layout.
+ !fn: $addRowSpacing(<row:uint>,<spacing:uint>)
+ Sets the minimum height of the specified <row> to <spacing> which must be a positive integer
+ !fn: $addColSpacing(<column:uint>,<spacing:uint>)
+@@ -78,18 +78,18 @@
+ !fn: $setSpacing(<spacing:uint>)
+ Sets the default spacing of the widgets in pixels
+ !fn: $setMargin(<margin:uint>)
+- Sets the dimension of the tqlayout margin : the distance from the border to the outermost child widget edges.
++ Sets the dimension of the layout margin : the distance from the border to the outermost child widget edges.
+ !fn: $setResizeMode(<resize_mode:string>)
+- Sets the resize mode of the parent widget in relation to this tqlayout.
++ Sets the resize mode of the parent widget in relation to this layout.
+ <mode> can be one of:[br]
+ -Auto: this is the default[br]
+- -Fixed: the parent widget of this tqlayout is resized to the "sizeHint" value and it cannot be resized by the user.[br]
+- -Minimum: the minimum size of the parent widget of this tqlayout is set to minimumSize() and it cannot be smaller[br]
+- -FreeResize: the parent widget of this tqlayout is not constrained at all[br]
++ -Fixed: the parent widget of this layout is resized to the "sizeHint" value and it cannot be resized by the user.[br]
++ -Minimum: the minimum size of the parent widget of this layout is set to minimumSize() and it cannot be smaller[br]
++ -FreeResize: the parent widget of this layout is not constrained at all[br]
+ */
+
+
+-KVSO_BEGIN_REGISTERCLASS(KviKvsObject_layout,"tqlayout","object")
++KVSO_BEGIN_REGISTERCLASS(KviKvsObject_layout,"layout","object")
+ KVSO_REGISTER_HANDLER(KviKvsObject_layout,"addWidget", functionAddWidget)
+ KVSO_REGISTER_HANDLER(KviKvsObject_layout,"addMultiCellWidget", functionAddMultiCellWidget)
+ KVSO_REGISTER_HANDLER(KviKvsObject_layout,"setRowStretch", functionSetRowStretch)
+@@ -116,7 +116,7 @@ bool KviKvsObject_layout::init(KviKvsRunTimeContext * pContext,KviKvsVariantList
+
+ if(!w)
+ {
+- pContext->warning(__tr2qs("The parent of a tqlayout must be a widget!"));
++ pContext->warning(__tr2qs("The parent of a layout must be a widget!"));
+ return false;
+ }
+ setObject(TQT_TQOBJECT(new TQGridLayout(w)));
+diff --git a/src/modules/objects/class_painter.cpp b/src/modules/objects/class_painter.cpp
+index 81cc3f6..0949945 100644
+--- a/src/modules/objects/class_painter.cpp
++++ b/src/modules/objects/class_painter.cpp
+@@ -323,7 +323,7 @@
+ }[br]
+ }[br]
+ [br]
+- %lay=$new(tqlayout,%Hello)[br]
++ %lay=$new(layout,%Hello)[br]
+ %lay->$addwidget(%Btn,4,0)[br]
+ %Hello->$setBackgroundColor("000000");[br]
+ %Hello->$setmaximumwidth(800)[br]
+diff --git a/src/modules/objects/class_popupmenu.cpp b/src/modules/objects/class_popupmenu.cpp
+index 8f1afd7..cb9c3bb 100644
+--- a/src/modules/objects/class_popupmenu.cpp
++++ b/src/modules/objects/class_popupmenu.cpp
+@@ -89,7 +89,7 @@
+ {[br]
+ #Geometry of the widget and setting-up of popupmenu [br]
+ $$->$setGeometry(%X,%Y,100,100)[br]
+- $$->%lay=$new(tqlayout,$$)[br]
++ $$->%lay=$new(layout,$$)[br]
+ #Here we generate a cicle to create our labels inside the widget.[br]
+ %i=0[br]
+ while (%i<10)[br]
+diff --git a/src/modules/objects/class_process.cpp b/src/modules/objects/class_process.cpp
+index 9ec6cc5..1c45ed4 100644
+--- a/src/modules/objects/class_process.cpp
++++ b/src/modules/objects/class_process.cpp
+@@ -82,7 +82,7 @@
+ %tt=$new(test)[br]
+ %A=$new(widget)[br]
+ %A->$setGeometry(100,100,400,300)[br]
+- %layoutA=$new(tqlayout,%A)[br]
++ %layoutA=$new(layout,%A)[br]
+ %Ainput=$new(lineedit,%A)[br]
+ #%Aoutput=$new(textedit,%A)// coming soon in the new texteditor class[br]
+ %Aoutput=$new(label,%A)[br]
+diff --git a/src/modules/objects/class_tabwidget.cpp b/src/modules/objects/class_tabwidget.cpp
+index fc22188..3b76821 100644
+--- a/src/modules/objects/class_tabwidget.cpp
++++ b/src/modules/objects/class_tabwidget.cpp
+@@ -94,7 +94,7 @@
+ %secondtab=$new(widget,%Tabwidget)
+
+ # Now we'll create the item to put in to tab's pages.
+- %layoutfirsttab=$new(tqlayout,%firsttab)
++ %layoutfirsttab=$new(layout,%firsttab)
+ %labelbt=$new(label,%firsttab)
+ %labelbt->$settext(Botton Tab)
+ %labeltt=$new(label,%firsttab)
+@@ -104,7 +104,7 @@
+ %buttontt=$new(button,%firsttab)
+ %buttontt->$settext("To &Top")
+
+- # Now we'll give a tqlayout to all items.
++ # Now we'll give a layout to all items.
+ # This also allows to use privateimpl without making buttons global variables
+ %layoutfirsttab->$addwidget(%labelbt,0,0)
+ %layoutfirsttab->$addwidget(%labeltt,0,1)
+@@ -125,7 +125,7 @@
+ }
+
+ # We do the same work with the second tab's page.
+- %layoutsecondtab=$new(tqlayout,%secondtab)
++ %layoutsecondtab=$new(layout,%secondtab)
+ %labelwp=$new(label,%secondtab)
+ %labelwp->$settext("Enjoy the new Class provided by")
+ %layoutsecondtab->$addwidget(%labelwp,0,0)
+diff --git a/src/modules/objects/class_vbox.cpp b/src/modules/objects/class_vbox.cpp
+index bfc8014..0019f00 100644
+--- a/src/modules/objects/class_vbox.cpp
++++ b/src/modules/objects/class_vbox.cpp
+@@ -44,7 +44,7 @@
+ !fn: $setSpacing(<spacing:int>)
+ Sets the default spacing of the widgets in pixels
+ !fn: $setMargin(<margin:int>)
+- Sets the dimension of the tqlayout margin : the distance from the border to the outermost child widget edges.
++ Sets the dimension of the layout margin : the distance from the border to the outermost child widget edges.
+ !fn: $setStretchFactor(<widget:hobject>,<stretch:uint>)
+ Sets the stretch factor of widget to stretch.
+ */
+diff --git a/src/modules/objects/class_widget.cpp b/src/modules/objects/class_widget.cpp
+index 83d5608..644999a 100644
+--- a/src/modules/objects/class_widget.cpp
++++ b/src/modules/objects/class_widget.cpp
+@@ -167,19 +167,19 @@ const int widgettypes_cod[] = {
+ !fn: $setMinimumWidth(<value>)
+ Sets the minimum width of this widget to <value>.
+ The user will not be able to resize the widget to a smaller
+- value. This value is also used by the [class:tqlayout]tqlayout class[/class].
++ value. This value is also used by the [class:layout]layout class[/class].
+ !fn: $setMinimumHeight(<value>)
+ Sets the minimum height of this widget to <value>.
+ The user will not be able to resize the widget to a smaller
+- value. This value is also used by the [class:tqlayout]tqlayout class[/class].
++ value. This value is also used by the [class:layout]layout class[/class].
+ !fn: $setMaximumWidth(<value>)
+ Sets the maximum width of this widget to <value>.
+ The user will not be able to resize the widget to a bigger
+- value. This value is also used by the [class:tqlayout]tqlayout class[/class].
++ value. This value is also used by the [class:layout]layout class[/class].
+ !fn: $setMaximumHeight(<value>)
+ Sets the maximum height of this widget to <value>.
+ The user will not be able to resize the widget to a bigger
+- value. This value is also used by the [class:tqlayout]tqlayout class[/class].
++ value. This value is also used by the [class:layout]layout class[/class].
+ !fn: $move(<x_or_array>[,<y>])
+ Moves this widget to the coordinate <x> and <y> relative to its
+ parent widget (or the desktop if this widget is a toplevel one).
+@@ -1616,7 +1616,7 @@ bool KviKvsObject_widget::function_addWidgetToWrappedLayout(KviKvsObjectFunction
+ c->warning(__tr2qs("Widget parameter is not a valid object"));
+ return true;
+ }
+- TQLayout *lay=widget()->tqlayout();
++ TQLayout *lay=widget()->layout();
+ if (!lay)
+ {
+ c->warning(__tr2qs("No Layout associated to the widget "));
+diff --git a/src/modules/objects/class_workspace.cpp b/src/modules/objects/class_workspace.cpp
+index 4809277..4f17802 100644
+--- a/src/modules/objects/class_workspace.cpp
++++ b/src/modules/objects/class_workspace.cpp
+@@ -110,7 +110,7 @@
+ constructor[br]
+ {[br]
+ $$->$setGeometry(%X,%Y,100,100)[br]
+- $$->%lay=$new(tqlayout,$$)[br]
++ $$->%lay=$new(layout,$$)[br]
+ %i=0[br]
+ while (%i<10)[br]
+ {[br]
+diff --git a/src/modules/options/dialog.cpp b/src/modules/options/dialog.cpp
+index 4f1dedf..7eab580 100644
+--- a/src/modules/options/dialog.cpp
++++ b/src/modules/options/dialog.cpp
+@@ -70,7 +70,7 @@ KviGeneralOptionsFrontWidget::KviGeneralOptionsFrontWidget(TQWidget *parent,cons
+ l->setWordWrap(true);
+ #endif
+ l->setAlignment(TQt::AlignTop);
+- tqlayout()->addWidget(l,0,0);
++ layout()->addWidget(l,0,0);
+ }
+
+ KviGeneralOptionsFrontWidget::~KviGeneralOptionsFrontWidget()
+diff --git a/src/modules/options/optw_antispam.cpp b/src/modules/options/optw_antispam.cpp
+index 43cc13e..770db33 100644
+--- a/src/modules/options/optw_antispam.cpp
++++ b/src/modules/options/optw_antispam.cpp
+@@ -47,7 +47,7 @@ KviAntispamOptionsWidget::KviAntispamOptionsWidget(TQWidget * parent)
+
+ reenableStuff(true);
+
+- tqlayout()->setRowStretch(2,1);
++ layout()->setRowStretch(2,1);
+ }
+
+ KviAntispamOptionsWidget::~KviAntispamOptionsWidget()
+diff --git a/src/modules/options/optw_identity.cpp b/src/modules/options/optw_identity.cpp
+index 57b67a4..e403dae 100644
+--- a/src/modules/options/optw_identity.cpp
++++ b/src/modules/options/optw_identity.cpp
+@@ -311,7 +311,7 @@ KviIdentityGeneralOptionsWidget::KviIdentityGeneralOptionsWidget(TQWidget * pare
+
+
+ createLayout(3,1);
+- tqlayout()->setMargin(10);
++ layout()->setMargin(10);
+
+ KviTalGroupBox * gbox = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("Basic Properties","options"));
+ KviTalHBox * hb = new KviTalHBox(gbox);
+@@ -492,7 +492,7 @@ KviIdentityAvatarOptionsWidget::KviIdentityAvatarOptionsWidget(TQWidget * parent
+ : KviOptionsWidget(parent)
+ {
+ createLayout(4,1);
+- tqlayout()->setMargin(10);
++ layout()->setMargin(10);
+
+ m_pLocalAvatar = new KviPixmap(KVI_OPTION_PIXMAP(KviOption_pixmapMyAvatar));
+
+@@ -540,7 +540,7 @@ KviIdentityAvatarOptionsWidget::KviIdentityAvatarOptionsWidget(TQWidget * parent
+
+ connect(m_pChooseAvatarButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(chooseAvatar()));
+
+- tqlayout()->setRowStretch(1,2);
++ layout()->setRowStretch(1,2);
+ }
+
+ KviIdentityAvatarOptionsWidget::~KviIdentityAvatarOptionsWidget()
+@@ -678,7 +678,7 @@ KviIdentityAdvancedOptionsWidget::KviIdentityAdvancedOptionsWidget(TQWidget * pa
+
+
+ createLayout(2,1);
+- tqlayout()->setMargin(10);
++ layout()->setMargin(10);
+
+ KviTalGroupBox * gbox = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("User Mode","options"));
+ m_pISelector = addBoolSelector(gbox,__tr2qs_ctx("Invisible (+i)","options"),&m_bI);
+diff --git a/src/modules/options/optw_input.cpp b/src/modules/options/optw_input.cpp
+index c1ad6e8..1153365 100644
+--- a/src/modules/options/optw_input.cpp
++++ b/src/modules/options/optw_input.cpp
+@@ -92,7 +92,7 @@ KviInputLookOptionsWidget::KviInputLookOptionsWidget(TQWidget * parent)
+ }
+
+
+- tqlayout()->setRowStretch(7,1);
++ layout()->setRowStretch(7,1);
+ }
+
+ KviInputLookOptionsWidget::~KviInputLookOptionsWidget()
+diff --git a/src/modules/options/optw_interfacelookglobal.cpp b/src/modules/options/optw_interfacelookglobal.cpp
+index 1e2c998..e5d0cd5 100644
+--- a/src/modules/options/optw_interfacelookglobal.cpp
++++ b/src/modules/options/optw_interfacelookglobal.cpp
+@@ -104,13 +104,13 @@ KviThemeTransparencyOptionsWidget::KviThemeTransparencyOptionsWidget(TQWidget *
+
+ m_pGlobalBackgroundPixmapSelector = addPixmapSelector(0,6,1,6,__tr2qs_ctx("Transparency blend image:","options"),KviOption_pixmapGlobalTransparencyBackground,
+ KVI_OPTION_BOOL(KviOption_boolUseGlobalPseudoTransparency) && !KVI_OPTION_BOOL(KviOption_boolObtainGlobalBackgroundFromKde));
+- tqlayout()->setRowStretch(6,1);
++ layout()->setRowStretch(6,1);
+ connect(m_pObtainBackgroundFromKdeBoolSelector,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(enableGlobalBackgroundPixmapSelector(bool)));
+
+ #else //!COMPILE_KDE_SUPPORT
+ m_pGlobalBackgroundPixmapSelector = addPixmapSelector(0,4,1,4,__tr2qs_ctx("Transparency blend image:","options"),KviOption_pixmapGlobalTransparencyBackground,
+ KVI_OPTION_BOOL(KviOption_boolUseGlobalPseudoTransparency));
+- tqlayout()->setRowStretch(4,1);
++ layout()->setRowStretch(4,1);
+ #endif //!COMPILE_KDE_SUPPORT
+ connect(m_pUseTransparencyBoolSelector,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(enableGlobalBackgroundPixmapSelector(bool)));
+ connect(m_pUseTransparencyBoolSelector,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(enableUpdateKdeBackgroundBoolSelector(bool)));
+@@ -177,7 +177,7 @@ KviThemeMdiAreaOptionsWidget::KviThemeMdiAreaOptionsWidget(TQWidget * parent)
+ addColorSelector(0,0,0,0,__tr2qs_ctx("Background","options"),KviOption_colorMdiBackground);
+ addPixmapSelector(0,1,0,1,__tr2qs_ctx("Background Image","options"),KviOption_pixmapMdiBackground);
+
+- tqlayout()->setRowStretch(1,1);
++ layout()->setRowStretch(1,1);
+ }
+
+ KviThemeMdiAreaOptionsWidget::~KviThemeMdiAreaOptionsWidget()
+@@ -204,7 +204,7 @@ KviThemeToolBarAppletsOptionsWidget::KviThemeToolBarAppletsOptionsWidget(TQWidge
+
+ addPixmapSelector(0,8,0,8,__tr2qs_ctx("Background Image","options"),KviOption_pixmapIrcToolBarAppletBackground);
+
+- tqlayout()->setRowStretch(8,1);
++ layout()->setRowStretch(8,1);
+ }
+
+ KviThemeToolBarAppletsOptionsWidget::~KviThemeToolBarAppletsOptionsWidget()
+diff --git a/src/modules/options/optw_ircview.cpp b/src/modules/options/optw_ircview.cpp
+index 4bb80f5..52f7cec 100644
+--- a/src/modules/options/optw_ircview.cpp
++++ b/src/modules/options/optw_ircview.cpp
+@@ -98,7 +98,7 @@ KviIrcViewLookOptionsWidget::KviIrcViewLookOptionsWidget(TQWidget * parent)
+ m_pVerticalAlign->setCurrentItem(0);
+ }
+
+- tqlayout()->setRowStretch(2,1);
++ layout()->setRowStretch(2,1);
+ }
+
+ KviIrcViewLookOptionsWidget::~KviIrcViewLookOptionsWidget()
+diff --git a/src/modules/options/optw_mediatypes.cpp b/src/modules/options/optw_mediatypes.cpp
+index b93081e..c4fb694 100644
+--- a/src/modules/options/optw_mediatypes.cpp
++++ b/src/modules/options/optw_mediatypes.cpp
+@@ -77,72 +77,72 @@ KviMediaTypesOptionsWidget::KviMediaTypesOptionsWidget(TQWidget * parent)
+
+ connect(m_pListView,TQT_SIGNAL(currentChanged(KviTalListViewItem *)),this,TQT_SLOT(currentItemChanged(KviTalListViewItem *)));
+
+- tqlayout()->addMultiCellWidget(m_pListView,0,0,0,2);
++ layout()->addMultiCellWidget(m_pListView,0,0,0,2);
+
+ TQLabel * l = new TQLabel(__tr2qs_ctx("Description:","options"),this);
+- tqlayout()->addWidget(l,1,0);
++ layout()->addWidget(l,1,0);
+ m_pDescription = new TQLineEdit(this);
+- tqlayout()->addMultiCellWidget(m_pDescription,1,1,1,2);
++ layout()->addMultiCellWidget(m_pDescription,1,1,1,2);
+
+ l = new TQLabel(__tr2qs_ctx("MIME type:","options"),this);
+- tqlayout()->addWidget(l,2,0);
++ layout()->addWidget(l,2,0);
+ m_pIanaType = new TQLineEdit(this);
+- tqlayout()->addMultiCellWidget(m_pIanaType,2,2,1,2);
++ layout()->addMultiCellWidget(m_pIanaType,2,2,1,2);
+
+ l = new TQLabel(__tr2qs_ctx("File pattern:","options"),this);
+- tqlayout()->addWidget(l,3,0);
++ layout()->addWidget(l,3,0);
+ m_pFileMask = new TQLineEdit(this);
+- tqlayout()->addMultiCellWidget(m_pFileMask,3,3,1,2);
++ layout()->addMultiCellWidget(m_pFileMask,3,3,1,2);
+
+ l = new TQLabel(__tr2qs_ctx("Magic bytes:","options"),this);
+- tqlayout()->addWidget(l,4,0);
++ layout()->addWidget(l,4,0);
+ m_pMagicBytes = new TQLineEdit(this);
+- tqlayout()->addMultiCellWidget(m_pMagicBytes,4,4,1,2);
++ layout()->addMultiCellWidget(m_pMagicBytes,4,4,1,2);
+
+ l = new TQLabel(__tr2qs_ctx("Save path:","options"),this);
+- tqlayout()->addWidget(l,5,0);
++ layout()->addWidget(l,5,0);
+ m_pSavePath = new TQLineEdit(this);
+- tqlayout()->addMultiCellWidget(m_pSavePath,5,5,1,2);
++ layout()->addMultiCellWidget(m_pSavePath,5,5,1,2);
+
+ l = new TQLabel(__tr2qs_ctx("Local open command:","options"),this);
+- tqlayout()->addWidget(l,6,0);
++ layout()->addWidget(l,6,0);
+ m_pCommandline = new TQLineEdit(this);
+- tqlayout()->addMultiCellWidget(m_pCommandline,6,6,1,2);
++ layout()->addMultiCellWidget(m_pCommandline,6,6,1,2);
+ #ifdef COMPILE_INFO_TIPS
+ mergeTip(m_pCommandline,__tr2qs_ctx("<center>This field contains the command to execute to open a local file.<br>" \
+ "<tt>$0</tt> is used in place of the filename</center>","options"));
+ #endif
+
+ l = new TQLabel(__tr2qs_ctx("Remote open command:","options"),this);
+- tqlayout()->addWidget(l,7,0);
++ layout()->addWidget(l,7,0);
+ m_pRemoteExecCommandline = new TQLineEdit(this);
+- tqlayout()->addMultiCellWidget(m_pRemoteExecCommandline,7,7,1,2);
++ layout()->addMultiCellWidget(m_pRemoteExecCommandline,7,7,1,2);
+ #ifdef COMPILE_INFO_TIPS
+ mergeTip(m_pRemoteExecCommandline,__tr2qs_ctx("<center>This field contains the command to execute when automatically opening a received file.<br>" \
+ "<tt>$0</tt> is used in place of the filename</center>","options"));
+ #endif
+
+ l = new TQLabel(__tr2qs_ctx("Icon","options"),this);
+- tqlayout()->addWidget(l,8,0);
++ layout()->addWidget(l,8,0);
+ m_pIcon = new TQLineEdit(this);
+- tqlayout()->addMultiCellWidget(m_pIcon,8,8,1,2);
++ layout()->addMultiCellWidget(m_pIcon,8,8,1,2);
+
+ TQFrame * f = new TQFrame(this);
+ f->setFrameStyle(TQFrame::Sunken | TQFrame::HLine);
+- tqlayout()->addMultiCellWidget(f,9,9,0,2);
++ layout()->addMultiCellWidget(f,9,9,0,2);
+
+ TQPushButton * b = new TQPushButton(__tr2qs_ctx("&New","options"),this);
+ connect(b,TQT_SIGNAL(clicked()),this,TQT_SLOT(newMediaType()));
+- tqlayout()->addWidget(b,10,1);
++ layout()->addWidget(b,10,1);
+
+ m_pDelete = new TQPushButton(__tr2qs_ctx("Re&move","options"),this);
+ connect(m_pDelete,TQT_SIGNAL(clicked()),this,TQT_SLOT(delMediaType()));
+- tqlayout()->addWidget(m_pDelete,10,2);
++ layout()->addWidget(m_pDelete,10,2);
+
+
+- tqlayout()->setColStretch(1,1);
+- tqlayout()->setColStretch(2,1);
+- tqlayout()->setRowStretch(0,1);
++ layout()->setColStretch(1,1);
++ layout()->setColStretch(2,1);
++ layout()->setRowStretch(0,1);
+
+ m_pLastItem = 0;
+
+diff --git a/src/modules/options/optw_messages.cpp b/src/modules/options/optw_messages.cpp
+index 568499a..0a8e70b 100644
+--- a/src/modules/options/optw_messages.cpp
++++ b/src/modules/options/optw_messages.cpp
+@@ -186,7 +186,7 @@ KviStandardColorsOptionsWidget::KviStandardColorsOptionsWidget(TQWidget * parent
+
+ addRowSpacer(0,4,3,4);
+
+- tqlayout()->setRowStretch(4,1);
++ layout()->setRowStretch(4,1);
+ }
+
+ KviStandardColorsOptionsWidget::~KviStandardColorsOptionsWidget()
+@@ -464,8 +464,8 @@ KviMessageColorsOptionsWidget::KviMessageColorsOptionsWidget(TQWidget * parent)
+ it = new KviMessageListViewItem(m_pListView,i);
+ }
+
+- tqlayout()->setRowStretch(0,1);
+- tqlayout()->setColStretch(0,1);
++ layout()->setRowStretch(0,1);
++ layout()->setColStretch(0,1);
+
+ connect(m_pListView,TQT_SIGNAL(selectionChanged(KviTalListViewItem *)),this,TQT_SLOT(itemChanged(KviTalListViewItem *)));
+ connect(m_pForeListBox,TQT_SIGNAL(selectionChanged(KviTalListBoxItem *)),this,TQT_SLOT(colorChanged(KviTalListBoxItem *)));
+diff --git a/src/modules/options/optw_nickserv.cpp b/src/modules/options/optw_nickserv.cpp
+index 19a7683..612627f 100644
+--- a/src/modules/options/optw_nickserv.cpp
++++ b/src/modules/options/optw_nickserv.cpp
+@@ -236,7 +236,7 @@ KviNickServOptionsWidget::KviNickServOptionsWidget(TQWidget * parent)
+ {
+ createLayout(3,3);
+
+- TQGridLayout * gl = tqlayout();
++ TQGridLayout * gl = layout();
+
+ KviNickServRuleSet * rs = g_pNickServRuleSet;
+ bool bNickServEnabled = rs ? (rs->isEnabled() && !rs->isEmpty()) : false;
+diff --git a/src/modules/options/optw_proxy.cpp b/src/modules/options/optw_proxy.cpp
+index f5db325..aa9ceda 100644
+--- a/src/modules/options/optw_proxy.cpp
++++ b/src/modules/options/optw_proxy.cpp
+@@ -104,7 +104,7 @@ KviProxyOptionsWidget::KviProxyOptionsWidget(TQWidget * parent)
+
+
+ KviTalGroupBox * gbox = addGroupBox(0,2,1,2,2,Qt::Horizontal,__tr2qs_ctx("Configuration","options"),this);
+- //TQGridLayout * gl = new TQGridLayout(gbox->tqlayout());
++ //TQGridLayout * gl = new TQGridLayout(gbox->layout());
+ //gl->setMargin(2);
+ //gl->setSpacing(4);
+
+@@ -147,8 +147,8 @@ KviProxyOptionsWidget::KviProxyOptionsWidget(TQWidget * parent)
+
+ fillProxyList();
+
+- tqlayout()->setRowStretch(0,1);
+- tqlayout()->setColStretch(0,1);
++ layout()->setRowStretch(0,1);
++ layout()->setColStretch(0,1);
+
+ m_pContextPopup = new KviTalPopupMenu(this);
+
+diff --git a/src/modules/options/optw_servers.cpp b/src/modules/options/optw_servers.cpp
+index 2c26ac5..3706f10 100644
+--- a/src/modules/options/optw_servers.cpp
++++ b/src/modules/options/optw_servers.cpp
+@@ -1192,10 +1192,10 @@ KviServerOptionsWidget::KviServerOptionsWidget(TQWidget * parent)
+
+ fillServerList();
+
+- tqlayout()->setRowStretch(0,1);
+- //tqlayout()->setColStretch(1,5);
+- //tqlayout()->setColStretch(2,2);
+- tqlayout()->setColStretch(0,1);
++ layout()->setRowStretch(0,1);
++ //layout()->setColStretch(1,5);
++ //layout()->setColStretch(2,2);
++ layout()->setColStretch(0,1);
+ setMinimumWidth(320);
+ }
+
+diff --git a/src/modules/options/optw_taskbar.cpp b/src/modules/options/optw_taskbar.cpp
+index 201766c..0c85ea7 100644
+--- a/src/modules/options/optw_taskbar.cpp
++++ b/src/modules/options/optw_taskbar.cpp
+@@ -161,7 +161,7 @@ KviTreeTaskBarBackgroundOptionsWidget::KviTreeTaskBarBackgroundOptionsWidget(TQW
+ m_pVerticalAlign->setCurrentItem(0);
+ }
+
+- tqlayout()->setRowStretch(1,1);
++ layout()->setRowStretch(1,1);
+ }
+
+
+diff --git a/src/modules/options/optw_texticons.cpp b/src/modules/options/optw_texticons.cpp
+index 7f86182..bbd2290 100644
+--- a/src/modules/options/optw_texticons.cpp
++++ b/src/modules/options/optw_texticons.cpp
+@@ -160,14 +160,14 @@ KviTextIconsOptionsWidget::KviTextIconsOptionsWidget(TQWidget * parent)
+ ++it;
+ }
+
+- tqlayout()->addMultiCellWidget(m_pTable,0,0,0,1);
++ layout()->addMultiCellWidget(m_pTable,0,0,0,1);
+
+ m_pAdd = new TQPushButton(__tr2qs_ctx("Add","options"),this);
+- tqlayout()->addWidget(m_pAdd,1,0);
++ layout()->addWidget(m_pAdd,1,0);
+ connect(m_pAdd,TQT_SIGNAL(clicked()),this,TQT_SLOT(addClicked()));
+
+ m_pDel = new TQPushButton(__tr2qs_ctx("Delete","options"),this);
+- tqlayout()->addWidget(m_pDel,1,1);
++ layout()->addWidget(m_pDel,1,1);
+ connect(m_pDel,TQT_SIGNAL(clicked()),this,TQT_SLOT(delClicked()));
+
+ m_pDel->setEnabled(false);
+diff --git a/src/modules/options/optw_topiclabel.cpp b/src/modules/options/optw_topiclabel.cpp
+index ec076da..904eeae 100644
+--- a/src/modules/options/optw_topiclabel.cpp
++++ b/src/modules/options/optw_topiclabel.cpp
+@@ -33,7 +33,7 @@ KviTopicLabelLookOptionsWidget::KviTopicLabelLookOptionsWidget(TQWidget *p):KviO
+ addColorSelector(0, 2, 0, 2, __tr2qs_ctx("Background color","options"), KviOption_colorLabelBackground);
+ addPixmapSelector(0, 3, 0, 3, __tr2qs_ctx("Background image","options"), KviOption_pixmapLabelBackground);
+
+- tqlayout()->setRowStretch(3, 1);
++ layout()->setRowStretch(3, 1);
+ }
+
+ KviTopicLabelLookOptionsWidget::~KviTopicLabelLookOptionsWidget()
+diff --git a/src/modules/options/optw_userlist.cpp b/src/modules/options/optw_userlist.cpp
+index 9785cf2..595db91 100644
+--- a/src/modules/options/optw_userlist.cpp
++++ b/src/modules/options/optw_userlist.cpp
+@@ -178,8 +178,8 @@ KviUserListLookBackgroundOptionsWidget::KviUserListLookBackgroundOptionsWidget(T
+
+
+
+- //tqlayout()->setColStretch(0,1);
+- tqlayout()->setRowStretch(1,1);
++ //layout()->setColStretch(0,1);
++ layout()->setRowStretch(1,1);
+ }
+
+ KviUserListLookBackgroundOptionsWidget::~KviUserListLookBackgroundOptionsWidget()
+diff --git a/src/modules/reguser/edituser.cpp b/src/modules/reguser/edituser.cpp
+index 9fb7f61..115cf4b 100644
+--- a/src/modules/reguser/edituser.cpp
++++ b/src/modules/reguser/edituser.cpp
+@@ -460,25 +460,25 @@ KviRegisteredUserEntryDialog::KviRegisteredUserEntryDialog(TQWidget *p,KviRegist
+ TQGroupBox * gb = new TQGroupBox(__tr2qs("Ignore features"),vb);
+ connect(m_pIgnoreEnabled,TQT_SIGNAL(toggled(bool)),gb,TQT_SLOT(setEnabled(bool)));
+
+- TQVBoxLayout * tqlayout = new TQVBoxLayout(gb,20,3);
++ TQVBoxLayout * layout = new TQVBoxLayout(gb,20,3);
+
+ m_pIgnoreQuery = new KviStyledCheckBox(__tr2qs("Ignore query-messages"),gb);
+- tqlayout->addWidget(m_pIgnoreQuery);
++ layout->addWidget(m_pIgnoreQuery);
+
+ m_pIgnoreChannel = new KviStyledCheckBox(__tr2qs("Ignore channel-messages"),gb);
+- tqlayout->addWidget(m_pIgnoreChannel);
++ layout->addWidget(m_pIgnoreChannel);
+
+ m_pIgnoreNotice = new KviStyledCheckBox(__tr2qs("Ignore notice-messages"),gb);
+- tqlayout->addWidget(m_pIgnoreNotice);
++ layout->addWidget(m_pIgnoreNotice);
+
+ m_pIgnoreCtcp = new KviStyledCheckBox(__tr2qs("Ignore ctcp-messages"),gb);
+- tqlayout->addWidget(m_pIgnoreCtcp);
++ layout->addWidget(m_pIgnoreCtcp);
+
+ m_pIgnoreInvite = new KviStyledCheckBox(__tr2qs("Ignore invites"),gb);
+- tqlayout->addWidget(m_pIgnoreInvite);
++ layout->addWidget(m_pIgnoreInvite);
+
+ m_pIgnoreDcc = new KviStyledCheckBox(__tr2qs("Ignore DCCs"),gb);
+- tqlayout->addWidget(m_pIgnoreDcc);
++ layout->addWidget(m_pIgnoreDcc);
+
+ TQWidget *w = new TQWidget(vb);
+ w->setSizePolicy(TQSizePolicy::Ignored,TQSizePolicy::Ignored);
+diff --git a/src/modules/sharedfileswindow/sharedfileswindow.cpp b/src/modules/sharedfileswindow/sharedfileswindow.cpp
+index 11e320d..d4e59cb 100644
+--- a/src/modules/sharedfileswindow/sharedfileswindow.cpp
++++ b/src/modules/sharedfileswindow/sharedfileswindow.cpp
+@@ -592,10 +592,10 @@ void KviSharedFilesWindow::copyLocalFileToClipboard()
+ if(!t)return;
+ TQString tmp = t->localFileName();
+ if(tmp.isEmpty())return;
+- TQApplication::tqclipboard()->setSelectionMode(false);
+- TQApplication::tqclipboard()->setText(tmp);
+- TQApplication::tqclipboard()->setSelectionMode(true);
+- TQApplication::tqclipboard()->setText(tmp);
++ TQApplication::clipboard()->setSelectionMode(false);
++ TQApplication::clipboard()->setText(tmp);
++ TQApplication::clipboard()->setSelectionMode(true);
++ TQApplication::clipboard()->setText(tmp);
+ }
+
+ void KviSharedFilesWindow::openLocalFileFolder()
+diff --git a/src/modules/str/libkvistr.cpp b/src/modules/str/libkvistr.cpp
+index de2236c..b7ea2e7 100644
+--- a/src/modules/str/libkvistr.cpp
++++ b/src/modules/str/libkvistr.cpp
+@@ -102,7 +102,7 @@ static bool str_kvs_fnc_fromclipboard(KviKvsModuleFunctionCall * c)
+ TQString szString;
+ KVSM_PARAMETERS_BEGIN(c)
+ KVSM_PARAMETERS_END(c)
+- TQClipboard *cb = TQApplication::tqclipboard();
++ TQClipboard *cb = TQApplication::clipboard();
+ szString = cb->text(TQClipboard::Clipboard);
+ c->returnValue()->setString(szString);
+ return true;
+@@ -132,7 +132,7 @@ static bool str_kvs_cmd_toClipboard(KviKvsModuleCommandCall * c)
+ KVSM_PARAMETERS_BEGIN(c)
+ KVSM_PARAMETER("value",KVS_PT_STRING,KVS_PF_OPTIONAL,szValue)
+ KVSM_PARAMETERS_END(c)
+- TQClipboard *cb = TQApplication::tqclipboard();
++ TQClipboard *cb = TQApplication::clipboard();
+ cb->setText(szValue, TQClipboard::Clipboard );
+ return true;
+ }
+@@ -1360,17 +1360,17 @@ static bool str_kvs_fnc_word(KviKvsModuleFunctionCall * c)
+ int len = szString.length();
+ while (idx<len)
+ {
+- TQChar szTmp = szString[idx].tqunicode();
++ TQChar szTmp = szString[idx].unicode();
+ while (szTmp.isSpace())
+ {
+ idx++;
+- szTmp = szString[idx].tqunicode();
++ szTmp = szString[idx].unicode();
+ }
+ begin = idx;
+ while (idx<len && !szTmp.isSpace())
+ {
+ idx++;
+- szTmp = szString[idx].tqunicode();
++ szTmp = szString[idx].unicode();
+ }
+ if (iOccurence == (kvs_int_t)cnt)
+ {
+@@ -1433,18 +1433,18 @@ static bool str_kvs_fnc_token(KviKvsModuleFunctionCall * c)
+ int len = szString.length();
+ while (idx<len)
+ {
+- TQChar szTmp = szString[idx].tqunicode();
++ TQChar szTmp = szString[idx].unicode();
+ // while (szTmp==sep)
+ while (sep.contains(szTmp))
+ {
+ idx++;
+- szTmp = szString[idx].tqunicode();
++ szTmp = szString[idx].unicode();
+ }
+ begin = idx;
+ while (idx<len && !sep.contains(szTmp))
+ {
+ idx++;
+- szTmp = szString[idx].tqunicode();
++ szTmp = szString[idx].unicode();
+ }
+ if (n == cnt)
+ {
+@@ -1489,13 +1489,13 @@ static bool str_kvs_fnc_charsum(KviKvsModuleFunctionCall * c)
+ {
+ while(idx < len)
+ {
+- sum += szString[idx].lower().tqunicode();
++ sum += szString[idx].lower().unicode();
+ idx++;
+ }
+ } else {
+ while(idx < len)
+ {
+- sum += szString[idx].tqunicode();
++ sum += szString[idx].unicode();
+ idx++;
+ }
+ }
+@@ -1963,7 +1963,7 @@ static bool str_kvs_fnc_printf(KviKvsModuleFunctionCall * c)
+ if(fmt)
+ {
+ TQChar * buffer = (TQChar *)kvi_malloc(sizeof(TQChar) * allocsize);
+- //TQChar * p = (TQChar *)s.tqunicode();
++ //TQChar * p = (TQChar *)s.unicode();
+
+ //9999999999999999999999999999999\0
+ char numberBuffer[1024];
+@@ -1993,12 +1993,12 @@ static bool str_kvs_fnc_printf(KviKvsModuleFunctionCall * c)
+
+ pVar = vArgs.first();
+
+- for(; fmt->tqunicode() ; ++fmt)
++ for(; fmt->unicode() ; ++fmt)
+ {
+ if(reallen == allocsize)INCREMENT_MEM
+
+ //copy up to a '?'
+- if(fmt->tqunicode() != '?')
++ if(fmt->unicode() != '?')
+ {
+ *p++ = *fmt;
+ reallen++;
+@@ -2006,7 +2006,7 @@ static bool str_kvs_fnc_printf(KviKvsModuleFunctionCall * c)
+ }
+
+ ++fmt; //skip this '?'
+- switch(fmt->tqunicode())
++ switch(fmt->unicode())
+ {
+ case 's':
+ {
+@@ -2015,7 +2015,7 @@ static bool str_kvs_fnc_printf(KviKvsModuleFunctionCall * c)
+ if(sz.isEmpty())continue;
+ int len = sz.length();
+ if((allocsize - reallen) < len)INCREMENT_MEM_BY(len)
+- const TQChar * ch = sz.tqunicode();
++ const TQChar * ch = sz.unicode();
+ while(len--)*p++ = *ch++;
+ reallen += sz.length();
+ pVar = vArgs.next();
+@@ -2149,7 +2149,7 @@ static bool str_kvs_fnc_printf(KviKvsModuleFunctionCall * c)
+ }
+ case '?':
+ {
+- if(fmt->tqunicode())
++ if(fmt->unicode())
+ {
+ if(reallen == allocsize)INCREMENT_MEM
+ *p++ = *fmt;
+@@ -2171,15 +2171,15 @@ static bool str_kvs_fnc_printf(KviKvsModuleFunctionCall * c)
+
+ int idx = 2;
+
+- while((fmt->tqunicode() >= '0') && (fmt->tqunicode() <= '9') && (idx < 6))
++ while((fmt->unicode() >= '0') && (fmt->unicode() <= '9') && (idx < 6))
+ {
+ uPrecision *= 10;
+- fmtbuffer[idx] = fmt->tqunicode();
++ fmtbuffer[idx] = fmt->unicode();
+ uPrecision += fmtbuffer[idx] - '0';
+ fmt++;
+ idx++;
+ }
+- fmtbuffer[idx] = fmt->tqunicode();
++ fmtbuffer[idx] = fmt->unicode();
+ fmtbuffer[idx+1] = 0;
+
+ if(pVar)
+@@ -2193,7 +2193,7 @@ static bool str_kvs_fnc_printf(KviKvsModuleFunctionCall * c)
+ c->warning(__tr2qs("Missing argument for a floating point escape sequence, 0.0 assumed"));
+ argRValue = 0;
+ }
+- switch(fmt->tqunicode())
++ switch(fmt->unicode())
+ {
+ case 'e':
+ case 'E':
+@@ -2212,7 +2212,7 @@ static bool str_kvs_fnc_printf(KviKvsModuleFunctionCall * c)
+ fmt = save;
+ *p++ = '?'; //write it
+ reallen++;
+- if(fmt->tqunicode())
++ if(fmt->unicode())
+ {
+ if(reallen == allocsize)INCREMENT_MEM
+ *p++ = *fmt;
+@@ -2228,7 +2228,7 @@ static bool str_kvs_fnc_printf(KviKvsModuleFunctionCall * c)
+ {
+ *p++ = '?'; //write it
+ reallen++;
+- if(fmt->tqunicode())
++ if(fmt->unicode())
+ {
+ if(reallen == allocsize)INCREMENT_MEM
+ *p++ = *fmt;
+diff --git a/src/modules/system/libkvisystem.cpp b/src/modules/system/libkvisystem.cpp
+index df68402..879a2ae 100644
+--- a/src/modules/system/libkvisystem.cpp
++++ b/src/modules/system/libkvisystem.cpp
+@@ -240,7 +240,7 @@ static bool system_kvs_fnc_getenv(KviKvsModuleFunctionCall *c)
+
+ static bool system_kvs_fnc_clipboard(KviKvsModuleFunctionCall *c)
+ {
+- c->returnValue()->setString(g_pApp->tqclipboard()->text(TQClipboard::Clipboard));
++ c->returnValue()->setString(g_pApp->clipboard()->text(TQClipboard::Clipboard));
+ return true;
+ }
+
+@@ -275,7 +275,7 @@ static bool system_kvs_cmd_setClipboard(KviKvsModuleCommandCall * c)
+ KVSM_PARAMETERS_BEGIN(c)
+ KVSM_PARAMETER("data",KVS_PT_STRING,KVS_PF_OPTIONAL,szValue)
+ KVSM_PARAMETERS_END(c)
+- g_pApp->tqclipboard()->setText(szValue,TQClipboard::Clipboard);
++ g_pApp->clipboard()->setText(szValue,TQClipboard::Clipboard);
+ return true;
+ }
+
+@@ -307,7 +307,7 @@ static bool system_kvs_cmd_setSelection(KviKvsModuleCommandCall * c)
+ KVSM_PARAMETERS_BEGIN(c)
+ KVSM_PARAMETER("data",KVS_PT_STRING,KVS_PF_OPTIONAL,szValue)
+ KVSM_PARAMETERS_END(c)
+- g_pApp->tqclipboard()->setText(szValue,TQClipboard::Selection);
++ g_pApp->clipboard()->setText(szValue,TQClipboard::Selection);
+ return true;
+ }
+
+@@ -337,7 +337,7 @@ static bool system_kvs_cmd_setSelection(KviKvsModuleCommandCall * c)
+
+ static bool system_kvs_fnc_selection(KviKvsModuleFunctionCall *c)
+ {
+- c->returnValue()->setString(g_pApp->tqclipboard()->text(TQClipboard::Selection));
++ c->returnValue()->setString(g_pApp->clipboard()->text(TQClipboard::Selection));
+ return true;
+ }
+
diff --git a/redhat/applications/kvirc/bp003-1c00d6ff.diff b/redhat/applications/kvirc/bp003-1c00d6ff.diff
new file mode 100644
index 000000000..ab9589368
--- /dev/null
+++ b/redhat/applications/kvirc/bp003-1c00d6ff.diff
@@ -0,0 +1,19 @@
+commit 1c00d6ffa847ef0cc0cc6deaf1da412c8264f7ac
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1324748257 -0600
+
+ Rename a few stragglers
+
+diff --git a/src/modules/list/listwindow.cpp b/src/modules/list/listwindow.cpp
+index b7bd8bc..c5ed5ea 100644
+--- a/src/modules/list/listwindow.cpp
++++ b/src/modules/list/listwindow.cpp
+@@ -140,7 +140,7 @@ void KviChannelListViewItem::paintCell(TQPainter * p,const TQColorGroup &cg,int
+ if ( isEnabled() || !lv )
+ p->setPen( cg.highlightedText() );
+ else if ( !isEnabled() && lv)
+- p->setPen( lv->tqpalette().disabled().highlightedText() );
++ p->setPen( lv->palette().disabled().highlightedText() );
+ } else {
+ if ( isEnabled() || !lv )
+ p->setPen( cg.text() );
diff --git a/redhat/applications/kvirc/bp004-ff96f491.diff b/redhat/applications/kvirc/bp004-ff96f491.diff
new file mode 100644
index 000000000..c825af5a1
--- /dev/null
+++ b/redhat/applications/kvirc/bp004-ff96f491.diff
@@ -0,0 +1,19 @@
+commit ff96f491739a5bee6e9d9c2b0c6b9b38e790f9af
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1325294026 -0600
+
+ Fix FTBFS
+
+diff --git a/src/modules/options/mkcreateinstanceproc.sh b/src/modules/options/mkcreateinstanceproc.sh
+index 9947aff..c426230 100755
+--- a/src/modules/options/mkcreateinstanceproc.sh
++++ b/src/modules/options/mkcreateinstanceproc.sh
+@@ -355,7 +355,7 @@ KviOptionsWidget * KviOptionsInstanceManager::getInstance(KviOptionsWidgetInstan
+ if(e->pWidget->parent() != par)
+ {
+ QWidget * oldPar = (QWidget *)e->pWidget->parent();
+- e->pWidget->reparent(par,QPoint(0,0));
++ e->pWidget->reparent(par,TQPoint(0,0));
+ delete oldPar;
+ }
+ if(e->bIsContainer)
diff --git a/redhat/applications/kvirc/bp005-2285efe5.diff b/redhat/applications/kvirc/bp005-2285efe5.diff
new file mode 100644
index 000000000..27b10d930
--- /dev/null
+++ b/redhat/applications/kvirc/bp005-2285efe5.diff
@@ -0,0 +1,49 @@
+commit 2285efe5dc2c83eda4578527b65f759f6382d094
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1325323706 -0600
+
+ Fix FTBFS
+
+diff --git a/src/modules/options/mkcreateinstanceproc.sh b/src/modules/options/mkcreateinstanceproc.sh
+index c426230..5e504fa 100755
+--- a/src/modules/options/mkcreateinstanceproc.sh
++++ b/src/modules/options/mkcreateinstanceproc.sh
+@@ -56,7 +56,7 @@ typedef struct _KviOptionsWidgetInstanceEntry KviOptionsWidgetInstanceEntry;
+
+ typedef struct _KviOptionsWidgetInstanceEntry
+ {
+- KviOptionsWidget * (*createProc)(QWidget *);
++ KviOptionsWidget * (*createProc)(TQWidget *);
+ KviOptionsWidget * pWidget; // singleton
+ int iIcon;
+ QString szName;
+@@ -73,9 +73,10 @@ typedef struct _KviOptionsWidgetInstanceEntry
+ } KviOptionsWidgetInstanceEntry;
+
+
+-class KviOptionsInstanceManager : public QObject
++class KviOptionsInstanceManager : public TQObject
+ {
+ Q_OBJECT
++ TQ_OBJECT
+ public:
+ KviOptionsInstanceManager();
+ virtual ~KviOptionsInstanceManager();
+@@ -83,14 +84,14 @@ protected:
+ KviPointerList<KviOptionsWidgetInstanceEntry> * m_pInstanceTree;
+ public:
+ KviPointerList<KviOptionsWidgetInstanceEntry> * instanceEntryTree(){ return m_pInstanceTree; };
+- KviOptionsWidget * getInstance(KviOptionsWidgetInstanceEntry * e,QWidget * par);
++ KviOptionsWidget * getInstance(KviOptionsWidgetInstanceEntry * e,TQWidget * par);
+ KviOptionsWidgetInstanceEntry * findInstanceEntry(const char * clName);
+ void cleanup(KviModule * m);
+ protected:
+ KviOptionsWidgetInstanceEntry * findInstanceEntry(const char * clName,KviPointerList<KviOptionsWidgetInstanceEntry> * l);
+- KviOptionsWidgetInstanceEntry * findInstanceEntry(const QObject * ptr,KviPointerList<KviOptionsWidgetInstanceEntry> * l);
++ KviOptionsWidgetInstanceEntry * findInstanceEntry(const TQObject * ptr,KviPointerList<KviOptionsWidgetInstanceEntry> * l);
+ void deleteInstanceTree(KviPointerList<KviOptionsWidgetInstanceEntry> * l);
+-protected Q_SLOTS:
++protected slots:
+ void widgetDestroyed();
+ };
+
diff --git a/redhat/applications/kvirc/bp006-51bbe9e5.diff b/redhat/applications/kvirc/bp006-51bbe9e5.diff
new file mode 100644
index 000000000..5909e9948
--- /dev/null
+++ b/redhat/applications/kvirc/bp006-51bbe9e5.diff
@@ -0,0 +1,32 @@
+commit 51bbe9e5da9c9ebf2109ab59f98d182c3ee23d86
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1327529886 -0600
+
+ Fix linear alphabet string errors
+
+diff --git a/src/kvilib/core/kvi_string.cpp b/src/kvilib/core/kvi_string.cpp
+index 54a1c4a..a02d6c7 100644
+--- a/src/kvilib/core/kvi_string.cpp
++++ b/src/kvilib/core/kvi_string.cpp
+@@ -1342,7 +1342,7 @@ int KviStr::hexToBuffer(char ** buffer,bool bNullToNewlines)
+ return len;
+ }
+
+-static const char * base64_chars = "ABCDEFGHIJKLMNOPTQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
++static const char * base64_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+
+
+ void KviStr::bufferToBase64(const char * buffer,int len)
+diff --git a/src/modules/rijndael/libkvirijndael.cpp b/src/modules/rijndael/libkvirijndael.cpp
+index 2bd8e6e..e9c7051 100644
+--- a/src/modules/rijndael/libkvirijndael.cpp
++++ b/src/modules/rijndael/libkvirijndael.cpp
+@@ -471,7 +471,7 @@
+ */
+ }
+
+- static unsigned char fake_base64[]="./0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ";
++ static unsigned char fake_base64[]="./0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
+
+ unsigned int fake_base64dec(unsigned char c)
+ {
diff --git a/redhat/applications/kvirc/bp007-a24a8595.diff b/redhat/applications/kvirc/bp007-a24a8595.diff
new file mode 100644
index 000000000..7ec48b2c6
--- /dev/null
+++ b/redhat/applications/kvirc/bp007-a24a8595.diff
@@ -0,0 +1,1956 @@
+commit a24a8595fc6663038f6ce26cfed6276910eef984
+Author: Darrell Anderson <humanreadable@yahoo.com>
+Date: 1334302607 -0500
+
+ Fix inadvertent "TQ" changes.
+
+diff --git a/src/kvilib/config/kvi_defaults.h b/src/kvilib/config/kvi_defaults.h
+index f7f9fd4..fc375b0 100644
+--- a/src/kvilib/config/kvi_defaults.h
++++ b/src/kvilib/config/kvi_defaults.h
+@@ -50,7 +50,7 @@
+ #define KVI_DEFAULT_REALNAME "KVIrc " VERSION " '" KVI_RELEASE_NAME "' http://kvirc.net/"
+
+ #define KVI_DEFAULT_PART_MESSAGE "No matter how dark the night, somehow the Sun rises once again"
+-#define KVI_DEFAULT_TQUIT_MESSAGE "KVIrc $version $version(r) http://www.kvirc.net/"
++#define KVI_DEFAULT_QUIT_MESSAGE "KVIrc $version $version(r) http://www.kvirc.net/"
+ #define KVI_DEFAULT_CTCP_USERINFO_REPLY "I'm too lazy to edit this field."
+ #define KVI_DEFAULT_CTCP_PAGE_REPLY "Your message has been received and logged"
+ #define KVI_DEFAULT_AWAY_MESSAGE "I'm off to see the wizard."
+diff --git a/src/kvilib/ext/kvi_osinfo.cpp b/src/kvilib/ext/kvi_osinfo.cpp
+index f2f39d2..5922e99 100644
+--- a/src/kvilib/ext/kvi_osinfo.cpp
++++ b/src/kvilib/ext/kvi_osinfo.cpp
+@@ -317,7 +317,7 @@ static TQString queryWinInfo( QueryInfo info)
+
+ lRet = RegOpenKeyEx( HKEY_LOCAL_MACHINE,
+ TEXT("SYSTEM\\CurrentControlSet\\Control\\ProductOptions"),
+- 0, KEY_TQUERY_VALUE, &hKey );
++ 0, KEY_QUERY_VALUE, &hKey );
+ if( lRet != ERROR_SUCCESS )
+ return FALSE;
+
+@@ -348,7 +348,7 @@ static TQString queryWinInfo( QueryInfo info)
+ // Test for SP6 versus SP6a.
+ lRet = RegOpenKeyEx( HKEY_LOCAL_MACHINE,
+ TEXT("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Hotfix\\Q246009"),
+- 0, KEY_TQUERY_VALUE, &hKey );
++ 0, KEY_QUERY_VALUE, &hKey );
+ if( lRet == ERROR_SUCCESS )
+ szVersion+= TQString("Service Pack 6a (Build %1)").arg( osvi.dwBuildNumber & 0xFFFF );
+ else // Windows NT 4.0 prior to SP6a
+diff --git a/src/kvilib/irc/kvi_useridentity.cpp b/src/kvilib/irc/kvi_useridentity.cpp
+index 4e3468d..5be98fa 100644
+--- a/src/kvilib/irc/kvi_useridentity.cpp
++++ b/src/kvilib/irc/kvi_useridentity.cpp
+@@ -172,7 +172,7 @@ const KviUserIdentity * KviUserIdentityManager::defaultIdentity()
+ ret->setUserName(KVI_DEFAULT_USERNAME);
+ ret->setRealName(KVI_DEFAULT_REALNAME);
+ ret->setPartMessage(KVI_DEFAULT_PART_MESSAGE);
+- ret->setQuitMessage(KVI_DEFAULT_TQUIT_MESSAGE);
++ ret->setQuitMessage(KVI_DEFAULT_QUIT_MESSAGE);
+
+ m_pIdentityDict->replace(ret->id(),ret);
+
+diff --git a/src/kvilib/system/kvi_thread.cpp b/src/kvilib/system/kvi_thread.cpp
+index 472486f..02dcdc0 100644
+--- a/src/kvilib/system/kvi_thread.cpp
++++ b/src/kvilib/system/kvi_thread.cpp
+@@ -152,7 +152,7 @@ static void kvi_threadInitialize()
+
+ // the maximum length of the slave->master queue
+ // over this length , the slave is forced to usleep()
+-#define KVI_THREAD_MAX_EVENT_TQUEUE_LENGTH 50
++#define KVI_THREAD_MAX_EVENT_QUEUE_LENGTH 50
+
+ static KviThreadManager * g_pThreadManager = 0;
+
+@@ -319,7 +319,7 @@ void KviThreadManager::postSlaveEvent(TQObject *o,TQEvent *e)
+ // on the main application thread we also can't artificially process the events.
+ // So the solution is to skip this algorithm when at least one
+ // thread is in waiting state.
+- while((m_pEventQueue->count() > KVI_THREAD_MAX_EVENT_TQUEUE_LENGTH) && (m_iWaitingThreads < 1))
++ while((m_pEventQueue->count() > KVI_THREAD_MAX_EVENT_QUEUE_LENGTH) && (m_iWaitingThreads < 1))
+ {
+ // wait for the master to process the queue
+
+diff --git a/src/kvirc/kernel/kvi_action.cpp b/src/kvirc/kernel/kvi_action.cpp
+index 0c10f99..d27d69e 100644
+--- a/src/kvirc/kernel/kvi_action.cpp
++++ b/src/kvirc/kernel/kvi_action.cpp
+@@ -251,7 +251,7 @@ void KviAction::activeWindowChanged()
+ if(isEnabled())setEnabled(false);
+ }
+ break;
+- case KVI_WINDOW_TYPE_TQUERY:
++ case KVI_WINDOW_TYPE_QUERY:
+ if(m_uFlags & WindowQuery)
+ {
+ if(m_uFlags & WindowOnlyIfUsersSelected)
+@@ -305,7 +305,7 @@ void KviAction::activeWindowSelectionStateChanged(bool bSelectedNow)
+ if(isEnabled())setEnabled(false);
+ }
+ break;
+- case KVI_WINDOW_TYPE_TQUERY:
++ case KVI_WINDOW_TYPE_QUERY:
+ if(m_uFlags & WindowQuery)
+ {
+ if(bSelectedNow != isEnabled())setEnabled(bSelectedNow);
+diff --git a/src/kvirc/kernel/kvi_app_setup.cpp b/src/kvirc/kernel/kvi_app_setup.cpp
+index c7ac426..b54760b 100644
+--- a/src/kvirc/kernel/kvi_app_setup.cpp
++++ b/src/kvirc/kernel/kvi_app_setup.cpp
+@@ -109,9 +109,9 @@ bool KviApp::checkLocalKvircDirectory(const TQString szDir)
+ bool KviApp::checkFileAssociations()
+ {
+ #ifdef COMPILE_ON_WINDOWS
+-#define TQUERY_BUFFER 2048
++#define QUERY_BUFFER 2048
+ char* buffer;
+- DWORD len = TQUERY_BUFFER;
++ DWORD len = QUERY_BUFFER;
+ DWORD err;
+ buffer = (char*)malloc(len*sizeof(char));
+ HKEY hKey;
+@@ -130,7 +130,7 @@ bool KviApp::checkFileAssociations()
+ }
+ }
+
+- len = TQUERY_BUFFER;
++ len = QUERY_BUFFER;
+ if(RegOpenKeyEx(HKEY_CLASSES_ROOT,"KVIrcScript",0,KEY_READ,&hKey) != ERROR_SUCCESS )
+ return false;
+
+@@ -145,7 +145,7 @@ bool KviApp::checkFileAssociations()
+ }
+ }
+
+- len = TQUERY_BUFFER;
++ len = QUERY_BUFFER;
+ if(RegOpenKeyEx(HKEY_CLASSES_ROOT,"KVIrcScript\\DefaultIcon",0,KEY_READ,&hKey) != ERROR_SUCCESS )
+ return false;
+
+@@ -162,7 +162,7 @@ bool KviApp::checkFileAssociations()
+ }
+ }
+
+- len = TQUERY_BUFFER;
++ len = QUERY_BUFFER;
+ if(RegOpenKeyEx(HKEY_CLASSES_ROOT,"KVIrcScript\\Shell\\Parse",0,KEY_READ,&hKey) != ERROR_SUCCESS )
+ return false;
+
+@@ -177,7 +177,7 @@ bool KviApp::checkFileAssociations()
+ }
+ }
+
+- len = TQUERY_BUFFER;
++ len = QUERY_BUFFER;
+ if(RegOpenKeyEx(HKEY_CLASSES_ROOT,"KVIrcScript\\Shell\\Parse\\command",0,KEY_READ,&hKey) != ERROR_SUCCESS )
+ return false;
+
+@@ -210,7 +210,7 @@ bool KviApp::checkFileAssociations()
+ }
+ }
+
+- len = TQUERY_BUFFER;
++ len = QUERY_BUFFER;
+ if(RegOpenKeyEx(HKEY_CLASSES_ROOT,"KVIrcConfig",0,KEY_READ,&hKey) != ERROR_SUCCESS )
+ return false;
+
+@@ -229,7 +229,7 @@ bool KviApp::checkFileAssociations()
+ }
+ }
+
+- len = TQUERY_BUFFER;
++ len = QUERY_BUFFER;
+ if(RegOpenKeyEx(HKEY_CLASSES_ROOT,"KVIrcAddon",0,KEY_READ,&hKey) != ERROR_SUCCESS )
+ return false;
+ //Theme
+@@ -247,7 +247,7 @@ bool KviApp::checkFileAssociations()
+ }
+ }
+
+- len = TQUERY_BUFFER;
++ len = QUERY_BUFFER;
+ if(RegOpenKeyEx(HKEY_CLASSES_ROOT,"KVIrcTheme",0,KEY_READ,&hKey) != ERROR_SUCCESS )
+ return false;
+
+@@ -261,9 +261,9 @@ bool KviApp::checkFileAssociations()
+ bool KviApp::checkUriAssociations(char * proto)
+ {
+ #ifdef COMPILE_ON_WINDOWS
+-#define TQUERY_BUFFER 2048
++#define QUERY_BUFFER 2048
+ char* buffer;
+- DWORD len = TQUERY_BUFFER;
++ DWORD len = QUERY_BUFFER;
+ DWORD err;
+ buffer = (char*)malloc(len*sizeof(char));
+ HKEY hKey;
+@@ -272,7 +272,7 @@ bool KviApp::checkUriAssociations(char * proto)
+
+ KviStr key=storedKey;
+
+- len = TQUERY_BUFFER;
++ len = QUERY_BUFFER;
+ if(RegOpenKeyEx(HKEY_CLASSES_ROOT,key,0,KEY_READ,&hKey) != ERROR_SUCCESS )
+ return false;
+
+@@ -287,7 +287,7 @@ bool KviApp::checkUriAssociations(char * proto)
+ }
+ }
+
+- len = TQUERY_BUFFER;
++ len = QUERY_BUFFER;
+ if( (err=RegQueryValueEx( hKey,"URL Protocol",0,0,(LPBYTE)buffer,&len)) != ERROR_SUCCESS)
+ {
+ free(buffer);
+@@ -295,7 +295,7 @@ bool KviApp::checkUriAssociations(char * proto)
+ }
+
+ key = storedKey+"\\DefaultIcon";
+- len = TQUERY_BUFFER;
++ len = QUERY_BUFFER;
+ if(RegOpenKeyEx(HKEY_CLASSES_ROOT,key,0,KEY_READ,&hKey) != ERROR_SUCCESS )
+ return false;
+
+@@ -312,7 +312,7 @@ bool KviApp::checkUriAssociations(char * proto)
+ }
+ }
+
+- len = TQUERY_BUFFER;
++ len = QUERY_BUFFER;
+ key = storedKey+"\\Shell\\open";
+ if(RegOpenKeyEx(HKEY_CLASSES_ROOT,key,0,KEY_READ,&hKey) != ERROR_SUCCESS )
+ return false;
+@@ -328,7 +328,7 @@ bool KviApp::checkUriAssociations(char * proto)
+ }
+ }
+
+- len = TQUERY_BUFFER;
++ len = QUERY_BUFFER;
+ key = storedKey+"\\Shell\\open\\command";
+ if(RegOpenKeyEx(HKEY_CLASSES_ROOT,key,0,KEY_READ,&hKey) != ERROR_SUCCESS )
+ return false;
+diff --git a/src/kvirc/kernel/kvi_coreactionnames.h b/src/kvirc/kernel/kvi_coreactionnames.h
+index 2c211ed..7309e28 100644
+--- a/src/kvirc/kernel/kvi_coreactionnames.h
++++ b/src/kvirc/kernel/kvi_coreactionnames.h
+@@ -45,7 +45,7 @@
+ #define KVI_COREACTION_TILEWINDOWS (KVI_COREACTION_NAME_PREFIX "tilewindows")
+ #define KVI_COREACTION_MINIMIZEALLWINDOWS (KVI_COREACTION_NAME_PREFIX "minimizeallwindows")
+ #define KVI_COREACTION_NEWIRCCONTEXT (KVI_COREACTION_NAME_PREFIX "newirccontext")
+-#define KVI_COREACTION_TQUITKVIRC (KVI_COREACTION_NAME_PREFIX "quitkvirc")
++#define KVI_COREACTION_QUITKVIRC (KVI_COREACTION_NAME_PREFIX "quitkvirc")
+ #define KVI_COREACTION_IRCCONTEXTDISPLAY (KVI_COREACTION_NAME_PREFIX "irccontextdisplay")
+ #define KVI_COREACTION_SEPARATOR (KVI_COREACTION_NAME_PREFIX "separator")
+ #define KVI_COREACTION_CONNECT (KVI_COREACTION_NAME_PREFIX "connect")
+diff --git a/src/kvirc/kernel/kvi_coreactions.cpp b/src/kvirc/kernel/kvi_coreactions.cpp
+index fb6fa04..8a66430 100644
+--- a/src/kvirc/kernel/kvi_coreactions.cpp
++++ b/src/kvirc/kernel/kvi_coreactions.cpp
+@@ -427,14 +427,14 @@ void register_core_actions(KviActionManager * m)
+ "Ctrl+Alt+N");
+
+ SLOT_ACTION(
+- KVI_COREACTION_TQUITKVIRC,
++ KVI_COREACTION_QUITKVIRC,
+ g_pApp,
+ TQT_SLOT(quit()),
+ __tr2qs("Quit KVIrc"),
+ __tr2qs("Quits KVIrc closing all the current connections"),
+ KviActionManager::categoryGeneric(),
+ "kvi_bigicon_quit.png",
+- KVI_SMALLICON_TQUITAPP,
++ KVI_SMALLICON_QUITAPP,
+ 0,
+ TQString());
+ }
+diff --git a/src/kvirc/kernel/kvi_iconmanager.h b/src/kvirc/kernel/kvi_iconmanager.h
+index ef7f44f..9d1267c 100644
+--- a/src/kvirc/kernel/kvi_iconmanager.h
++++ b/src/kvirc/kernel/kvi_iconmanager.h
+@@ -45,7 +45,7 @@
+ #define KVI_SMALLICON_DEFAULTICON 5
+ #define KVI_SMALLICON_DOCK 6
+ #define KVI_SMALLICON_UNDOCK 7
+-#define KVI_SMALLICON_TQUITAPP 8
++#define KVI_SMALLICON_QUITAPP 8
+ #define KVI_SMALLICON_CONSOLE 9
+ #define KVI_SMALLICON_FLOPPY 10
+ #define KVI_SMALLICON_PARSERERROR 11
+@@ -84,8 +84,8 @@
+ #define KVI_SMALLICON_DISCARD 44
+ #define KVI_SMALLICON_OWNPRIVMSG 45
+ #define KVI_SMALLICON_CHANPRIVMSG 46
+-#define KVI_SMALLICON_TQUERY 47
+-#define KVI_SMALLICON_TQUERYPRIVMSG 48
++#define KVI_SMALLICON_QUERY 47
++#define KVI_SMALLICON_QUERYPRIVMSG 48
+ #define KVI_SMALLICON_HELP 49
+ #define KVI_SMALLICON_MDIHELP 50
+ #define KVI_SMALLICON_CTCPREPLY 51
+@@ -95,9 +95,9 @@
+ #define KVI_SMALLICON_CTCPREQUESTUNKNOWN 55
+ #define KVI_SMALLICON_ACTION 56
+ #define KVI_SMALLICON_AVATAR 57
+-#define KVI_SMALLICON_TQUIT 58
++#define KVI_SMALLICON_QUIT 58
+ #define KVI_SMALLICON_SPLIT 59
+-#define KVI_SMALLICON_TQUITSPLIT 60
++#define KVI_SMALLICON_QUITSPLIT 60
+ #define KVI_SMALLICON_NICK 61
+ #define KVI_SMALLICON_DEOP 62
+ #define KVI_SMALLICON_DEVOICE 63
+@@ -139,7 +139,7 @@
+ #define KVI_SMALLICON_UNLOCKEDOFF 99
+ #define KVI_SMALLICON_OWNPRIVMSGCRYPTED 100
+ #define KVI_SMALLICON_CHANPRIVMSGCRYPTED 101
+-#define KVI_SMALLICON_TQUERYPRIVMSGCRYPTED 102
++#define KVI_SMALLICON_QUERYPRIVMSGCRYPTED 102
+ #define KVI_SMALLICON_DCCCHATMSG 103
+ #define KVI_SMALLICON_DCCCHATMSGCRYPTED 104
+ #define KVI_SMALLICON_IRC 105
+@@ -192,8 +192,8 @@
+ #define KVI_SMALLICON_ALIAS 152
+ #define KVI_SMALLICON_CHANNELNOTICE 153
+ #define KVI_SMALLICON_CHANNELNOTICECRYPTED 154
+-#define KVI_SMALLICON_TQUERYNOTICE 155
+-#define KVI_SMALLICON_TQUERYNOTICECRYPTED 156
++#define KVI_SMALLICON_QUERYNOTICE 155
++#define KVI_SMALLICON_QUERYNOTICECRYPTED 156
+ // FIXME: rename the icon 157: it was colliding with 141
+ #define KVI_SMALLICON_SERVNOTICE 157
+ #define KVI_SMALLICON_POPUP 158
+@@ -219,7 +219,7 @@
+ #define KVI_SMALLICON_LOOK 178
+ #define KVI_SMALLICON_INPUT 179
+ #define KVI_SMALLICON_MESSAGES 180
+-#define KVI_SMALLICON_TQUERYTRACE 181
++#define KVI_SMALLICON_QUERYTRACE 181
+ #define KVI_SMALLICON_NOCHANNEL 182
+ #define KVI_SMALLICON_BROADCASTPRIVMSG 183
+ #define KVI_SMALLICON_BROADCASTNOTICE 184
+@@ -271,7 +271,7 @@
+ #define KVI_SMALLICON_CRY 230
+ #define KVI_SMALLICON_EYE 231
+ #define KVI_SMALLICON_DEADCHANNEL 232
+-#define KVI_SMALLICON_DEADTQUERY 233
++#define KVI_SMALLICON_DEADQUERY 233
+ #define KVI_SMALLICON_SOUND 234
+ #define KVI_SMALLICON_TOOLBAR 235
+ #define KVI_SMALLICON_TEXTENCODING 236
+diff --git a/src/kvirc/kernel/kvi_internalcmd.h b/src/kvirc/kernel/kvi_internalcmd.h
+index 8ac0343..533dfc0 100644
+--- a/src/kvirc/kernel/kvi_internalcmd.h
++++ b/src/kvirc/kernel/kvi_internalcmd.h
+@@ -56,7 +56,7 @@
+ #define KVI_INTERNALCOMMAND_POPUPEDITOR_OPEN 29
+ #define KVI_INTERNALCOMMAND_EXECUTE_SCRIPT_FROM_DISK 30
+ #define KVI_INTERNALCOMMAND_ACTIONEDITOR_OPEN 31
+-#define KVI_INTERNALCOMMAND_TQUIT 32
++#define KVI_INTERNALCOMMAND_QUIT 32
+ #define KVI_INTERNALCOMMAND_KVIRC_HOMEPAGE_RU 33
+ #define KVI_INTERNALCOMMAND_OPENURL_KVIRC_ON_FREENODE 34
+ #define KVI_INTERNALCOMMAND_OPENURL_KVIRC_ON_IRCNET 35
+diff --git a/src/kvirc/kernel/kvi_ircconnection.cpp b/src/kvirc/kernel/kvi_ircconnection.cpp
+index ec6085a..7f61e5d 100644
+--- a/src/kvirc/kernel/kvi_ircconnection.cpp
++++ b/src/kvirc/kernel/kvi_ircconnection.cpp
+@@ -697,7 +697,7 @@ void KviIrcConnection::resolveLocalHost()
+ }
+ } else {
+ m_pUserInfo->setLocalHostIp(szIp);
+- if(!_OUTPUT_TQUIET)
++ if(!_OUTPUT_QUIET)
+ m_pConsole->output(KVI_OUT_SYSTEMMESSAGE,__tr2qs("Local host address is %Q"),
+ &(m_pUserInfo->localHostIp()));
+ }
+diff --git a/src/kvirc/kernel/kvi_ircconnectiontargetresolver.cpp b/src/kvirc/kernel/kvi_ircconnectiontargetresolver.cpp
+index fa3ae79..7c8e12e 100644
+--- a/src/kvirc/kernel/kvi_ircconnectiontargetresolver.cpp
++++ b/src/kvirc/kernel/kvi_ircconnectiontargetresolver.cpp
+@@ -189,7 +189,7 @@ void KviIrcConnectionTargetResolver::lookupProxyHostname()
+
+ if(bValidIp)
+ {
+- if(!_OUTPUT_TQUIET)
++ if(!_OUTPUT_QUIET)
+ m_pConsole->output(KVI_OUT_SYSTEMMESSAGE,
+ __tr2qs("Using cached proxy IP address (%s)"),
+ m_pTarget->proxy()->m_szIp.ptr());
+@@ -279,7 +279,7 @@ void KviIrcConnectionTargetResolver::proxyLookupTerminated(KviDns *)
+
+ for(TQString * addr = m_pProxyDns->hostnameList()->next();addr;addr = m_pProxyDns->hostnameList()->next())
+ {
+- if(!_OUTPUT_TQUIET)
++ if(!_OUTPUT_QUIET)
+ m_pConsole->output(KVI_OUT_SYSTEMMESSAGE,
+ __tr2qs("Proxy %Q has a nickname: %Q"),&szFirstHostname,addr);
+ }
+@@ -317,7 +317,7 @@ void KviIrcConnectionTargetResolver::lookupServerHostname()
+
+ if(bValidIp && m_pTarget->server()->cacheIp())
+ {
+- if(!_OUTPUT_TQUIET)
++ if(!_OUTPUT_QUIET)
+ m_pConsole->output(KVI_OUT_SYSTEMMESSAGE,
+ __tr2qs("Using cached server IP address (%s)"),
+ m_pTarget->server()->m_szIp.utf8().data());
+@@ -395,7 +395,7 @@ void KviIrcConnectionTargetResolver::serverLookupTerminated(KviDns *)
+
+ if(!KviTQString::equalCI(m_pTarget->server()->m_szHostname,m_pServerDns->firstHostname()))
+ {
+- if(!_OUTPUT_TQUIET)
++ if(!_OUTPUT_QUIET)
+ m_pConsole->output(KVI_OUT_SYSTEMMESSAGE,
+ __tr2qs("Real hostname for %Q is %Q"),
+ &(m_pTarget->server()->m_szHostname),
+@@ -409,7 +409,7 @@ void KviIrcConnectionTargetResolver::serverLookupTerminated(KviDns *)
+ {
+ for(TQString * addr = m_pServerDns->hostnameList()->next();addr;addr = m_pServerDns->hostnameList()->next())
+ {
+- if(!_OUTPUT_TQUIET)
++ if(!_OUTPUT_QUIET)
+ m_pConsole->output(KVI_OUT_SYSTEMMESSAGE,
+ __tr2qs("Server %Q has a nickname: %Q"),
+ &szFirstHostname,addr);
+diff --git a/src/kvirc/kernel/kvi_irccontext.cpp b/src/kvirc/kernel/kvi_irccontext.cpp
+index 55c3998..183b46c 100644
+--- a/src/kvirc/kernel/kvi_irccontext.cpp
++++ b/src/kvirc/kernel/kvi_irccontext.cpp
+@@ -698,7 +698,7 @@ void KviIrcContext::connectionTerminated()
+ pInfo->m_bIsAway=connection()->userInfo()->isAway();
+ pInfo->m_szAwayReason=connection()->userInfo()->awayReason();
+
+- // we consider it unexpected when we haven't sent a TQUIT message and we're connected
++ // we consider it unexpected when we haven't sent a QUIT message and we're connected
+ // or alternatively when a simulation of such a termination is requested (this is used to keep the queries open etc..)
+ bool bUnexpectedDisconnect = (!(connection()->stateData()->sentQuit())) && (m_eState == KviIrcContext::Connected) ||
+ connection()->stateData()->simulateUnexpectedDisconnect();
+@@ -871,7 +871,7 @@ void KviIrcContext::terminateConnectionRequest(bool bForce,const TQString &szQui
+ if(connection())connection()->abort();
+ } else {
+ if(!bWasSentQuit)
+- m_pConsole->outputNoFmt(KVI_OUT_SYSTEMMESSAGE,__tr2qs("Sent TQUIT, waiting for the server to close the connection..."));
++ m_pConsole->outputNoFmt(KVI_OUT_SYSTEMMESSAGE,__tr2qs("Sent QUIT, waiting for the server to close the connection..."));
+ // else it was already sent anyway
+ }
+ }
+diff --git a/src/kvirc/kernel/kvi_ircsocket.cpp b/src/kvirc/kernel/kvi_ircsocket.cpp
+index 4585276..cf312b2 100644
+--- a/src/kvirc/kernel/kvi_ircsocket.cpp
++++ b/src/kvirc/kernel/kvi_ircsocket.cpp
+@@ -273,7 +273,7 @@ int KviIrcSocket::startConnection(KviIrcServer *srv,KviProxy * prx,const char *
+ // check the proxy IP address
+ if(m_pProxy->isIpV6())
+ {
+- // IpV6 proxy :) (STILL TQUITE UNTESTED ?)
++ // IpV6 proxy :) (STILL QUITE UNTESTED ?)
+ #ifdef COMPILE_IPV6_SUPPORT
+ bTargetIpV6 = true;
+ if(!kvi_isValidStringIp_V6(m_pProxy->ip()))return KviError_invalidProxyAddress;
+@@ -743,7 +743,7 @@ void KviIrcSocket::proxyLoginV5()
+ // appear in the METHODS field.
+ // The values currently defined for TQT_METHOD are:
+ //
+- // o X'00' NO AUTHENTICATION RETQUIRED
++ // o X'00' NO AUTHENTICATION REQUIRED
+ // o X'01' GSSAPI
+ // o X'02' USERNAME/PASSWORD
+ // o X'03' CHAP
+@@ -979,7 +979,7 @@ void KviIrcSocket::proxyHandleV5MethodReply(unsigned char reply)
+ //
+ // The values currently defined for TQT_METHOD are:
+ //
+- // o X'00' NO AUTHENTICATION RETQUIRED
++ // o X'00' NO AUTHENTICATION REQUIRED
+ // o X'01' GSSAPI
+ // o X'02' USERNAME/PASSWORD
+ // o X'03' CHAP
+diff --git a/src/kvirc/kernel/kvi_options.cpp b/src/kvirc/kernel/kvi_options.cpp
+index fce6137..6789f7e 100644
+--- a/src/kvirc/kernel/kvi_options.cpp
++++ b/src/kvirc/kernel/kvi_options.cpp
+@@ -338,7 +338,7 @@ KviStringOption g_stringOptionsTable[KVI_NUM_STRING_OPTIONS]=
+ STRING_OPTION("Realname",KVI_DEFAULT_REALNAME,KviOption_sectFlagUser),
+ STRING_OPTION("LocalHostIp","127.0.0.1",KviOption_sectFlagIrcSocket),
+ STRING_OPTION("PartMessage",KVI_DEFAULT_PART_MESSAGE,KviOption_sectFlagConnection),
+- STRING_OPTION("QuitMessage",KVI_DEFAULT_TQUIT_MESSAGE,KviOption_sectFlagConnection),
++ STRING_OPTION("QuitMessage",KVI_DEFAULT_QUIT_MESSAGE,KviOption_sectFlagConnection),
+ STRING_OPTION("UrlHttpCommand",RUN_THE_BROWSER,KviOption_sectFlagUrl),
+ STRING_OPTION("ExtendedPrivmsgPrefix","[",KviOption_sectFlagIrcView | KviOption_groupTheme),
+ STRING_OPTION("ExtendedPrivmsgPostfix","] ",KviOption_sectFlagIrcView | KviOption_groupTheme),
+@@ -698,7 +698,7 @@ KviMsgTypeOption g_msgtypeOptionsTable[KVI_NUM_MSGTYPE_OPTIONS]=
+ MSGTYPE_OPTION("Topic",__tr_no_lookup("Topic message"),KVI_SMALLICON_TOPIC,KVI_MSGTYPE_LEVEL_3),
+ MSGTYPE_OPTION("OwnPrivateMessage",__tr_no_lookup("Own private message"),KVI_SMALLICON_OWNPRIVMSG,KVI_MSGTYPE_LEVEL_1),
+ MSGTYPE_OPTION("ChannelPrivateMessage",__tr_no_lookup("Channel private message"),KVI_SMALLICON_CHANPRIVMSG,KVI_MSGTYPE_LEVEL_4),
+- MSGTYPE_OPTION("QueryPrivateMessage",__tr_no_lookup("Query private message"),KVI_SMALLICON_TQUERYPRIVMSG,KVI_MSGTYPE_LEVEL_4),
++ MSGTYPE_OPTION("QueryPrivateMessage",__tr_no_lookup("Query private message"),KVI_SMALLICON_QUERYPRIVMSG,KVI_MSGTYPE_LEVEL_4),
+ MSGTYPE_OPTION("CtcpReply",__tr_no_lookup("CTCP reply"),KVI_SMALLICON_CTCPREPLY,KVI_MSGTYPE_LEVEL_3),
+ MSGTYPE_OPTION("CtcpRequestReplied",__tr_no_lookup("CTCP request replied"),KVI_SMALLICON_CTCPREQUESTREPLIED,KVI_MSGTYPE_LEVEL_3),
+ MSGTYPE_OPTION("CtcpRequestIgnored",__tr_no_lookup("CTCP request ignored"),KVI_SMALLICON_CTCPREQUESTIGNORED,KVI_MSGTYPE_LEVEL_3),
+@@ -706,9 +706,9 @@ KviMsgTypeOption g_msgtypeOptionsTable[KVI_NUM_MSGTYPE_OPTIONS]=
+ MSGTYPE_OPTION("CtcpRequestUnknown",__tr_no_lookup("CTCP request unknown"),KVI_SMALLICON_CTCPREQUESTUNKNOWN,KVI_MSGTYPE_LEVEL_3),
+ MSGTYPE_OPTION("Action",__tr_no_lookup("User action"),KVI_SMALLICON_ACTION,KVI_MSGTYPE_LEVEL_3),
+ MSGTYPE_OPTION("AvatarChange",__tr_no_lookup("Avatar change"),KVI_SMALLICON_AVATAR,KVI_MSGTYPE_LEVEL_3),
+- MSGTYPE_OPTION("Quit",__tr_no_lookup("Quit message"),KVI_SMALLICON_TQUIT,KVI_MSGTYPE_LEVEL_1),
++ MSGTYPE_OPTION("Quit",__tr_no_lookup("Quit message"),KVI_SMALLICON_QUIT,KVI_MSGTYPE_LEVEL_1),
+ MSGTYPE_OPTION("Split",__tr_no_lookup("Split message"),KVI_SMALLICON_SPLIT,KVI_MSGTYPE_LEVEL_2),
+- MSGTYPE_OPTION("QuitSplit",__tr_no_lookup("Quit on netsplit message"),KVI_SMALLICON_TQUITSPLIT,KVI_MSGTYPE_LEVEL_2),
++ MSGTYPE_OPTION("QuitSplit",__tr_no_lookup("Quit on netsplit message"),KVI_SMALLICON_QUITSPLIT,KVI_MSGTYPE_LEVEL_2),
+ MSGTYPE_OPTION("Nick",__tr_no_lookup("Nick changes"),KVI_SMALLICON_NICK,KVI_MSGTYPE_LEVEL_2),
+ MSGTYPE_OPTION("Op",__tr_no_lookup("+o mode change"),KVI_SMALLICON_OP,KVI_MSGTYPE_LEVEL_2),
+ MSGTYPE_OPTION("Deop",__tr_no_lookup("-o mode change"),KVI_SMALLICON_DEOP,KVI_MSGTYPE_LEVEL_2),
+@@ -739,7 +739,7 @@ KviMsgTypeOption g_msgtypeOptionsTable[KVI_NUM_MSGTYPE_OPTIONS]=
+ MSGTYPE_OPTION("NotifyOffLine",__tr_no_lookup("Notify list leaves"),KVI_SMALLICON_NOTIFYOFFLINE,KVI_MSGTYPE_LEVEL_3),
+ MSGTYPE_OPTION("OwnPrivmsgCrypted",__tr_no_lookup("Own encrypted private message"),KVI_SMALLICON_OWNPRIVMSGCRYPTED,KVI_MSGTYPE_LEVEL_1),
+ MSGTYPE_OPTION("ChanPrivmsgCrypted",__tr_no_lookup("Channel encrypted private message"),KVI_SMALLICON_CHANPRIVMSGCRYPTED,KVI_MSGTYPE_LEVEL_3),
+- MSGTYPE_OPTION("QueryPrivmsgCrypted",__tr_no_lookup("Query encrypted private message"),KVI_SMALLICON_TQUERYPRIVMSGCRYPTED,KVI_MSGTYPE_LEVEL_3),
++ MSGTYPE_OPTION("QueryPrivmsgCrypted",__tr_no_lookup("Query encrypted private message"),KVI_SMALLICON_QUERYPRIVMSGCRYPTED,KVI_MSGTYPE_LEVEL_3),
+ MSGTYPE_OPTION("DccChatMsg",__tr_no_lookup("DCC chat message"),KVI_SMALLICON_DCCCHATMSG,KVI_MSGTYPE_LEVEL_3),
+ MSGTYPE_OPTION("DccChatMsgCrypted",__tr_no_lookup("Encrypted DCC chat message"),KVI_SMALLICON_DCCCHATMSGCRYPTED,KVI_MSGTYPE_LEVEL_3),
+ MSGTYPE_OPTION("Irc",__tr_no_lookup("Login operations completed"),KVI_SMALLICON_IRC,KVI_MSGTYPE_LEVEL_1),
+@@ -751,8 +751,8 @@ KviMsgTypeOption g_msgtypeOptionsTable[KVI_NUM_MSGTYPE_OPTIONS]=
+ MSGTYPE_OPTION("IcqMessageSent",__tr_no_lookup("Outgoing ICQ user-message"),KVI_SMALLICON_MESSAGESENT,KVI_MSGTYPE_LEVEL_1),
+ MSGTYPE_OPTION("ChannelNotice",__tr_no_lookup("Channel notice"),KVI_SMALLICON_CHANNELNOTICE,KVI_MSGTYPE_LEVEL_3),
+ MSGTYPE_OPTION("ChannelNoticeCrypted",__tr_no_lookup("Encrypted channel notice"),KVI_SMALLICON_CHANNELNOTICECRYPTED,KVI_MSGTYPE_LEVEL_3),
+- MSGTYPE_OPTION("QueryNotice",__tr_no_lookup("Query notice"),KVI_SMALLICON_TQUERYNOTICE,KVI_MSGTYPE_LEVEL_3),
+- MSGTYPE_OPTION("QueryNoticeCrypted",__tr_no_lookup("Encrypted query notice"),KVI_SMALLICON_TQUERYNOTICECRYPTED,KVI_MSGTYPE_LEVEL_3),
++ MSGTYPE_OPTION("QueryNotice",__tr_no_lookup("Query notice"),KVI_SMALLICON_QUERYNOTICE,KVI_MSGTYPE_LEVEL_3),
++ MSGTYPE_OPTION("QueryNoticeCrypted",__tr_no_lookup("Encrypted query notice"),KVI_SMALLICON_QUERYNOTICECRYPTED,KVI_MSGTYPE_LEVEL_3),
+ MSGTYPE_OPTION("ServerNotice",__tr_no_lookup("Server notice"),KVI_SMALLICON_SERVERNOTICE,KVI_MSGTYPE_LEVEL_3),
+ MSGTYPE_OPTION("HalfOp",__tr_no_lookup("Halfop mode change"),KVI_SMALLICON_HALFOP,KVI_MSGTYPE_LEVEL_2),
+ MSGTYPE_OPTION("CtcpReplyUnknown",__tr_no_lookup("Unknown CTCP reply"),KVI_SMALLICON_CTCPREPLYUNKNOWN,KVI_MSGTYPE_LEVEL_3),
+@@ -764,7 +764,7 @@ KviMsgTypeOption g_msgtypeOptionsTable[KVI_NUM_MSGTYPE_OPTIONS]=
+ MSGTYPE_OPTION("HalfDeOp",__tr_no_lookup("Half-deop mode change"),KVI_SMALLICON_HALFDEOP,KVI_MSGTYPE_LEVEL_2),
+ MSGTYPE_OPTION("Invite",__tr_no_lookup("Invite message"),KVI_SMALLICON_INVITE,KVI_MSGTYPE_LEVEL_3),
+ MSGTYPE_OPTION("Multimedia",__tr_no_lookup("Multimedia message"),KVI_SMALLICON_MULTIMEDIA,KVI_MSGTYPE_LEVEL_2),
+- MSGTYPE_OPTION("QueryTrace",__tr_no_lookup("Query trace message"),KVI_SMALLICON_TQUERYTRACE,KVI_MSGTYPE_LEVEL_1),
++ MSGTYPE_OPTION("QueryTrace",__tr_no_lookup("Query trace message"),KVI_SMALLICON_QUERYTRACE,KVI_MSGTYPE_LEVEL_1),
+ MSGTYPE_OPTION("Wallops",__tr_no_lookup("Wallops message"),KVI_SMALLICON_WALLOPS,KVI_MSGTYPE_LEVEL_3),
+ MSGTYPE_OPTION("JoinError",__tr_no_lookup("Join error message"),KVI_SMALLICON_NOCHANNEL,KVI_MSGTYPE_LEVEL_3),
+ MSGTYPE_OPTION("BroadcastPrivmsg",__tr_no_lookup("Broadcast private message"),KVI_SMALLICON_BROADCASTPRIVMSG,KVI_MSGTYPE_LEVEL_3),
+diff --git a/src/kvirc/kernel/kvi_options.h b/src/kvirc/kernel/kvi_options.h
+index 1395aba..881042c 100644
+--- a/src/kvirc/kernel/kvi_options.h
++++ b/src/kvirc/kernel/kvi_options.h
+@@ -641,14 +641,14 @@ extern KVIRC_API KviStringListOption g_stringlistOptionsTable[KVI_NUM_STRINGLIST
+ // Verbosity constants
+
+ #define KVI_VERBOSITY_LEVEL_MUTE 0
+-#define KVI_VERBOSITY_LEVEL_TQUIET 1
++#define KVI_VERBOSITY_LEVEL_QUIET 1
+ #define KVI_VERBOSITY_LEVEL_NORMAL 2
+ #define KVI_VERBOSITY_LEVEL_VERBOSE 3
+ #define KVI_VERBOSITY_LEVEL_PARANOIC 4
+
+ #define _OUTPUT_PARANOIC (KVI_OPTION_UINT(KviOption_uintOutputVerbosityLevel) >= KVI_VERBOSITY_LEVEL_PARANOIC)
+ #define _OUTPUT_VERBOSE (KVI_OPTION_UINT(KviOption_uintOutputVerbosityLevel) >= KVI_VERBOSITY_LEVEL_VERBOSE)
+-#define _OUTPUT_TQUIET (KVI_OPTION_UINT(KviOption_uintOutputVerbosityLevel) <= KVI_VERBOSITY_LEVEL_TQUIET)
++#define _OUTPUT_QUIET (KVI_OPTION_UINT(KviOption_uintOutputVerbosityLevel) <= KVI_VERBOSITY_LEVEL_QUIET)
+ #define _OUTPUT_MUTE (KVI_OPTION_UINT(KviOption_uintOutputVerbosityLevel) <= KVI_VERBOSITY_LEVEL_MUTE)
+
+ #ifdef COMPILE_USE_QT4
+diff --git a/src/kvirc/kernel/kvi_out.h b/src/kvirc/kernel/kvi_out.h
+index 9a5bdc0..7482906 100644
+--- a/src/kvirc/kernel/kvi_out.h
++++ b/src/kvirc/kernel/kvi_out.h
+@@ -50,7 +50,7 @@
+ #define KVI_OUT_TOPIC 23
+ #define KVI_OUT_OWNPRIVMSG 24
+ #define KVI_OUT_CHANPRIVMSG 25
+-#define KVI_OUT_TQUERYPRIVMSG 26
++#define KVI_OUT_QUERYPRIVMSG 26
+ #define KVI_OUT_CTCPREPLY 27
+ #define KVI_OUT_CTCPREQUESTREPLIED 28
+ #define KVI_OUT_CTCPREQUESTIGNORED 29
+@@ -58,9 +58,9 @@
+ #define KVI_OUT_CTCPREQUESTUNKNOWN 31
+ #define KVI_OUT_ACTION 32
+ #define KVI_OUT_AVATAR 33
+-#define KVI_OUT_TQUIT 34
++#define KVI_OUT_QUIT 34
+ #define KVI_OUT_SPLIT 35
+-#define KVI_OUT_TQUITSPLIT 36
++#define KVI_OUT_QUITSPLIT 36
+ #define KVI_OUT_NICK 37
+ #define KVI_OUT_OP 38
+ #define KVI_OUT_DEOP 39
+@@ -91,7 +91,7 @@
+ #define KVI_OUT_NOTIFYOFFLINE 64
+ #define KVI_OUT_OWNPRIVMSGCRYPTED 65
+ #define KVI_OUT_CHANPRIVMSGCRYPTED 66
+-#define KVI_OUT_TQUERYPRIVMSGCRYPTED 67
++#define KVI_OUT_QUERYPRIVMSGCRYPTED 67
+ #define KVI_OUT_DCCCHATMSG 68
+ #define KVI_OUT_DCCCHATMSGCRYPTED 69
+ #define KVI_OUT_IRC 70
+@@ -103,8 +103,8 @@
+ #define KVI_OUT_ICTQMESSAGESENT 76
+ #define KVI_OUT_CHANNELNOTICE 77
+ #define KVI_OUT_CHANNELNOTICECRYPTED 78
+-#define KVI_OUT_TQUERYNOTICE 79
+-#define KVI_OUT_TQUERYNOTICECRYPTED 80
++#define KVI_OUT_QUERYNOTICE 79
++#define KVI_OUT_QUERYNOTICECRYPTED 80
+ #define KVI_OUT_SERVERNOTICE 81
+ #define KVI_OUT_HALFOP 82
+ #define KVI_OUT_CTCPREPLYUNKNOWN 83
+@@ -116,7 +116,7 @@
+ #define KVI_OUT_HALFDEOP 89
+ #define KVI_OUT_INVITE 90
+ #define KVI_OUT_MULTIMEDIA 91
+-#define KVI_OUT_TQUERYTRACE 92
++#define KVI_OUT_QUERYTRACE 92
+ #define KVI_OUT_WALLOPS 93
+ #define KVI_OUT_JOINERROR 94
+ #define KVI_OUT_BROADCASTPRIVMSG 95
+diff --git a/src/kvirc/kernel/kvi_userinput.cpp b/src/kvirc/kernel/kvi_userinput.cpp
+index 0bf241d..3f4dbbc 100644
+--- a/src/kvirc/kernel/kvi_userinput.cpp
++++ b/src/kvirc/kernel/kvi_userinput.cpp
+@@ -127,7 +127,7 @@ namespace KviUserInput
+ pWindow->output(KVI_OUT_PARSERERROR,__tr2qs("You are not connected to a server"));
+ break;
+ case KVI_WINDOW_TYPE_CHANNEL:
+- case KVI_WINDOW_TYPE_TQUERY:
++ case KVI_WINDOW_TYPE_QUERY:
+ if(pWindow->connection())
+ {
+ if(KVI_OPTION_BOOL(KviOption_boolExitAwayOnInput))
+diff --git a/src/kvirc/kvs/kvi_kvs_corecallbackcommands.cpp b/src/kvirc/kvs/kvi_kvs_corecallbackcommands.cpp
+index 7a675d2..93880f5 100644
+--- a/src/kvirc/kvs/kvi_kvs_corecallbackcommands.cpp
++++ b/src/kvirc/kvs/kvi_kvs_corecallbackcommands.cpp
+@@ -347,7 +347,7 @@ namespace KviKvsCoreCallbackCommands
+ KVSCCC_PARAMETER("magic",KVS_PT_VARIANT,KVS_PF_OPTIONAL,pMagic)
+ KVSCCC_PARAMETERS_END
+
+- KVSCCC_RETQUIRE_CONNECTION
++ KVSCCC_REQUIRE_CONNECTION
+
+ KviTQCString szN = KVSCCC_pConnection->encodeText(szNick);
+
+@@ -883,7 +883,7 @@ namespace KviKvsCoreCallbackCommands
+ {
+ [comment]# We don't wait anymore :)[/comment]
+ %:state++
+- echo "Sending TQUIT..."
++ echo "Sending QUIT..."
+ return "QUIT$cr$lf"
+ }
+ break;
+diff --git a/src/kvirc/kvs/kvi_kvs_corecallbackcommands.h b/src/kvirc/kvs/kvi_kvs_corecallbackcommands.h
+index 478358d..ce77ec6 100644
+--- a/src/kvirc/kvs/kvi_kvs_corecallbackcommands.h
++++ b/src/kvirc/kvs/kvi_kvs_corecallbackcommands.h
+@@ -48,7 +48,7 @@
+ KVS_PARAMETERS_END \
+ if(!KviKvsParameterProcessor::process(KVSCCC_pParams,KVSCCC_pContext,parameter_format_list))return false;
+
+-#define KVSCCC_RETQUIRE_CONNECTION \
++#define KVSCCC_REQUIRE_CONNECTION \
+ if(!KVSCCC_pContext->window()->context())return KVSCCC_pContext->errorNoIrcContext(); \
+ if(!KVSCCC_pContext->window()->connection())return KVSCCC_pContext->warningNoIrcConnection();
+
+diff --git a/src/kvirc/kvs/kvi_kvs_corefunctions_mr.cpp b/src/kvirc/kvs/kvi_kvs_corefunctions_mr.cpp
+index 00d8d2d..6968c1e 100644
+--- a/src/kvirc/kvs/kvi_kvs_corefunctions_mr.cpp
++++ b/src/kvirc/kvs/kvi_kvs_corefunctions_mr.cpp
+@@ -496,7 +496,7 @@ namespace KviKvsCoreFunctions
+ }
+ }
+ } else {
+- if(KVSCF_pContext->window()->type() == KVI_WINDOW_TYPE_TQUERY)wnd = KVSCF_pContext->window();
++ if(KVSCF_pContext->window()->type() == KVI_WINDOW_TYPE_QUERY)wnd = KVSCF_pContext->window();
+ }
+
+ KVSCF_pRetBuffer->setInteger((kvs_int_t)(wnd ? wnd->numericId() : 0));
+diff --git a/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp b/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp
+index e56abbe..5b1c60d 100644
+--- a/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp
++++ b/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp
+@@ -73,7 +73,7 @@ namespace KviKvsCoreFunctions
+ {
+ /////////////////////////////////////////////////////////////////////////////////////////
+
+- // FIXME: #warning "THIS HAS TO WORK FOR TQUERIES TOO!"
++ // FIXME: #warning "THIS HAS TO WORK FOR QUERIES TOO!"
+ /*
+ @doc: selected
+ @type:
+diff --git a/src/kvirc/kvs/kvi_kvs_coresimplecommands.cpp b/src/kvirc/kvs/kvi_kvs_coresimplecommands.cpp
+index 97a669f..c1cc418 100644
+--- a/src/kvirc/kvs/kvi_kvs_coresimplecommands.cpp
++++ b/src/kvirc/kvs/kvi_kvs_coresimplecommands.cpp
+@@ -146,7 +146,7 @@ namespace KviKvsCoreSimpleCommands
+ KVSCSC_PARAMETER("tokens",KVS_PT_STRING,KVS_PF_APPENDREMAINING,szTokens)
+ KVSCSC_PARAMETERS_END
+
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ if(KVSCSC_pWindow->type() != KVI_WINDOW_TYPE_CHANNEL)
+ {
+@@ -222,7 +222,7 @@ namespace KviKvsCoreSimpleCommands
+ KVSCSC_PARAMETER("text",KVS_PT_STRING,KVS_PF_OPTIONAL | KVS_PF_APPENDREMAINING,szText)
+ KVSCSC_PARAMETERS_END
+
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ KviTQCString txt = KVSCSC_pConnection->encodeText(szText);
+ KviTQCString cmd = KVSCSC_pConnection->encodeText(((KviKvsTreeNodeCommand *)(KVSCSC_pContext->defaultReportLocation()))->commandName());
+diff --git a/src/kvirc/kvs/kvi_kvs_coresimplecommands.h b/src/kvirc/kvs/kvi_kvs_coresimplecommands.h
+index 9c773a9..94acbdc 100644
+--- a/src/kvirc/kvs/kvi_kvs_coresimplecommands.h
++++ b/src/kvirc/kvs/kvi_kvs_coresimplecommands.h
+@@ -46,7 +46,7 @@
+ KVS_PARAMETERS_END \
+ if(!KviKvsParameterProcessor::process(KVSCSC_pParams,KVSCSC_pContext,parameter_format_list))return false;
+
+-#define KVSCSC_RETQUIRE_CONNECTION \
++#define KVSCSC_REQUIRE_CONNECTION \
+ if(!KVSCSC_pContext->window()->context())return KVSCSC_pContext->errorNoIrcContext(); \
+ if(!KVSCSC_pContext->window()->connection())return KVSCSC_pContext->warningNoIrcConnection();
+
+diff --git a/src/kvirc/kvs/kvi_kvs_coresimplecommands_af.cpp b/src/kvirc/kvs/kvi_kvs_coresimplecommands_af.cpp
+index 398b11c..6eb820e 100644
+--- a/src/kvirc/kvs/kvi_kvs_coresimplecommands_af.cpp
++++ b/src/kvirc/kvs/kvi_kvs_coresimplecommands_af.cpp
+@@ -118,7 +118,7 @@ namespace KviKvsCoreSimpleCommands
+ KVSCSC_PARAMETER("reason",KVS_PT_STRING,KVS_PF_OPTIONAL | KVS_PF_APPENDREMAINING,szReason)
+ KVSCSC_PARAMETERS_END
+
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ if(szReason.isEmpty())szReason = KVI_OPTION_STRING(KviOption_stringAwayMessage);
+
+@@ -190,7 +190,7 @@ namespace KviKvsCoreSimpleCommands
+ ++it;
+ }
+ } else {
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ if(!(KVSCSC_pConnection->sendFmtData("AWAY")))
+ return KVSCSC_pContext->warningNoIrcConnection();
+@@ -514,7 +514,7 @@ namespace KviKvsCoreSimpleCommands
+ KVSCSC_PARAMETER("ctcp_data",KVS_PT_STRING,KVS_PF_OPTIONAL | KVS_PF_APPENDREMAINING,szCtcpData)
+ KVSCSC_PARAMETERS_END
+
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ if(KviTQString::equalCI(szCtcpData,"PING"))
+ {
+diff --git a/src/kvirc/kvs/kvi_kvs_coresimplecommands_gl.cpp b/src/kvirc/kvs/kvi_kvs_coresimplecommands_gl.cpp
+index e787cf2..c46ecb2 100644
+--- a/src/kvirc/kvs/kvi_kvs_coresimplecommands_gl.cpp
++++ b/src/kvirc/kvs/kvi_kvs_coresimplecommands_gl.cpp
+@@ -389,7 +389,7 @@ try_again:
+ KVSCSC_PARAMETER("keys",KVS_PT_STRING,KVS_PF_OPTIONAL,szKeys)
+ KVSCSC_PARAMETERS_END
+
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ TQStringList slChans = TQStringList::split(",",szChans);
+
+@@ -458,7 +458,7 @@ try_again:
+ KVSCSC_PARAMETER("reason",KVS_PT_STRING,KVS_PF_OPTIONAL | KVS_PF_APPENDREMAINING,szReason)
+ KVSCSC_PARAMETERS_END
+
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ if(KVSCSC_pWindow->type() != KVI_WINDOW_TYPE_CHANNEL)
+ {
+diff --git a/src/kvirc/kvs/kvi_kvs_coresimplecommands_mr.cpp b/src/kvirc/kvs/kvi_kvs_coresimplecommands_mr.cpp
+index e79fb9b..d398b18 100644
+--- a/src/kvirc/kvs/kvi_kvs_coresimplecommands_mr.cpp
++++ b/src/kvirc/kvs/kvi_kvs_coresimplecommands_mr.cpp
+@@ -83,12 +83,12 @@ namespace KviKvsCoreSimpleCommands
+ KVSCSC_PARAMETER("text",KVS_PT_STRING,KVS_PF_OPTIONAL | KVS_PF_APPENDREMAINING,szText)
+ KVSCSC_PARAMETERS_END
+
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ switch(KVSCSC_pWindow->type())
+ {
+ case KVI_WINDOW_TYPE_CHANNEL:
+- case KVI_WINDOW_TYPE_TQUERY:
++ case KVI_WINDOW_TYPE_QUERY:
+ case KVI_WINDOW_TYPE_DCCCHAT:
+ KVSCSC_pWindow->ownAction(szText);
+ break;
+@@ -130,7 +130,7 @@ namespace KviKvsCoreSimpleCommands
+ KVSCSC_PARAMETER("text",KVS_PT_STRING,KVS_PF_APPENDREMAINING,szText)
+ KVSCSC_PARAMETERS_END
+
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ KviTQCString szTxt = KVSCSC_pConnection->encodeText(szText);
+
+@@ -217,7 +217,7 @@ namespace KviKvsCoreSimpleCommands
+ KVSCSC_PARAMETER("nickname",KVS_PT_NONEMPTYSTRING,0,szNick)
+ KVSCSC_PARAMETERS_END
+
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ KviTQCString szData = KVSCSC_pConnection->encodeText(szNick);
+ if(!szData.data())szData = "";
+@@ -265,7 +265,7 @@ namespace KviKvsCoreSimpleCommands
+ KVSCSC_PARAMETER("text",KVS_PT_STRING,KVS_PF_OPTIONAL | KVS_PF_APPENDREMAINING,szText)
+ KVSCSC_PARAMETERS_END
+
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ KviWindow * w = KVSCSC_pConnection->findChannel(szTarget);
+ if(!w)w = KVSCSC_pConnection->findQuery(szTarget);
+@@ -705,7 +705,7 @@ namespace KviKvsCoreSimpleCommands
+ KVSCSC_PARAMETER("part_message",KVS_PT_STRING,KVS_PF_OPTIONAL | KVS_PF_APPENDREMAINING,szMsg)
+ KVSCSC_PARAMETERS_END
+
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ if(szChans.isEmpty())
+ {
+@@ -940,7 +940,7 @@ namespace KviKvsCoreSimpleCommands
+ KVSCSC_PARAMETER("text",KVS_PT_STRING,KVS_PF_OPTIONAL | KVS_PF_APPENDREMAINING,szText)
+ KVSCSC_PARAMETERS_END
+
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ KviWindow * w = KVSCSC_pConnection->findChannel(szTarget);
+ if(!w)w = KVSCSC_pConnection->findQuery(szTarget);
+@@ -1000,7 +1000,7 @@ namespace KviKvsCoreSimpleCommands
+ KVSCSC_PARAMETER("text",KVS_PT_STRING,KVS_PF_OPTIONAL | KVS_PF_APPENDREMAINING,szText)
+ KVSCSC_PARAMETERS_END
+
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ KviQuery * query;
+
+@@ -1053,21 +1053,21 @@ namespace KviKvsCoreSimpleCommands
+ !sw: -q | --quit
+ Terminates this KVIrc application instance
+ !sw: -f | --force
+- Forces the immediate termination of the current IRC session (The TQUIT message may be not sent)
++ Forces the immediate termination of the current IRC session (The QUIT message may be not sent)
+ !sw: -u | --unexpected
+ Simulates an "unexpected disconnection"
+ @description:
+ Terminates the current IRC session.[br]
+- By default this command sends a TQUIT message
++ By default this command sends a QUIT message
+ and waits for the server to close the connection.[br]
+ If you want to force KVIrc to close the connection
+- immediately after sending the TQUIT message you must use the -f switch.[br]
++ immediately after sending the QUIT message you must use the -f switch.[br]
+ Forcing the connection may cause your quit message to not be
+ displayed to the other IRC users: most likely it will be replaced
+ by a 'Connection reset by peer' or a 'EOF from client'.[br]
+ If the -u switch is specified then an "unexpected disconnection" will be simulated
+ and all the related options will be applied (e.g. automatic reconnection,
+- channels and queries kept open etc..). The TQUIT message will be still sent unless
++ channels and queries kept open etc..). The QUIT message will be still sent unless
+ the -f switch is used. You can control all the "unexpected
+ disconnection" options in the options dialog.
+ If the -q switch is specified , this command terminates KVIrc immediately.[br]
+@@ -1088,7 +1088,7 @@ namespace KviKvsCoreSimpleCommands
+ {
+ TQTimer::singleShot(0,g_pApp,TQT_SLOT(quit()));
+ } else {
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+ KVSCSC_pWindow->context()->terminateConnectionRequest(KVSCSC_pSwitches->find('f',"force"),szReason,KVSCSC_pSwitches->find('u',"unexpected"));
+ }
+ return true;
+@@ -1175,7 +1175,7 @@ namespace KviKvsCoreSimpleCommands
+ KVSCSC_PARAMETER("raw_command",KVS_PT_STRING,KVS_PF_APPENDREMAINING,szRawCommand)
+ KVSCSC_PARAMETERS_END
+
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ KviTQCString szData = KVSCSC_pConnection->encodeText(szRawCommand);
+ if(!szData.data())szData = "";
+diff --git a/src/kvirc/kvs/kvi_kvs_coresimplecommands_sz.cpp b/src/kvirc/kvs/kvi_kvs_coresimplecommands_sz.cpp
+index 85c6c5c..6bfa61a 100644
+--- a/src/kvirc/kvs/kvi_kvs_coresimplecommands_sz.cpp
++++ b/src/kvirc/kvs/kvi_kvs_coresimplecommands_sz.cpp
+@@ -595,7 +595,7 @@ namespace KviKvsCoreSimpleCommands
+ KVSCSC_PARAMETER("topic",KVS_PT_STRING,KVS_PF_OPTIONAL | KVS_PF_APPENDREMAINING,szTopic)
+ KVSCSC_PARAMETERS_END
+
+- KVSCSC_RETQUIRE_CONNECTION
++ KVSCSC_REQUIRE_CONNECTION
+
+ if(szChannel.isEmpty())
+ {
+diff --git a/src/kvirc/kvs/kvi_kvs_eventtable.cpp b/src/kvirc/kvs/kvi_kvs_eventtable.cpp
+index b2fc61b..4b8c8c9 100644
+--- a/src/kvirc/kvs/kvi_kvs_eventtable.cpp
++++ b/src/kvirc/kvs/kvi_kvs_eventtable.cpp
+@@ -842,7 +842,7 @@ KviKvsEvent KviKvsEventManager::m_appEventTable[KVI_NUM_SCRIPT_EVENTS]=
+ Console
+ @description:
+ Triggered when an user is quitting IRC.[br]
+- The TQUIT message has already been processed by the server , so
++ The QUIT message has already been processed by the server , so
+ the user is effectively no longer on IRC.
+ On the other side, it might be useful to access the user-related data from
+ this event, thus the handler is called effectively just BEFORE the
+@@ -2797,11 +2797,11 @@ channel
+ Triggered when the user requests a disconnection from
+ a server by pressing the "disconnect", by closing
+ the console or closing KVIrc. It is your last chance
+- to send some meaningful data to the server before the TQUIT message
++ to send some meaningful data to the server before the QUIT message
+ is sent. You can't prevent the user from disconnecting: [cmd]halt [/cmd]does nothing here.[br]
+ This event is useful to either give a salute to all the users
+ you were talking with or maybe to send some commands to the
+- bouncer you're connected to. Note that you can override the TQUIT
++ bouncer you're connected to. Note that you can override the QUIT
+ message sent by KVIrc by sending it by youself first.[br]
+ @seealso:
+ */
+diff --git a/src/kvirc/kvs/kvi_kvs_moduleinterface.h b/src/kvirc/kvs/kvi_kvs_moduleinterface.h
+index 0b47154..83f08ce 100644
+--- a/src/kvirc/kvs/kvi_kvs_moduleinterface.h
++++ b/src/kvirc/kvs/kvi_kvs_moduleinterface.h
+@@ -219,7 +219,7 @@ protected:
+ KVS_PARAMETERS_END \
+ if(!KviKvsParameterProcessor::process(pCall->params(),pCall->context(),parameter_format_list))return false;
+
+-#define KVSM_RETQUIRE_CONNECTION(pCall) \
++#define KVSM_REQUIRE_CONNECTION(pCall) \
+ if(!pCall->window()->context())return c->context()->errorNoIrcContext(); \
+ if(!pCall->window()->connection())return c->context()->warningNoIrcConnection();
+
+diff --git a/src/kvirc/kvs/kvi_kvs_object.cpp b/src/kvirc/kvs/kvi_kvs_object.cpp
+index e5ff0a5..87f405f 100644
+--- a/src/kvirc/kvs/kvi_kvs_object.cpp
++++ b/src/kvirc/kvs/kvi_kvs_object.cpp
+@@ -85,7 +85,7 @@
+ by the programmer; the name is just a mnemonic expedient, and
+ you may also not need it.[br][br]
+
+- Each object is identified by an [b]OPAQUE UNITQUE ID[/b].
++ Each object is identified by an [b]OPAQUE UNIQUE ID[/b].
+ The ID is assigned by KVIrc and can be held in any variable.
+ You can think the object id as a "handle for the object" or the object's pointer.
+ Any action performed on the object will require its ID.[br][br]
+diff --git a/src/kvirc/kvs/kvi_kvs_treenode_expression.cpp b/src/kvirc/kvs/kvi_kvs_treenode_expression.cpp
+index 61a4151..67edb21 100644
+--- a/src/kvirc/kvs/kvi_kvs_treenode_expression.cpp
++++ b/src/kvirc/kvs/kvi_kvs_treenode_expression.cpp
+@@ -726,7 +726,7 @@ bool KviKvsTreeNodeExpressionBinaryOperatorGreaterThan::evaluateReadOnly(KviKvsR
+ return true;
+ }
+
+-PREIMPLEMENT_BINARY_OPERATOR(KviKvsTreeNodeExpressionBinaryOperatorLowerOrEqualTo,"ExpressionBinaryOperatorLowerOrEqualTo","Expression Binary Operator \"<=\"",PREC_OP_LOWERORETQUALTO)
++PREIMPLEMENT_BINARY_OPERATOR(KviKvsTreeNodeExpressionBinaryOperatorLowerOrEqualTo,"ExpressionBinaryOperatorLowerOrEqualTo","Expression Binary Operator \"<=\"",PREC_OP_LOWEROREQUALTO)
+
+ bool KviKvsTreeNodeExpressionBinaryOperatorLowerOrEqualTo::evaluateReadOnly(KviKvsRunTimeContext * c,KviKvsVariant * pBuffer)
+ {
+@@ -738,7 +738,7 @@ bool KviKvsTreeNodeExpressionBinaryOperatorLowerOrEqualTo::evaluateReadOnly(KviK
+ return true;
+ }
+
+-PREIMPLEMENT_BINARY_OPERATOR(KviKvsTreeNodeExpressionBinaryOperatorGreaterOrEqualTo,"ExpressionBinaryOperatorGreaterOrEqualTo","Expression Binary Operator \">=\"",PREC_OP_GREATERORETQUALTO)
++PREIMPLEMENT_BINARY_OPERATOR(KviKvsTreeNodeExpressionBinaryOperatorGreaterOrEqualTo,"ExpressionBinaryOperatorGreaterOrEqualTo","Expression Binary Operator \">=\"",PREC_OP_GREATEROREQUALTO)
+
+ bool KviKvsTreeNodeExpressionBinaryOperatorGreaterOrEqualTo::evaluateReadOnly(KviKvsRunTimeContext * c,KviKvsVariant * pBuffer)
+ {
+@@ -763,7 +763,7 @@ bool KviKvsTreeNodeExpressionBinaryOperatorEqualTo::evaluateReadOnly(KviKvsRunTi
+ }
+
+
+-PREIMPLEMENT_BINARY_OPERATOR(KviKvsTreeNodeExpressionBinaryOperatorNotEqualTo,"ExpressionBinaryOperatorNotEqualTo","Expression Binary Operator \"!=\"",PREC_OP_NOTETQUALTO)
++PREIMPLEMENT_BINARY_OPERATOR(KviKvsTreeNodeExpressionBinaryOperatorNotEqualTo,"ExpressionBinaryOperatorNotEqualTo","Expression Binary Operator \"!=\"",PREC_OP_NOTEQUALTO)
+
+ bool KviKvsTreeNodeExpressionBinaryOperatorNotEqualTo::evaluateReadOnly(KviKvsRunTimeContext * c,KviKvsVariant * pBuffer)
+ {
+diff --git a/src/kvirc/kvs/kvi_kvs_treenode_expression.h b/src/kvirc/kvs/kvi_kvs_treenode_expression.h
+index 6688f5b..d4fb355 100644
+--- a/src/kvirc/kvs/kvi_kvs_treenode_expression.h
++++ b/src/kvirc/kvs/kvi_kvs_treenode_expression.h
+@@ -56,10 +56,10 @@
+
+ #define PREC_OP_EQUALTO 12 /* == */ /* Case sensitive comparison for strings or normal comp.fr numbers */
+
+-#define PREC_OP_GREATERORETQUALTO 14 /* >= */ /* Case sensitive (normal for numbers) */
+-#define PREC_OP_LOWERORETQUALTO 14 /* <= */ /* Case sensitive (normal for numbers) */
++#define PREC_OP_GREATEROREQUALTO 14 /* >= */ /* Case sensitive (normal for numbers) */
++#define PREC_OP_LOWEROREQUALTO 14 /* <= */ /* Case sensitive (normal for numbers) */
+
+-#define PREC_OP_NOTETQUALTO 15 /* != */ /* Case sensitive (normal for numbers) */
++#define PREC_OP_NOTEQUALTO 15 /* != */ /* Case sensitive (normal for numbers) */
+
+ #define PREC_OP_AND 16 /* && */
+ #define PREC_OP_OR 17 /* || */
+diff --git a/src/kvirc/sparser/kvi_antispam.cpp b/src/kvirc/sparser/kvi_antispam.cpp
+index 9aafcfb..2dcfe33 100644
+--- a/src/kvirc/sparser/kvi_antispam.cpp
++++ b/src/kvirc/sparser/kvi_antispam.cpp
+@@ -56,7 +56,7 @@
+ // Ideas:
+ // - A spam message is generally a single PRIVMSG <mynick> :<text>
+ // so this function should be (and is) called when
+-// a PRIVMSG is received from a person that has no TQUERY
++// a PRIVMSG is received from a person that has no QUERY
+ // window open yet.
+ // - 95% of spam messages contain an URL inside (http,ftp,www) or a channel name.
+ // - The other 5% contain words like auto-msg , msg me or query <nickname>
+diff --git a/src/kvirc/sparser/kvi_numeric.h b/src/kvirc/sparser/kvi_numeric.h
+index 0e05775..32e388d 100644
+--- a/src/kvirc/sparser/kvi_numeric.h
++++ b/src/kvirc/sparser/kvi_numeric.h
+@@ -280,7 +280,7 @@
+ #define ERR_WILDTOPLEVEL 414 /* "%s :Wildcard in toplevel Domain" [I,E,U,D] */
+ #define ERR_BADMASK 415 /* ??? [I] */
+ //#define ERR_TOOMANYTARGETS 416 /* Can not understand this ... but I've found it in some docs [I] */
+-#define ERR_TQUERYTOOLONG 416 /* "<target> <erroneous command> :Too many lines in the output, please restrict your query [U] */
++#define ERR_QUERYTOOLONG 416 /* "<target> <erroneous command> :Too many lines in the output, please restrict your query [U] */
+ // ERR_?????????? 417-420
+ #define ERR_UNKNOWNCOMMAND 421 /* "%s :Unknown command" [I,E,U,D] # */
+ #define ERR_NOMOTD 422 /* ":MOTD File is missing" [I,E,U,D] */
+diff --git a/src/kvirc/sparser/kvi_sp_ctcp.cpp b/src/kvirc/sparser/kvi_sp_ctcp.cpp
+index df42662..93b1b2c 100644
+--- a/src/kvirc/sparser/kvi_sp_ctcp.cpp
++++ b/src/kvirc/sparser/kvi_sp_ctcp.cpp
+@@ -24,7 +24,7 @@
+
+ #define __KVIRC__
+ // FIXME: #warning "CTCP BEEP == WAKEUP == AWAKE"
+-// FIXME: #warning "CTCP AVATARREQ or TQUERYAVATAR"
++// FIXME: #warning "CTCP AVATARREQ or QUERYAVATAR"
+
+ #include "kvi_mirccntrl.h"
+ #include "kvi_osinfo.h"
+diff --git a/src/kvirc/sparser/kvi_sp_literal.cpp b/src/kvirc/sparser/kvi_sp_literal.cpp
+index d488c8f..43efeb4 100644
+--- a/src/kvirc/sparser/kvi_sp_literal.cpp
++++ b/src/kvirc/sparser/kvi_sp_literal.cpp
+@@ -262,7 +262,7 @@ void KviServerParser::parseLiteralJoin(KviIrcMessage *msg)
+ }
+ }
+
+- // MODE %s b MUST BE THE LAST AUTOMATIC CHANNEL TQUERY
++ // MODE %s b MUST BE THE LAST AUTOMATIC CHANNEL QUERY
+ // so we get RPL_ENDOFBANLIST as the last reply
+ // and we know that the channel is in sync
+
+@@ -326,7 +326,7 @@ void KviServerParser::parseLiteralJoin(KviIrcMessage *msg)
+ {
+ if(KVI_OPTION_BOOL(KviOption_boolEnableQueryTracing))
+ {
+- q->output(KVI_OUT_TQUERYTRACE,
++ q->output(KVI_OUT_QUERYTRACE,
+ __tr2qs("\r!n\r%Q\r [%Q@\r!h\r%Q\r] has just joined \r!c\r%Q\r"),&szNick,&szUser,
+ &szHost,&channel);
+ q->notifyCommonChannels(szNick,szUser,szHost,iChans,szChans);
+@@ -422,11 +422,11 @@ void KviServerParser::parseLiteralPart(KviIrcMessage *msg)
+ if(q)
+ {
+ if(!partMsg.isEmpty())
+- q->output(KVI_OUT_TQUERYTRACE,
++ q->output(KVI_OUT_QUERYTRACE,
+ __tr2qs("\r!nc\r%Q\r [%Q@\r!h\r%Q\r] has just left \r!c\r%Q\r: %Q"),
+ &szNick,&szUser,&szHost,&szChan,&partMsg);
+ else
+- q->output(KVI_OUT_TQUERYTRACE,
++ q->output(KVI_OUT_QUERYTRACE,
+ __tr2qs("\r!nc\r%Q\r [%Q@\r!h\r%Q\r] has just left \r!c\r%Q\r"),
+ &szNick,&szUser,&szHost,&szChan);
+ q->notifyCommonChannels(szNick,szUser,szHost,iChans,szChans);
+@@ -437,14 +437,14 @@ void KviServerParser::parseLiteralPart(KviIrcMessage *msg)
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+ //
+-// TQUIT
++// QUIT
+ //
+ ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+
+ void KviServerParser::parseLiteralQuit(KviIrcMessage *msg)
+ {
+- // TQUIT
+- // :<source_mask> TQUIT :<quit message>
++ // QUIT
++ // :<source_mask> QUIT :<quit message>
+ TQString szNick,szUser,szHost;
+ msg->decodeAndSplitPrefix(szNick,szUser,szHost);
+
+@@ -548,7 +548,7 @@ void KviServerParser::parseLiteralQuit(KviIrcMessage *msg)
+ quitMsg.prepend("NETSPLIT ");
+ }
+
+- if(!msg->haltOutput())c->output(KVI_OUT_TQUIT,
++ if(!msg->haltOutput())c->output(KVI_OUT_QUIT,
+ __tr2qs("\r!n\r%Q\r [%Q@\r!h\r%Q\r] has quit IRC: %Q"),
+ &szNick,&szUser,&szHost,&quitMsg);
+ }
+@@ -565,7 +565,7 @@ void KviServerParser::parseLiteralQuit(KviIrcMessage *msg)
+ {
+ quitMsg.prepend("NETSPLIT ");
+ }
+- q->output(KVI_OUT_TQUIT,__tr2qs("\r!n\r%Q\r [%Q@\r!h\r%Q\r] has quit IRC: %Q"),
++ q->output(KVI_OUT_QUIT,__tr2qs("\r!n\r%Q\r [%Q@\r!h\r%Q\r] has quit IRC: %Q"),
+ &szNick,&szUser,&szHost,&quitMsg);
+ }
+ }
+@@ -684,7 +684,7 @@ void KviServerParser::parseLiteralKick(KviIrcMessage *msg)
+ {
+ TQString szChans;
+ int iChans = console->connection()->getCommonChannels(victim,szChans);
+- q->output(KVI_OUT_TQUERYTRACE,
++ q->output(KVI_OUT_QUERYTRACE,
+ __tr2qs("\r!n\r%Q\r [%Q@\r!h\r%Q\r] has just been kicked from \r!c\r%Q\r by \r!n\r%Q\r [%Q@\r!h\r%Q\r]: %Q"),
+ &victim,&szVUser,&szVHost,&szChan,
+ &szNick,&szUser,&szHost,&szKickMsg);
+@@ -886,7 +886,7 @@ void KviServerParser::parseLiteralPrivmsg(KviIrcMessage *msg)
+ query->userAction(szNick,szUser,szHost,KVI_USERACTION_PRIVMSG);
+ // decrypt the message if needed
+ KviStr szBuffer; const char * txtptr; int msgtype;
+- DECRYPT_IF_NEEDED(query,msg->safeTrailing(),KVI_OUT_TQUERYPRIVMSG,KVI_OUT_TQUERYPRIVMSGCRYPTED,szBuffer,txtptr,msgtype)
++ DECRYPT_IF_NEEDED(query,msg->safeTrailing(),KVI_OUT_QUERYPRIVMSG,KVI_OUT_QUERYPRIVMSGCRYPTED,szBuffer,txtptr,msgtype)
+ // trigger the script event and eventually kill the output
+ TQString szMsgText = query->decodeText(txtptr);
+ if(KVS_TRIGGER_EVENT_4_HALTED(KviEvent_OnQueryMessage,query,szNick,szUser,szHost,szMsgText))
+@@ -922,7 +922,7 @@ void KviServerParser::parseLiteralPrivmsg(KviIrcMessage *msg)
+ TQString szMsg = TQStyleSheet::escape(szMsgText);
+ #endif
+ //debug("kvi_sp_literal.cpp:908 debug: %s",szMsg.data());
+- g_pApp->notifierMessage(query,KVI_SMALLICON_TQUERYPRIVMSG,szMsg,1800);
++ g_pApp->notifierMessage(query,KVI_SMALLICON_QUERYPRIVMSG,szMsg,1800);
+ }
+ }
+ console->outputPrivmsg(query,msgtype,szNick,szUser,szHost,szMsgText,iFlags);
+@@ -963,7 +963,7 @@ void KviServerParser::parseLiteralPrivmsg(KviIrcMessage *msg)
+ }
+ }
+
+- pOut->output(KVI_OUT_TQUERYPRIVMSG,"[PRIVMSG \r!nc\r%Q\r]: %Q",&szNick,&szMsgText);
++ pOut->output(KVI_OUT_QUERYPRIVMSG,"[PRIVMSG \r!nc\r%Q\r]: %Q",&szNick,&szMsgText);
+ }
+ }
+ } else {
+@@ -1252,7 +1252,7 @@ void KviServerParser::parseLiteralNotice(KviIrcMessage *msg)
+ query->userAction(szNick,szUser,szHost,KVI_USERACTION_NOTICE);
+ // decrypt it if needed
+ KviStr szBuffer; const char * txtptr; int msgtype;
+- DECRYPT_IF_NEEDED(query,msg->safeTrailing(),KVI_OUT_TQUERYNOTICE,KVI_OUT_TQUERYNOTICECRYPTED,szBuffer,txtptr,msgtype)
++ DECRYPT_IF_NEEDED(query,msg->safeTrailing(),KVI_OUT_QUERYNOTICE,KVI_OUT_QUERYNOTICECRYPTED,szBuffer,txtptr,msgtype)
+ TQString szMsgText = query->decodeText(txtptr);
+ // trigger the script event and eventually kill the output
+ if(KVS_TRIGGER_EVENT_4_HALTED(KviEvent_OnQueryNotice,query,szNick,szUser,szHost,szMsgText))
+@@ -1280,7 +1280,7 @@ void KviServerParser::parseLiteralNotice(KviIrcMessage *msg)
+ TQString szMsg = TQStyleSheet::escape(szMsgText);
+ #endif
+ //debug("kvi_sp_literal.cpp:908 debug: %s",szMsg.data());
+- g_pApp->notifierMessage(query,KVI_SMALLICON_TQUERYNOTICE,szMsg,1800);
++ g_pApp->notifierMessage(query,KVI_SMALLICON_QUERYNOTICE,szMsg,1800);
+ }
+ }
+
+@@ -1313,7 +1313,7 @@ void KviServerParser::parseLiteralNotice(KviIrcMessage *msg)
+ }
+ }
+
+- pOut->output(KVI_OUT_TQUERYNOTICE,"*\r!n\r%Q\r* %Q",&szNick,&szMsgText);
++ pOut->output(KVI_OUT_QUERYNOTICE,"*\r!n\r%Q\r* %Q",&szNick,&szMsgText);
+ }
+ }
+ return;
+@@ -1465,15 +1465,15 @@ void KviServerParser::parseLiteralNick(KviIrcMessage *msg)
+ }
+ KviQuery * q = console->connection()->findQuery(szNick);
+ // It CAN happen that szNewNick first queries us without being
+- // on any channel then he TQUITS , he reconnects , he joins
++ // on any channel then he QUITS , he reconnects , he joins
+ // a channel with szNick , queries us and changes nick to szNewNick : gotcha!
+ // should merge the queries!
+ KviQuery * old = console->connection()->findQuery(szNewNick);
+ if(old && (old != q))
+ {
+- if(KVI_OPTION_BOOL(KviOption_boolEnableQueryTracing) && (!_OUTPUT_TQUIET))
++ if(KVI_OPTION_BOOL(KviOption_boolEnableQueryTracing) && (!_OUTPUT_QUIET))
+ {
+- old->output(KVI_OUT_TQUERYTRACE,
++ old->output(KVI_OUT_QUERYTRACE,
+ __tr2qs("The target of this query was lost and has been found when \r!n\r%Q\r [%Q@\r!h\r%Q\r] changed his nickname to \r!n\r%Q\r"),
+ &szNick,&szUser,&szHost,&szNewNick);
+ }
+diff --git a/src/kvirc/sparser/kvi_sp_numeric.cpp b/src/kvirc/sparser/kvi_sp_numeric.cpp
+index efa5220..f3429d6 100644
+--- a/src/kvirc/sparser/kvi_sp_numeric.cpp
++++ b/src/kvirc/sparser/kvi_sp_numeric.cpp
+@@ -141,7 +141,7 @@ void KviServerParser::parseNumeric004(KviIrcMessage *msg)
+ (chanmodes.occurences('t') != 1) || (chanmodes.occurences('n') != 1) ||
+ (chanmodes.contains('.')) || (chanmodes.contains('-')) || (chanmodes.contains('(')))
+ {
+- if(!_OUTPUT_TQUIET)
++ if(!_OUTPUT_QUIET)
+ {
+ msg->console()->output(KVI_OUT_SYSTEMWARNING,__tr2qs(
+ "One or more standard mode flags are missing in the server available modes.\n" \
+diff --git a/src/kvirc/ui/kvi_console.cpp b/src/kvirc/ui/kvi_console.cpp
+index e9e560b..6769d00 100644
+--- a/src/kvirc/ui/kvi_console.cpp
++++ b/src/kvirc/ui/kvi_console.cpp
+@@ -200,7 +200,7 @@ bool KviConsole::connectionInProgress()
+
+ KviConsole::~KviConsole()
+ {
+- // FIXME: #warning "WARNING : THIS SHOULD BECOME A COMMAND /TQUIT $option() so the idents are parsed!"
++ // FIXME: #warning "WARNING : THIS SHOULD BECOME A COMMAND /QUIT $option() so the idents are parsed!"
+
+ // Force connection close: it will just return if no connection is present
+ context()->terminateConnectionRequest(true);
+@@ -267,7 +267,7 @@ void KviConsole::fillContextPopup(KviTalPopupMenu * p)
+ p->insertSeparator();
+ id = p->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_CHANNEL)),__tr2qs("Part All Channels"),connection(),TQT_SLOT(partAllChannels()));
+ if(!cc)p->setItemEnabled(id,false);
+- id = p->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUERY)),__tr2qs("Close All Queries"),connection(),TQT_SLOT(closeAllQueries()));
++ id = p->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUERY)),__tr2qs("Close All Queries"),connection(),TQT_SLOT(closeAllQueries()));
+ if(!qc)p->setItemEnabled(id,false);
+ }
+
+@@ -728,7 +728,7 @@ void KviConsole::outputPrivmsg(KviWindow *wnd,
+
+ bool bIsChan = (wnd->type() == KVI_WINDOW_TYPE_CHANNEL);
+ bool bIsNotice = ((type == KVI_OUT_CHANNELNOTICE)||(type == KVI_OUT_CHANNELNOTICECRYPTED) \
+- ||(type == KVI_OUT_TQUERYNOTICE)||(type == KVI_OUT_TQUERYNOTICECRYPTED));
++ ||(type == KVI_OUT_QUERYNOTICE)||(type == KVI_OUT_QUERYNOTICECRYPTED));
+
+ TQString nick = daNick; // not that beautiful.. :/
+ TQString user = daUser;
+@@ -882,7 +882,7 @@ void KviConsole::avatarChangedUpdateWindows(const TQString &nick,const TQString
+ if(!connection())return; //ops...
+
+ // in quiet mode avoid bugging the user about avatar changes
+- bool bOut = ((!textLine.isEmpty()) && (!(_OUTPUT_TQUIET)));
++ bool bOut = ((!textLine.isEmpty()) && (!(_OUTPUT_QUIET)));
+
+ for(KviChannel * c = connection()->channelList()->first();c;c = connection()->channelList()->next())
+ {
+diff --git a/src/kvirc/ui/kvi_input.cpp b/src/kvirc/ui/kvi_input.cpp
+index 94afb59..1d5f12b 100644
+--- a/src/kvirc/ui/kvi_input.cpp
++++ b/src/kvirc/ui/kvi_input.cpp
+@@ -845,12 +845,12 @@ void KviInputEditor::mousePressEvent(TQMouseEvent *e)
+ id = g_pInputPopup->insertItem(__tr2qs("&Paste") + ACCEL_KEY(V),this,TQT_SLOT(pasteClipboardWithConfirmation()));
+ g_pInputPopup->setItemEnabled(id,!szClip.isEmpty() && !m_bReadOnly);
+ id = g_pInputPopup->insertItem(__tr2qs("Paste (Slowly)"),this,TQT_SLOT(pasteSlow()));
+- if ((type == KVI_WINDOW_TYPE_CHANNEL) || (type == KVI_WINDOW_TYPE_TQUERY) || (type == KVI_WINDOW_TYPE_DCCCHAT))
++ if ((type == KVI_WINDOW_TYPE_CHANNEL) || (type == KVI_WINDOW_TYPE_QUERY) || (type == KVI_WINDOW_TYPE_DCCCHAT))
+ g_pInputPopup->setItemEnabled(id,!szClip.isEmpty() && !m_bReadOnly);
+ else
+ g_pInputPopup->setItemEnabled(id,false);
+ id = g_pInputPopup->insertItem(__tr2qs("Paste &File") + ACCEL_KEY(F),this,TQT_SLOT(pasteFile()));
+- if ((type != KVI_WINDOW_TYPE_CHANNEL) && (type != KVI_WINDOW_TYPE_TQUERY) && (type != KVI_WINDOW_TYPE_DCCCHAT))
++ if ((type != KVI_WINDOW_TYPE_CHANNEL) && (type != KVI_WINDOW_TYPE_QUERY) && (type != KVI_WINDOW_TYPE_DCCCHAT))
+ g_pInputPopup->setItemEnabled(id,false);
+ else
+ g_pInputPopup->setItemEnabled(id,!m_bReadOnly);
+@@ -2353,7 +2353,7 @@ KviInput::KviInput(KviWindow *par,KviUserListView * view)
+ }
+ else
+ {
+- is1.setPixmap(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUITSPLIT)),TQIconSet::Small);
++ is1.setPixmap(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUITSPLIT)),TQIconSet::Small);
+ m_pHistoryButton->setIconSet(is1);
+ KviTalToolTip::add(m_pHistoryButton,__tr2qs("Input History Disabled"));
+ }
+@@ -2639,7 +2639,7 @@ void KviInput::applyOptions()
+ if(KVI_OPTION_BOOL(KviOption_boolDisableInputHistory))//G&N mar 2005
+ {
+ TQIconSet is1;
+- is1.setPixmap(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUITSPLIT)),TQIconSet::Small);
++ is1.setPixmap(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUITSPLIT)),TQIconSet::Small);
+ m_pHistoryButton->setIconSet(is1);
+ KviTalToolTip::add(m_pHistoryButton,__tr2qs("Input History Disabled"));
+ m_pHistoryButton->disconnect(TQT_SIGNAL(clicked()));
+diff --git a/src/kvirc/ui/kvi_ircview.cpp b/src/kvirc/ui/kvi_ircview.cpp
+index 1ddf275..ec65b9c 100644
+--- a/src/kvirc/ui/kvi_ircview.cpp
++++ b/src/kvirc/ui/kvi_ircview.cpp
+@@ -2285,7 +2285,7 @@ found_command_escape:
+ }
+ }
+ }
+- else if(m_pKviWindow->type()==KVI_WINDOW_TYPE_TQUERY && m_pKviWindow && line_ptr->pChunks[iCurChunk].szPayload[1]=='c')
++ else if(m_pKviWindow->type()==KVI_WINDOW_TYPE_QUERY && m_pKviWindow && line_ptr->pChunks[iCurChunk].szPayload[1]=='c')
+ {
+ TQString m_szNick = TQString((TQChar*)next_cr,term_cr-next_cr);
+ if(m_szNick==m_pKviWindow->connection()->currentNickName()) {
+@@ -2586,10 +2586,10 @@ check_emoticon_char:
+ case KVI_OUT_CHANPRIVMSG:
+ case KVI_OUT_ACTION:
+ case KVI_OUT_OWNPRIVMSG:
+- case KVI_OUT_TQUERYPRIVMSG:
+- case KVI_OUT_TQUERYPRIVMSGCRYPTED:
+- case KVI_OUT_TQUERYNOTICE:
+- case KVI_OUT_TQUERYNOTICECRYPTED:
++ case KVI_OUT_QUERYPRIVMSG:
++ case KVI_OUT_QUERYPRIVMSGCRYPTED:
++ case KVI_OUT_QUERYNOTICE:
++ case KVI_OUT_QUERYNOTICECRYPTED:
+ case KVI_OUT_CHANPRIVMSGCRYPTED:
+ case KVI_OUT_CHANNELNOTICE:
+ case KVI_OUT_CHANNELNOTICECRYPTED:
+@@ -4492,7 +4492,7 @@ void KviIrcView::mouseDoubleClickEvent(TQMouseEvent *e)
+ KVS_TRIGGER_EVENT(KviEvent_OnChannelNickDefaultActionRequest,m_pKviWindow,pParams);
+ } else bTrigger = true;
+ break;
+- case KVI_WINDOW_TYPE_TQUERY:
++ case KVI_WINDOW_TYPE_QUERY:
+ if(KviTQString::equalCI(((KviQuery *)m_pKviWindow)->windowName(),linkText))
+ {
+ KVS_TRIGGER_EVENT(KviEvent_OnQueryNickDefaultActionRequest,m_pKviWindow,pParams);
+@@ -4695,7 +4695,7 @@ void KviIrcView::mouseRealPressEvent(TQMouseEvent *e)
+ }
+ } else bTrigger = true;
+ break;
+- case KVI_WINDOW_TYPE_TQUERY:
++ case KVI_WINDOW_TYPE_QUERY:
+ if(KviTQString::equalCI(((KviQuery *)m_pKviWindow)->windowName(),linkText))
+ {
+ if(e->button() & Qt::RightButton)
+diff --git a/src/kvirc/ui/kvi_menubar.cpp b/src/kvirc/ui/kvi_menubar.cpp
+index 74bbbe7..d2104dd 100644
+--- a/src/kvirc/ui/kvi_menubar.cpp
++++ b/src/kvirc/ui/kvi_menubar.cpp
+@@ -222,8 +222,8 @@ void KviMenuBar::setupMainPopup()
+ if(m_pFrm->activeContext())
+ if(m_pFrm->activeContext()->state()==KviIrcContext::Connected)
+ {
+- int id = main->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUIT)),__tr2qs("Disconnect"),m_pFrm,TQT_SLOT(executeInternalCommand(int)));
+- main->setItemParameter(id,KVI_INTERNALCOMMAND_TQUIT);
++ int id = main->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUIT)),__tr2qs("Disconnect"),m_pFrm,TQT_SLOT(executeInternalCommand(int)));
++ main->setItemParameter(id,KVI_INTERNALCOMMAND_QUIT);
+ }
+ main->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_WORLD)),__tr2qs("New &Connection To"),m_pRecentServersPopup);
+
+@@ -242,7 +242,7 @@ void KviMenuBar::setupMainPopup()
+ #ifndef Q_OS_MACX
+ main->insertSeparator();
+
+- main->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUITAPP)),__tr2qs("&Quit"),g_pApp,TQT_SLOT(quit()));
++ main->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUITAPP)),__tr2qs("&Quit"),g_pApp,TQT_SLOT(quit()));
+ #endif //Q_OS_MACX
+ }
+
+diff --git a/src/kvirc/ui/kvi_query.cpp b/src/kvirc/ui/kvi_query.cpp
+index 0d133bd..2c1e1b8 100644
+--- a/src/kvirc/ui/kvi_query.cpp
++++ b/src/kvirc/ui/kvi_query.cpp
+@@ -63,7 +63,7 @@
+ #include "kvi_valuelist.h"
+
+ KviQuery::KviQuery(KviFrame * lpFrm,KviConsole * lpConsole,const TQString &nick)
+-: KviWindow(KVI_WINDOW_TYPE_TQUERY,lpFrm,nick,lpConsole)
++: KviWindow(KVI_WINDOW_TYPE_QUERY,lpFrm,nick,lpConsole)
+ {
+
+ m_iFlags = 0;
+@@ -118,7 +118,7 @@ KviQuery::KviQuery(KviFrame * lpFrm,KviConsole * lpConsole,const TQString &nick)
+ KviQuery::~KviQuery()
+ {
+ m_pUserListView->partAll();
+- if(type() == KVI_WINDOW_TYPE_DEADTQUERY)
++ if(type() == KVI_WINDOW_TYPE_DEADQUERY)
+ context()->unregisterDeadQuery(this);
+ else
+ connection()->unregisterQuery(this);
+@@ -316,7 +316,7 @@ void KviQuery::notifyTargetChange(const TQString &oldNick,const TQString &oldUse
+ TQString oldN = oldNick.isEmpty() ? TQString("*") : oldNick;
+ TQString oldU = oldUser.isEmpty() ? TQString("*") : oldUser;
+ TQString oldH = oldHost.isEmpty() ? TQString("*") : oldHost;
+- output(KVI_OUT_TQUERYTRACE,
++ output(KVI_OUT_QUERYTRACE,
+ __tr2qs("The target of this query has changed from \r!n\r%Q\r [%Q@\r!h\r%Q\r] to \r!n\r%Q\r [%Q@\r!h\r%Q\r]"),
+ &oldN,&oldU,&oldH,&nick,&user,&host);
+ updateLabelText();
+@@ -386,10 +386,10 @@ void KviQuery::notifyCommonChannels(const TQString &nick,const TQString &user,co
+ static TQString star("*");
+ if(iChans > 0)
+ {
+- output(KVI_OUT_TQUERYTRACE,__tr2qs("Common channels for \r!n\r%Q\r [%Q@\r!h\r%Q\r]: %Q"),
++ output(KVI_OUT_QUERYTRACE,__tr2qs("Common channels for \r!n\r%Q\r [%Q@\r!h\r%Q\r]: %Q"),
+ &nick,user.isEmpty() ? &star : &user,host.isEmpty() ? &star : &host,&szChans);
+ } else {
+- output(KVI_OUT_TQUERYTRACE,__tr2qs("No common channels for \r!n\r%Q\r [%Q@\r!h\r%Q\r]"),
++ output(KVI_OUT_QUERYTRACE,__tr2qs("No common channels for \r!n\r%Q\r [%Q@\r!h\r%Q\r]"),
+ &nick,user.isEmpty() ? &star : &user,host.isEmpty() ? &star : &host);
+ }
+ updateLabelText();
+@@ -514,7 +514,7 @@ void KviQuery::toggleListView()
+
+ void KviQuery::setDeadQuery()
+ {
+- m_iFlags |= KVI_TQUERY_FLAG_DEAD;
++ m_iFlags |= KVI_QUERY_FLAG_DEAD;
+
+ m_pUserListView->enableUpdates(false);
+ m_pUserListView->partAll();
+@@ -522,7 +522,7 @@ void KviQuery::setDeadQuery()
+ m_pUserListView->setUserDataBase(0);
+ connection()->unregisterQuery(this);
+ context()->registerDeadQuery(this);
+- setType(KVI_WINDOW_TYPE_DEADTQUERY);
++ setType(KVI_WINDOW_TYPE_DEADQUERY);
+
+ updateIcon();
+ updateCaption();
+@@ -531,9 +531,9 @@ void KviQuery::setDeadQuery()
+
+ void KviQuery::setAliveQuery()
+ {
+- m_iFlags &= ~KVI_TQUERY_FLAG_DEAD;
++ m_iFlags &= ~KVI_QUERY_FLAG_DEAD;
+ m_pUserListView->setUserDataBase(connection()->userDataBase());
+- setType(KVI_WINDOW_TYPE_TQUERY);
++ setType(KVI_WINDOW_TYPE_QUERY);
+ context()->unregisterDeadQuery(this);
+ connection()->registerQuery(this);
+ // Update log file name
+@@ -553,7 +553,7 @@ void KviQuery::applyOptions()
+
+ TQPixmap * KviQuery::myIconPtr()
+ {
+- return g_pIconManager->getSmallIcon(isDeadQuery() ? KVI_SMALLICON_DEADTQUERY : KVI_SMALLICON_TQUERY);
++ return g_pIconManager->getSmallIcon(isDeadQuery() ? KVI_SMALLICON_DEADQUERY : KVI_SMALLICON_QUERY);
+ }
+
+ void KviQuery::resizeEvent(TQResizeEvent *e)
+diff --git a/src/kvirc/ui/kvi_query.h b/src/kvirc/ui/kvi_query.h
+index 0caa698..275ab65 100644
+--- a/src/kvirc/ui/kvi_query.h
++++ b/src/kvirc/ui/kvi_query.h
+@@ -1,5 +1,5 @@
+-#ifndef _KVI_TQUERY_H_
+-#define _KVI_TQUERY_H_
++#ifndef _KVI_QUERY_H_
++#define _KVI_QUERY_H_
+ //=============================================================================
+ //
+ // File : kvi_query.h
+@@ -39,7 +39,7 @@ class KviConfig;
+ class TQSplitter;
+ class KviWindowToolPageButton;
+
+-#define KVI_TQUERY_FLAG_DEAD 1
++#define KVI_QUERY_FLAG_DEAD 1
+
+ class KVIRC_API KviQuery : public KviWindow
+ {
+@@ -65,7 +65,7 @@ protected:
+ public:
+ void setDeadQuery();
+ void setAliveQuery();
+- bool isDeadQuery(){ return m_iFlags & KVI_TQUERY_FLAG_DEAD; };
++ bool isDeadQuery(){ return m_iFlags & KVI_QUERY_FLAG_DEAD; };
+ virtual TQSize sizeHint() const;
+ virtual const TQString & target(){ return windowName(); };
+ virtual void applyOptions();
+diff --git a/src/kvirc/ui/kvi_statusbarapplet.h b/src/kvirc/ui/kvi_statusbarapplet.h
+index f29351f..f8f26c4 100644
+--- a/src/kvirc/ui/kvi_statusbarapplet.h
++++ b/src/kvirc/ui/kvi_statusbarapplet.h
+@@ -54,7 +54,7 @@ class KVIRC_API KviStatusBarAppletDescriptor : public KviHeapObject
+ friend class KviStatusBarApplet;
+ protected:
+ TQString m_szVisibleName; // visible name of the applet
+- TQString m_szInternalName; // UNITQUE name of the applet
++ TQString m_szInternalName; // UNIQUE name of the applet
+ TQString m_szPreloadModule; // name of the module that must be preloaded for this applet
+ CreateAppletCallback m_pProc; // creation callback
+ TQPixmap * m_pIcon;
+diff --git a/src/kvirc/ui/kvi_taskbar.cpp b/src/kvirc/ui/kvi_taskbar.cpp
+index 171e411..f4e8b4e 100644
+--- a/src/kvirc/ui/kvi_taskbar.cpp
++++ b/src/kvirc/ui/kvi_taskbar.cpp
+@@ -371,8 +371,8 @@ void KviTaskBarButton::drawButtonLabel(TQPainter * painter)
+ case KVI_WINDOW_TYPE_DEADCHANNEL:
+ szText = ((KviChannel *)m_pWindow)->nameWithUserFlag();
+ break;
+- case KVI_WINDOW_TYPE_TQUERY:
+- case KVI_WINDOW_TYPE_DEADTQUERY:
++ case KVI_WINDOW_TYPE_QUERY:
++ case KVI_WINDOW_TYPE_DEADQUERY:
+ szText = m_pWindow->windowName();
+ break;
+ default:
+@@ -985,8 +985,8 @@ void KviTreeTaskBarItem::paintCell(TQPainter *painter,const TQColorGroup &cg,int
+ cRect.setLeft(cRect.left() + 17);
+ }
+ break;
+- case KVI_WINDOW_TYPE_TQUERY:
+- case KVI_WINDOW_TYPE_DEADTQUERY:
++ case KVI_WINDOW_TYPE_QUERY:
++ case KVI_WINDOW_TYPE_DEADQUERY:
+ szText = m_pWindow->windowName();
+ if(KVI_OPTION_BOOL(KviOption_boolUseTaskBarIcons))
+ {
+diff --git a/src/kvirc/ui/kvi_userlistview.cpp b/src/kvirc/ui/kvi_userlistview.cpp
+index a66156c..7aa3944 100644
+--- a/src/kvirc/ui/kvi_userlistview.cpp
++++ b/src/kvirc/ui/kvi_userlistview.cpp
+@@ -230,7 +230,7 @@ void KviUserListView::emitRightClick()
+ switch(m_pKviWindow->type())
+ {
+ case KVI_WINDOW_TYPE_CHANNEL: ev = KviEvent_OnChannelNickPopupRequest; break;
+- case KVI_WINDOW_TYPE_TQUERY: ev = KviEvent_OnQueryNickPopupRequest; break;
++ case KVI_WINDOW_TYPE_QUERY: ev = KviEvent_OnQueryNickPopupRequest; break;
+ case KVI_WINDOW_TYPE_CONSOLE: ev = KviEvent_OnNotifyListPopupRequest; break;
+ default: ev = KviEvent_OnNickLinkPopupRequest; break; // this should actually never happen
+ }
+@@ -255,7 +255,7 @@ void KviUserListView::emitDoubleClick()
+ switch(m_pKviWindow->type())
+ {
+ case KVI_WINDOW_TYPE_CHANNEL: ev = KviEvent_OnChannelNickDefaultActionRequest; break;
+- case KVI_WINDOW_TYPE_TQUERY: ev = KviEvent_OnQueryNickDefaultActionRequest; break;
++ case KVI_WINDOW_TYPE_QUERY: ev = KviEvent_OnQueryNickDefaultActionRequest; break;
+ case KVI_WINDOW_TYPE_CONSOLE: ev = KviEvent_OnNotifyListDefaultActionRequest; break;
+ default: ev = KviEvent_OnNickLinkDefaultActionRequest; break; // this should actually never happen
+ }
+diff --git a/src/kvirc/ui/kvi_window.cpp b/src/kvirc/ui/kvi_window.cpp
+index e5dd8e8..98a1923 100644
+--- a/src/kvirc/ui/kvi_window.cpp
++++ b/src/kvirc/ui/kvi_window.cpp
+@@ -1377,8 +1377,8 @@ void KviWindow::internalOutput(KviIrcView * pView,int msg_type,const kvi_wchar_t
+ (
+ KVI_OPTION_BOOL(KviOption_boolHighlightOnlyNormalMsgQueryToo) &&
+ (
+- (msg_type == KVI_OUT_TQUERYPRIVMSG) || (msg_type == KVI_OUT_TQUERYTRACE) ||
+- (msg_type == KVI_OUT_TQUERYPRIVMSGCRYPTED) || (msg_type == KVI_OUT_TQUERYNOTICE) || (msg_type == KVI_OUT_TQUERYNOTICECRYPTED)
++ (msg_type == KVI_OUT_QUERYPRIVMSG) || (msg_type == KVI_OUT_QUERYTRACE) ||
++ (msg_type == KVI_OUT_QUERYPRIVMSGCRYPTED) || (msg_type == KVI_OUT_QUERYNOTICE) || (msg_type == KVI_OUT_QUERYNOTICECRYPTED)
+ )
+ )
+ ||
+diff --git a/src/kvirc/ui/kvi_window.h b/src/kvirc/ui/kvi_window.h
+index d5c2251..fb97692 100644
+--- a/src/kvirc/ui/kvi_window.h
++++ b/src/kvirc/ui/kvi_window.h
+@@ -77,7 +77,7 @@ class KviTalWidgetStack;
+
+ #define KVI_WINDOW_TYPE_CONSOLE 0
+ #define KVI_WINDOW_TYPE_CHANNEL 1
+-#define KVI_WINDOW_TYPE_TQUERY 2
++#define KVI_WINDOW_TYPE_QUERY 2
+ #define KVI_WINDOW_TYPE_HELP 3
+ #define KVI_WINDOW_TYPE_TERM 4
+ #define KVI_WINDOW_TYPE_EDITOR 5
+@@ -94,7 +94,7 @@ class KviTalWidgetStack;
+ #define KVI_WINDOW_TYPE_OFFER 16
+ #define KVI_WINDOW_TYPE_LOGVIEW 17
+ #define KVI_WINDOW_TYPE_DEADCHANNEL 18
+-#define KVI_WINDOW_TYPE_DEADTQUERY 19
++#define KVI_WINDOW_TYPE_DEADQUERY 19
+ #define KVI_WINDOW_TYPE_SCRIPTEDITOR 20
+ #define KVI_WINDOW_TYPE_SCRIPTOBJECT 21
+ #define KVI_WINDOW_TYPE_USERWINDOW 22
+diff --git a/src/modules/addon/libkviaddon.cpp b/src/modules/addon/libkviaddon.cpp
+index 9d3b0eb..41b8289 100644
+--- a/src/modules/addon/libkviaddon.cpp
++++ b/src/modules/addon/libkviaddon.cpp
+@@ -429,7 +429,7 @@ static bool addon_kvs_cmd_sethelpcallback(KviKvsModuleCallbackCommandCall * c)
+ we will adhere to that naming in certain parts of the documentation too.
+ [/p]
+ [p]
+- Each script-based addon (a set of scripts) is identified by an UNITQUE
++ Each script-based addon (a set of scripts) is identified by an UNIQUE
+ <id>. Two addons with the same <id> can't co-exist in the same
+ KVIrc installation (so be sure to choose a token characteristic enough
+ to avoid collisions with others). The <id> itself is used only for
+diff --git a/src/modules/aliaseditor/aliaseditor.cpp b/src/modules/aliaseditor/aliaseditor.cpp
+index d020105..ce95e2c 100644
+--- a/src/modules/aliaseditor/aliaseditor.cpp
++++ b/src/modules/aliaseditor/aliaseditor.cpp
+@@ -436,7 +436,7 @@ void KviAliasEditor::itemPressed(KviTalListViewItem *it,const TQPoint &pnt,int c
+ m_pContextPopup->insertSeparator();
+
+ id = m_pContextPopup->insertItem(
+- *(g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUIT)),
++ *(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUIT)),
+ __tr2qs("Remove Selected"),
+ this,TQT_SLOT(removeSelectedItems()));
+ m_pContextPopup->setItemEnabled(id,bHasSelected);
+diff --git a/src/modules/avatar/libkviavatar.cpp b/src/modules/avatar/libkviavatar.cpp
+index 8386942..0ed81a5 100644
+--- a/src/modules/avatar/libkviavatar.cpp
++++ b/src/modules/avatar/libkviavatar.cpp
+@@ -186,7 +186,7 @@ static bool avatar_kvs_cmd_set(KviKvsModuleCommandCall * c)
+ KVSM_PARAMETER("avatar",KVS_PT_NONEMPTYSTRING,KVS_PF_OPTIONAL,szAvatar)
+ KVSM_PARAMETERS_END(c)
+
+- KVSM_RETQUIRE_CONNECTION(c)
++ KVSM_REQUIRE_CONNECTION(c)
+
+ TQString absPath;
+
+@@ -275,7 +275,7 @@ static bool avatar_kvs_cmd_set(KviKvsModuleCommandCall * c)
+
+ static bool avatar_kvs_cmd_unset(KviKvsModuleCommandCall * c)
+ {
+- KVSM_RETQUIRE_CONNECTION(c)
++ KVSM_REQUIRE_CONNECTION(c)
+
+ KviIrcUserEntry * e = c->window()->connection()->userDataBase()->find(c->window()->connection()->currentNickName());
+ if(!e)
+@@ -340,7 +340,7 @@ static bool avatar_kvs_cmd_notify(KviKvsModuleCommandCall * c)
+ KVSM_PARAMETER("target",KVS_PT_NONEMPTYSTRING,0,szTarget)
+ KVSM_PARAMETERS_END(c)
+
+- KVSM_RETQUIRE_CONNECTION(c)
++ KVSM_REQUIRE_CONNECTION(c)
+
+ kvs_int_t iTimeout = (kvs_int_t)KVI_OPTION_UINT(KviOption_uintAvatarOfferTimeoutInSecs);
+ if(KviKvsVariant * pTimeout = c->switches()->find('t',"timeout"))
+@@ -450,7 +450,7 @@ static bool avatar_kvs_fnc_name(KviKvsModuleFunctionCall * c)
+ KVSM_PARAMETER("nick",KVS_PT_STRING,KVS_PF_OPTIONAL,szNick)
+ KVSM_PARAMETERS_END(c)
+
+- KVSM_RETQUIRE_CONNECTION(c)
++ KVSM_REQUIRE_CONNECTION(c)
+
+ if(szNick.isEmpty())szNick = c->window()->connection()->currentNickName();
+
+@@ -494,7 +494,7 @@ static bool avatar_kvs_fnc_path(KviKvsModuleFunctionCall * c)
+ KVSM_PARAMETER("path",KVS_PT_STRING,KVS_PF_OPTIONAL,szNick)
+ KVSM_PARAMETERS_END(c)
+
+- KVSM_RETQUIRE_CONNECTION(c)
++ KVSM_REQUIRE_CONNECTION(c)
+
+ if(szNick.isEmpty())szNick = c->window()->connection()->currentNickName();
+
+@@ -536,7 +536,7 @@ static bool avatar_kvs_cmd_query(KviKvsModuleCommandCall * c)
+ KVSM_PARAMETER("target",KVS_PT_NONEMPTYSTRING,0,szName)
+ KVSM_PARAMETERS_END(c)
+
+- KVSM_RETQUIRE_CONNECTION(c)
++ KVSM_REQUIRE_CONNECTION(c)
+
+ KviTQCString target = c->window()->connection()->encodeText(szName);
+ c->window()->connection()->sendFmtData("PRIVMSG %s :%cAVATAR%c",target.data(),0x01,0x01);
+diff --git a/src/modules/dcc/libkvidcc.cpp b/src/modules/dcc/libkvidcc.cpp
+index 03f5d30..de818ce 100644
+--- a/src/modules/dcc/libkvidcc.cpp
++++ b/src/modules/dcc/libkvidcc.cpp
+@@ -878,7 +878,7 @@ static bool dcc_kvs_cmd_rsend(KviKvsModuleCommandCall * c)
+ KVSM_PARAMETER("filename",KVS_PT_NONEMPTYSTRING,KVS_PF_OPTIONAL,szFileName)
+ KVSM_PARAMETERS_END(c)
+
+- KVSM_RETQUIRE_CONNECTION(c)
++ KVSM_REQUIRE_CONNECTION(c)
+
+ KviDccDescriptor * d = new KviDccDescriptor(c->window()->console());
+ d->szNick = szTarget;
+@@ -943,7 +943,7 @@ static bool dcc_kvs_cmd_get(KviKvsModuleCommandCall * c)
+ KVSM_PARAMETER("size",KVS_PT_UINT,KVS_PF_OPTIONAL,uSize)
+ KVSM_PARAMETERS_END(c)
+
+- KVSM_RETQUIRE_CONNECTION(c)
++ KVSM_REQUIRE_CONNECTION(c)
+
+ KviTQString::cutToLast(szFileName,'/');
+
+diff --git a/src/modules/dockwidget/libkvidockwidget_qt3.cpp b/src/modules/dockwidget/libkvidockwidget_qt3.cpp
+index d286d64..2820ce2 100644
+--- a/src/modules/dockwidget/libkvidockwidget_qt3.cpp
++++ b/src/modules/dockwidget/libkvidockwidget_qt3.cpp
+@@ -164,7 +164,7 @@ KviDockWidget::KviDockWidget(KviFrame * frm,const char * name)
+ m_pContextPopup->insertSeparator();
+ id = m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_DOCKWIDGET)),__tr2qs("Un&dock"),m_pFrm,TQT_SLOT(executeInternalCommand(int)));
+ m_pContextPopup->setItemParameter(id,KVI_INTERNALCOMMAND_DOCKWIDGET_HIDE);
+- id = m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUITAPP)),__tr2qs("&Quit"),g_pApp,TQT_SLOT(quit()));
++ id = m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUITAPP)),__tr2qs("&Quit"),g_pApp,TQT_SLOT(quit()));
+ m_pContextPopup->setAccel(__tr2qs("Ctrl+Q"),id);
+ connect(m_pContextPopup,TQT_SIGNAL(aboutToShow()),this,TQT_SLOT(fillContextPopup()));
+ }
+@@ -554,7 +554,7 @@ void KviDockWidget::grabActivityInfo()
+ case KVI_WINDOW_TYPE_CHANNEL:
+ if(m_iChannels < iLevel) m_iChannels = iLevel;
+ break;
+- case KVI_WINDOW_TYPE_TQUERY:
++ case KVI_WINDOW_TYPE_QUERY:
+ if(m_iQueries < iLevel) m_iQueries = iLevel;
+ break;
+ default:
+@@ -581,7 +581,7 @@ void KviDockWidget::grabActivityInfo()
+ case KVI_WINDOW_TYPE_CHANNEL:
+ if(m_iChannels < iLevel) m_iChannels = iLevel;
+ break;
+- case KVI_WINDOW_TYPE_TQUERY:
++ case KVI_WINDOW_TYPE_QUERY:
+ if(m_iQueries < iLevel) m_iQueries = iLevel;
+ break;
+ default:
+diff --git a/src/modules/dockwidget/libkvidockwidget_qt4.cpp b/src/modules/dockwidget/libkvidockwidget_qt4.cpp
+index 54033af..48555c7 100644
+--- a/src/modules/dockwidget/libkvidockwidget_qt4.cpp
++++ b/src/modules/dockwidget/libkvidockwidget_qt4.cpp
+@@ -108,7 +108,7 @@ KviDockWidget::KviDockWidget(KviFrame * frm)
+ m_pContextPopup->insertSeparator();
+ id = m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_DOCKWIDGET)),__tr2qs("Un&dock"),m_pFrm,TQT_SLOT(executeInternalCommand(int)));
+ m_pContextPopup->setItemParameter(id,KVI_INTERNALCOMMAND_DOCKWIDGET_HIDE);
+- id = m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUITAPP)),__tr2qs("&Quit"),g_pApp,TQT_SLOT(quit()));
++ id = m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUITAPP)),__tr2qs("&Quit"),g_pApp,TQT_SLOT(quit()));
+ m_pContextPopup->setAccel(__tr2qs("Ctrl+Q"),id);
+ connect(m_pContextPopup,TQT_SIGNAL(aboutToShow()),this,TQT_SLOT(fillContextPopup()));
+
+@@ -412,7 +412,7 @@ void KviDockWidget::grabActivityInfo()
+ case KVI_WINDOW_TYPE_CHANNEL:
+ if(m_iChannels < iLevel) m_iChannels = iLevel;
+ break;
+- case KVI_WINDOW_TYPE_TQUERY:
++ case KVI_WINDOW_TYPE_QUERY:
+ if(m_iQueries < iLevel) m_iQueries = iLevel;
+ break;
+ default:
+@@ -439,7 +439,7 @@ void KviDockWidget::grabActivityInfo()
+ case KVI_WINDOW_TYPE_CHANNEL:
+ if(m_iChannels < iLevel) m_iChannels = iLevel;
+ break;
+- case KVI_WINDOW_TYPE_TQUERY:
++ case KVI_WINDOW_TYPE_QUERY:
+ if(m_iQueries < iLevel) m_iQueries = iLevel;
+ break;
+ default:
+diff --git a/src/modules/eventeditor/eventeditor.cpp b/src/modules/eventeditor/eventeditor.cpp
+index 3a6b6b2..8c13eac 100644
+--- a/src/modules/eventeditor/eventeditor.cpp
++++ b/src/modules/eventeditor/eventeditor.cpp
+@@ -156,7 +156,7 @@ void KviEventEditor::itemPressed(KviTalListViewItem *it,const TQPoint &pnt,int c
+ //m_pContextPopup->setItemChecked(id,((KviEventHandlerListViewItem *)it)->m_bEnabled);
+
+ m_pContextPopup->insertItem(
+- *(g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUIT)),
++ *(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUIT)),
+ __tr2qs("Re&move Handler"),
+ this,TQT_SLOT(removeCurrentHandler()));
+ m_pContextPopup->insertItem(
+diff --git a/src/modules/logview/logviewmdiwindow.cpp b/src/modules/logview/logviewmdiwindow.cpp
+index 84a6711..7efa17f 100644
+--- a/src/modules/logview/logviewmdiwindow.cpp
++++ b/src/modules/logview/logviewmdiwindow.cpp
+@@ -378,7 +378,7 @@ void KviLogViewMDIWindow::rightButtonClicked ( KviTalListViewItem * it, const TQ
+ if(!it) return;
+ if(((KviLogListViewItem *)it)->fileName(0).isEmpty()) return;
+ KviTalPopupMenu* popup = new KviTalPopupMenu(this);
+- popup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUIT)),__tr2qs_ctx("Remove file","logview"),this,TQT_SLOT(deleteCurrent()));
++ popup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUIT)),__tr2qs_ctx("Remove file","logview"),this,TQT_SLOT(deleteCurrent()));
+ popup->exec( TQCursor::pos() );
+ }
+
+diff --git a/src/modules/logview/logviewwidget.cpp b/src/modules/logview/logviewwidget.cpp
+index 31da503..11070b5 100644
+--- a/src/modules/logview/logviewwidget.cpp
++++ b/src/modules/logview/logviewwidget.cpp
+@@ -45,7 +45,7 @@ const TQPixmap * KviLogListViewItemType::pixmap(int col) const
+ case KviLogFile::Channel:
+ return g_pIconManager->getSmallIcon(KVI_SMALLICON_CHANNEL);
+ case KviLogFile::Query:
+- return g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUERY);
++ return g_pIconManager->getSmallIcon(KVI_SMALLICON_QUERY);
+ case KviLogFile::DccChat:
+ return g_pIconManager->getSmallIcon(KVI_SMALLICON_DCCMSG);
+ case KviLogFile::Console:
+diff --git a/src/modules/mediaplayer/mp_winampinterface.cpp b/src/modules/mediaplayer/mp_winampinterface.cpp
+index 7820dbb..c41b1ba 100644
+--- a/src/modules/mediaplayer/mp_winampinterface.cpp
++++ b/src/modules/mediaplayer/mp_winampinterface.cpp
+@@ -156,7 +156,7 @@
+ #define WINAMP_CMD_STOP WINAMP_BUTTON4
+ #define WINAMP_CMD_NEXT WINAMP_BUTTON5
+
+-#define WINAMP_CMD_TQUIT 40001
++#define WINAMP_CMD_QUIT 40001
+
+ #define KVIRC_WM_USER 63112
+
+@@ -237,7 +237,7 @@ MP_WINAMP_WM_COMMAND(stop,WINAMP_CMD_STOP)
+ MP_WINAMP_WM_COMMAND(next,WINAMP_CMD_NEXT)
+ MP_WINAMP_WM_COMMAND(prev,WINAMP_CMD_PREV)
+ MP_WINAMP_WM_COMMAND(pause,WINAMP_CMD_PAUSE)
+-MP_WINAMP_WM_COMMAND(quit,WINAMP_CMD_TQUIT)
++MP_WINAMP_WM_COMMAND(quit,WINAMP_CMD_QUIT)
+
+
+ int KviWinampInterface::length()
+diff --git a/src/modules/notifier/notifierwindow.cpp b/src/modules/notifier/notifierwindow.cpp
+index bbc1298..6998912 100644
+--- a/src/modules/notifier/notifierwindow.cpp
++++ b/src/modules/notifier/notifierwindow.cpp
+@@ -1253,10 +1253,10 @@ void KviNotifierWindow::fillContextPopup()
+ m_pDisablePopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_TIME)),__tr2qs_ctx("30 Minutes","notifier"),this,TQT_SLOT(disableFor30Minutes()));
+ m_pDisablePopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_TIME)),__tr2qs_ctx("1 Hour","notifier"),this,TQT_SLOT(disableFor60Minutes()));
+ m_pDisablePopup->insertSeparator();
+- m_pDisablePopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUIT)),__tr2qs_ctx("Until KVIrc is Restarted","notifier"),this,TQT_SLOT(disableUntilKVIrcRestarted()));
+- m_pDisablePopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUIT)),__tr2qs_ctx("Permanently (Until Explicitly Enabled)","notifier"),this,TQT_SLOT(disablePermanently()));
++ m_pDisablePopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUIT)),__tr2qs_ctx("Until KVIrc is Restarted","notifier"),this,TQT_SLOT(disableUntilKVIrcRestarted()));
++ m_pDisablePopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUIT)),__tr2qs_ctx("Permanently (Until Explicitly Enabled)","notifier"),this,TQT_SLOT(disablePermanently()));
+
+- m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUIT)),__tr2qs_ctx("Disable","notifier"),m_pDisablePopup);
++ m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUIT)),__tr2qs_ctx("Disable","notifier"),m_pDisablePopup);
+ }
+
+ void KviNotifierWindow::disableFor15Minutes()
+diff --git a/src/modules/options/optw_connection.cpp b/src/modules/options/optw_connection.cpp
+index d6990c9..21c1192 100644
+--- a/src/modules/options/optw_connection.cpp
++++ b/src/modules/options/optw_connection.cpp
+@@ -76,11 +76,11 @@ KviConnectionOptionsWidget::KviConnectionOptionsWidget(TQWidget * parent)
+ #ifdef COMPILE_INFO_TIPS
+ mergeTip(b,__tr2qs_ctx("<center>This option will enable auto-reconnecting after an unexpected disconnect. " \
+ "An unexpected disconnect is the <b>termination</b> of a <b>fully connected IRC session</b> " \
+- "that was <b>not requested by the user</b> by the means of the TQUIT message." \
+- "<p><b>Warning:</b> If you use /RAW to send a TQUIT message to the server, " \
++ "that was <b>not requested by the user</b> by the means of the QUIT message." \
++ "<p><b>Warning:</b> If you use /RAW to send a QUIT message to the server, " \
+ "this option will not behave correctly, since does not detect the outgoing " \
+ "QUIT message and will attempt to reconnect after the server has closed the connection. " \
+- "For this reason, always use the /TQUIT command to close your connections. " \
++ "For this reason, always use the /QUIT command to close your connections. " \
+ "This option may also behave incorrectly with bouncers that support " \
+ "detaching, in this case a solution could be to prepare an alias that sends the " \
+ "bouncer \"detach\" command immediately before the \"quit\" command.<br>" \
+diff --git a/src/modules/options/optw_irc.cpp b/src/modules/options/optw_irc.cpp
+index a6cee9d..71b6095 100644
+--- a/src/modules/options/optw_irc.cpp
++++ b/src/modules/options/optw_irc.cpp
+@@ -76,10 +76,10 @@ KviIrcAdvancedOptionsWidget::KviIrcAdvancedOptionsWidget(TQWidget * parent)
+ #ifdef COMPILE_INFO_TIPS
+ mergeTip(b,
+ __tr2qs_ctx("<center>This option causes KVIrc to close " \
+- "the connection immediately after sending the TQUIT message.<br>" \
++ "the connection immediately after sending the QUIT message.<br>" \
+ "When this option is disabled, KVIrc will wait for the server " \
+ "to close the connection.<br>" \
+- "Note that if you use this, your TQUIT message may be not displayed.</center>","options"));
++ "Note that if you use this, your QUIT message may be not displayed.</center>","options"));
+ #endif
+ addBoolSelector(0,1,0,1,__tr2qs_ctx("Prepend gender info to realname","options"),KviOption_boolPrependGenderInfoToRealname);
+ }
+diff --git a/src/modules/options/optw_query.h b/src/modules/options/optw_query.h
+index 215ba37..dde374f 100644
+--- a/src/modules/options/optw_query.h
++++ b/src/modules/options/optw_query.h
+@@ -1,5 +1,5 @@
+-#ifndef _OPTW_TQUERY_H_
+-#define _OPTW_TQUERY_H_
++#ifndef _OPTW_QUERY_H_
++#define _OPTW_QUERY_H_
+ //
+ // File : optw_query.h
+ // Creation date : Tue Mar 05 22:31:18 2002 GMT by Szymon Stefanek
+@@ -24,7 +24,7 @@
+
+ #include "kvi_optionswidget.h"
+
+-#define KVI_OPTIONS_WIDGET_ICON_KviQueryOptionsWidget KVI_SMALLICON_TQUERY
++#define KVI_OPTIONS_WIDGET_ICON_KviQueryOptionsWidget KVI_SMALLICON_QUERY
+ #define KVI_OPTIONS_WIDGET_NAME_KviQueryOptionsWidget __tr2qs_no_lookup("Query")
+ #define KVI_OPTIONS_WIDGET_PARENT_KviQueryOptionsWidget KviIrcOptionsWidget
+ #define KVI_OPTIONS_WIDGET_KEYWORDS_KviQueryOptionsWidget __tr2qs_no_lookup("chat")
+diff --git a/src/modules/popupeditor/popupeditor.cpp b/src/modules/popupeditor/popupeditor.cpp
+index dd1cf24..3402681 100644
+--- a/src/modules/popupeditor/popupeditor.cpp
++++ b/src/modules/popupeditor/popupeditor.cpp
+@@ -1101,7 +1101,7 @@ void KviPopupEditor::itemPressed(KviTalListViewItem *it,const TQPoint &pnt,int c
+
+ m_pContextPopup->setItemEnabled(
+ m_pContextPopup->insertItem(
+- *(g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUIT)),
++ *(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUIT)),
+ __tr2qs("Re&move Popup"),
+ this,TQT_SLOT(removeCurrentPopup())),
+ it);
+diff --git a/src/modules/raweditor/raweditor.cpp b/src/modules/raweditor/raweditor.cpp
+index 123675b..4978726 100644
+--- a/src/modules/raweditor/raweditor.cpp
++++ b/src/modules/raweditor/raweditor.cpp
+@@ -158,7 +158,7 @@ void KviRawEditor::itemPressed(KviTalListViewItem *it,const TQPoint &pnt,int col
+ __tr2qs("&Disable Handler"),this,TQT_SLOT(toggleCurrentHandlerEnabled()));
+
+ m_pContextPopup->insertItem(
+- *(g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUIT)),
++ *(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUIT)),
+ __tr2qs("Re&move Handler"),
+ this,TQT_SLOT(removeCurrentHandler()));
+ m_pContextPopup->insertItem(
+diff --git a/src/modules/setup/libkvisetup.cpp b/src/modules/setup/libkvisetup.cpp
+index d5989c9..0fc0495 100644
+--- a/src/modules/setup/libkvisetup.cpp
++++ b/src/modules/setup/libkvisetup.cpp
+@@ -77,7 +77,7 @@ KVIMODULEEXPORTFUNC void setup_finish()
+ // Reset the quit message and the real name... if they contain the KVIrc version
+ // then probably the user hasn't even edited them.
+ if(KVI_OPTION_STRING(KviOption_stringQuitMessage).find("KVIrc",0,false) != -1)
+- KVI_OPTION_STRING(KviOption_stringQuitMessage) = KVI_DEFAULT_TQUIT_MESSAGE;
++ KVI_OPTION_STRING(KviOption_stringQuitMessage) = KVI_DEFAULT_QUIT_MESSAGE;
+ // We deserve to change the user's part message in something nice :)
+ KVI_OPTION_STRING(KviOption_stringPartMessage) = KVI_DEFAULT_PART_MESSAGE;
+
+diff --git a/src/modules/setup/setupwizard.cpp b/src/modules/setup/setupwizard.cpp
+index dd0e8a9..20ca97b 100644
+--- a/src/modules/setup/setupwizard.cpp
++++ b/src/modules/setup/setupwizard.cpp
+@@ -588,9 +588,9 @@ KviSetupWizard::KviSetupWizard()
+ }
+
+ //mIRC import
+- #define TQUERY_BUFFER 2048
++ #define QUERY_BUFFER 2048
+ char* buffer;
+- DWORD len = TQUERY_BUFFER;
++ DWORD len = QUERY_BUFFER;
+ buffer = (char*)malloc(len*sizeof(char));
+ HKEY hKey;
+ TQString szMircDir;
+@@ -796,7 +796,7 @@ void KviSetupWizard::makeLink()
+ // Dig in the registry looking up the Desktop path
+ if(RegOpenKeyEx(HKEY_CURRENT_USER,
+ "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders",
+- 0,KEY_TQUERY_VALUE,&hCU) == ERROR_SUCCESS)
++ 0,KEY_QUERY_VALUE,&hCU) == ERROR_SUCCESS)
+ {
+ RegQueryValueEx(hCU,"Desktop",NULL,&lpType,
+ (unsigned char *)&szLink,&ulSize);
+diff --git a/src/modules/spaste/libkvispaste.cpp b/src/modules/spaste/libkvispaste.cpp
+index d22fbb7..92a28a3 100644
+--- a/src/modules/spaste/libkvispaste.cpp
++++ b/src/modules/spaste/libkvispaste.cpp
+@@ -63,7 +63,7 @@ static KviWindow * spaste_kvs_find_window(TQString &win, KviKvsModuleCommandCall
+ c->warning(__tr("Window with ID '%Q' not found"),&win);
+ return 0;
+ }
+- if((w->type() == KVI_WINDOW_TYPE_CHANNEL) || (w->type() == KVI_WINDOW_TYPE_TQUERY) || (w->type() == KVI_WINDOW_TYPE_DCCCHAT))return w;
++ if((w->type() == KVI_WINDOW_TYPE_CHANNEL) || (w->type() == KVI_WINDOW_TYPE_QUERY) || (w->type() == KVI_WINDOW_TYPE_DCCCHAT))return w;
+ c->warning(__tr2qs("The specified window (%Q) is not a channel/query/DCC chat"),&win);
+ return 0;
+ }
+@@ -212,7 +212,7 @@ static bool spaste_kvs_cmd_stop(KviKvsModuleCommandCall * c)
+
+ if(!iId) //Delete all spaste's from the current window
+ {
+- if((c->window()->type() != KVI_WINDOW_TYPE_CHANNEL) && (c->window()->type() != KVI_WINDOW_TYPE_TQUERY) && (c->window()->type() != KVI_WINDOW_TYPE_DCCCHAT))
++ if((c->window()->type() != KVI_WINDOW_TYPE_CHANNEL) && (c->window()->type() != KVI_WINDOW_TYPE_QUERY) && (c->window()->type() != KVI_WINDOW_TYPE_DCCCHAT))
+ {
+ TQString szWinId = c->window()->id();
+ c->warning(__tr2qs("The specified window (%Q) is not a channel/query/dcc"),&szWinId);
diff --git a/redhat/applications/kvirc/kvirc-3.5.13-fix_acinclude_m4.patch b/redhat/applications/kvirc/kvirc-3.5.13-fix_acinclude_m4.patch
new file mode 100644
index 000000000..b06570d73
--- /dev/null
+++ b/redhat/applications/kvirc/kvirc-3.5.13-fix_acinclude_m4.patch
@@ -0,0 +1,66 @@
+diff -u a/acinclude.m4 b/acinclude.m4
+--- a/acinclude.m4
++++ b/acinclude.m4
+@@ -2149,7 +2149,7 @@
+ if test -n "$KDEDIR"; then
+ ss_kde_general_test_dirs="$KDEDIR $ss_kde_general_test_dirs"
+ fi
+- ss_kde_general_test_path_suffix="kde kde3.0 kde3 KDE Kde KDE3 kde3 ."
++ ss_kde_general_test_path_suffix="trinity kde kde3.0 kde3 KDE Kde KDE3 kde3 ."
+
+ AC_SS_FIND_FILE_PATH_EXT($SS_KDE_GENERAL_FILE_TO_SEARCH,$ss_kde_general_test_dirs,$ss_kde_general_test_path_suffix,SS_KDE_GENERAL_DIR)
+
+@@ -2524,7 +2524,7 @@
+
+ if test -n "$SS_OTHER_LIBDIRS"; then
+ SS_LIBDIRS="$SS_LIBDIRS $SS_OTHER_LIBDIRS"
+- $SS_OTHER_LIBDIRS=`echo "$SS_OTHER_LIBDIRS" | sed -e s/-L//g`
++ SS_OTHER_LIBDIRS=`echo "$SS_OTHER_LIBDIRS" | sed -e s/-L//g`
+ SS_RPATH="$SS_RPATH -rpath $SS_OTHER_LIBDIRS"
+ fi
+
+diff -u a/admin/acinclude.m4.in b/admin/acinclude.m4.in
+--- a/admin/acinclude.m4.in
++++ b/admin/acinclude.m4.in
+@@ -2149,7 +2149,7 @@
+ if test -n "$KDEDIR"; then
+ ss_kde_general_test_dirs="$KDEDIR $ss_kde_general_test_dirs"
+ fi
+- ss_kde_general_test_path_suffix="kde kde3.0 kde3 KDE Kde KDE3 kde3 ."
++ ss_kde_general_test_path_suffix="trinity kde kde3.0 kde3 KDE Kde KDE3 kde3 ."
+
+ AC_SS_FIND_FILE_PATH_EXT($SS_KDE_GENERAL_FILE_TO_SEARCH,$ss_kde_general_test_dirs,$ss_kde_general_test_path_suffix,SS_KDE_GENERAL_DIR)
+
+@@ -2524,7 +2524,7 @@
+
+ if test -n "$SS_OTHER_LIBDIRS"; then
+ SS_LIBDIRS="$SS_LIBDIRS $SS_OTHER_LIBDIRS"
+- $SS_OTHER_LIBDIRS=`echo "$SS_OTHER_LIBDIRS" | sed -e s/-L//g`
++ SS_OTHER_LIBDIRS=`echo "$SS_OTHER_LIBDIRS" | sed -e s/-L//g`
+ SS_RPATH="$SS_RPATH -rpath $SS_OTHER_LIBDIRS"
+ fi
+
+diff -u a/src/modules/mediaplayer/Makefile.am b/src/modules/mediaplayer/Makefile.am
+--- a/src/modules/mediaplayer/Makefile.am
++++ b/src/modules/mediaplayer/Makefile.am
+@@ -10,7 +10,7 @@
+ #%.moc: %.h
+ # $(SS_QT_MOC) $< -o $@
+
+-libkvimediaplayer_la_LDFLAGS = -avoid-version -module
++libkvimediaplayer_la_LDFLAGS = -avoid-version -module $(SS_LDFLAGS) $(SS_LIBDIRS)
+
+ libkvimediaplayer_la_SOURCES = libkvimediaplayer.cpp \
+ mp_amarokinterface.cpp \
+diff -u a/src/modules/torrent/Makefile.am b/src/modules/torrent/Makefile.am
+--- a/src/modules/torrent/Makefile.am
++++ b/src/modules/torrent/Makefile.am
+@@ -10,7 +10,7 @@
+ #%.moc: %.h
+ # $(SS_QT_MOC) $< -o $@
+
+-libkvitorrent_la_LDFLAGS = -avoid-version -module
++libkvitorrent_la_LDFLAGS = -avoid-version -module $(SS_LDFLAGS) $(SS_LIBDIRS)
+
+ libkvitorrent_la_SOURCES = libkvitorrent.cpp \
+ tc_interface.cpp \
diff --git a/redhat/applications/kvirc/trinity-kvirc.spec b/redhat/applications/kvirc/trinity-kvirc.spec
index 1d4de4b88..4da540dee 100644
--- a/redhat/applications/kvirc/trinity-kvirc.spec
+++ b/redhat/applications/kvirc/trinity-kvirc.spec
@@ -1,12 +1,13 @@
# Default version for this component
%define kdecomp kvirc
%define version 3.4.0
-%define release 1
+%define release 2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
-%define _docdir %{_prefix}/share/doc
+%define _docdir %{_datadir}/doc
+%define _mandir %{_datadir}/man
%endif
# TDE 3.5.13 specific building variables
@@ -32,9 +33,30 @@ Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{kdecomp}-3.5.13.tar.gz
+
+# [kvirc] Modules do not install in correct folder [RHEL/Fedora]
Patch0: kvirc-3.5.13-directories.patch
+# [kvirc] FTBFS because of missing link libraries [Bug #991]
Patch1: kvirc-3.5.13-ftbfs.patch
+# [kvirc] Rename old tq methods that no longer need a unique name [Commit #32a249ba]
+Patch2: bp000-32a249ba.diff
+# [kvirc] Remove additional unneeded tq method conversions [Commit #f9114981]
+Patch3: bp001-f9114981.diff
+# [kvirc] Rename obsolete tq methods to standard names [Commit #2dd6d32b]
+Patch4: bp002-2dd6d32b.diff
+# [kvirc] Rename a few stragglers [Commit #1c00d6ff]
+Patch5: bp003-1c00d6ff.diff
+# [kvirc] Fix FTBFS [Commits #ff96f491, #2285efe5]
+Patch6: bp004-ff96f491.diff
+Patch7: bp005-2285efe5.diff
+# [kvirc] Fix linear alphabet string errors [Commit #51bbe9e5]
+Patch8: bp006-51bbe9e5.diff
+# [kvirc] Fix inadvertent "TQ" changes. [Commit #a24a8595]
+Patch9: bp007-a24a8595.diff
+# [kvirc] Fix "acinclude.m4" file [Bug #980]
+Patch10: kvirc-3.5.13-fix_acinclude_m4.patch
+
BuildRequires: tqtinterface-devel
BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdebase-devel
@@ -86,21 +108,30 @@ with the K Desktop Environment version 3.
%setup -q -n applications/%{kdecomp}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
- -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \
- -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g"
+ -e "s|/usr/include/tqt|%{_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_docdir}/HTML'|g"
# Hardcoded absolute PATH to KDEDIR in source code ! That sucks !
-%__sed -i src/kvirc/kernel/kvi_app_fs.cpp \
- -e "s,/opt/kde3/lib,%{_prefix}/%{_lib},g"
-%__sed -i src/kvirc/kernel/kvi_app_setup.cpp \
- -e "s,/opt/kde3,%{_prefix},g"
+%__sed -i "src/kvirc/kernel/kvi_app_fs.cpp" \
+ -e "s|/opt/kde3/lib|%{_prefix}/%{_lib}|g"
+%__sed -i "src/kvirc/kernel/kvi_app_setup.cpp" \
+ -e "s|/opt/kde3|%{_prefix}|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
-%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
./autogen.sh
@@ -115,8 +146,8 @@ export KDEDIR=%{_prefix}
--enable-perl --with-pic --enable-wall \
--with-ix86-asm \
--with-qt-moc=%{_bindir}/tmoc \
- --with-extra-includes=%{_includedir}/tqt \
- --with-kde-services-dir=%{_datadir}/services \
+ --with-extra-includes=%{_includedir}/tqt \
+ --with-kde-services-dir=%{_datadir}/services \
--with-kde-library-dir=%{_libdir} \
--with-kde-include-dir=%{_includedir}
@@ -165,11 +196,11 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%{_bindir}/kvi_search_help
%{_libdir}/kvirc/*/modules/caps/
%{_datadir}/applnk/Internet/kvirc.desktop
-%{_datadir}/icons/hicolor/
+%{_datadir}/icons/hicolor/*
%{_datadir}/kvirc
%{_datadir}/mimelnk/text/*.desktop
%{_datadir}/services/*.protocol
-%{_mandir}/man1/kvirc.1.gz
+%{_mandir}/man1/kvirc.1
%files devel
%defattr(-,root,root,-)
@@ -181,5 +212,17 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%Changelog
+* Sat May 05 2012 Francois Andriot <francois.andriot@free.fr> - 3.4.0-2
+- Rebuilt for Fedora 17
+- Fix HTML directory location
+- Rename old tq methods that no longer need a unique name [Commit #32a249ba]
+- Remove additional unneeded tq method conversions [Commit #f9114981]
+- Rename obsolete tq methods to standard names [Commit #2dd6d32b]
+- Rename a few stragglers [Commit #1c00d6ff]
+- Fix FTBFS [Commits #ff96f491, #2285efe5]
+- Fix linear alphabet string errors [Commit #51bbe9e5]
+- Fix inadvertent "TQ" changes. [Commit #a24a8595]
+- Fix "acinclude.m4" file [Bug #980]
+
* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 3.4.0-1
- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16