summaryrefslogtreecommitdiffstats
path: root/src/modules/sharedfileswindow/libkvisharedfileswindow.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/sharedfileswindow/libkvisharedfileswindow.cpp
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz
kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip
TQt4 port kvirc
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/sharedfileswindow/libkvisharedfileswindow.cpp')
-rw-r--r--src/modules/sharedfileswindow/libkvisharedfileswindow.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/sharedfileswindow/libkvisharedfileswindow.cpp b/src/modules/sharedfileswindow/libkvisharedfileswindow.cpp
index a7cab111..48e81dc8 100644
--- a/src/modules/sharedfileswindow/libkvisharedfileswindow.cpp
+++ b/src/modules/sharedfileswindow/libkvisharedfileswindow.cpp
@@ -32,7 +32,7 @@
#include "kvi_locale.h"
#include "kvi_iconmanager.h"
-#include <qsplitter.h>
+#include <tqsplitter.h>
#define KVI_SHARED_FILES_WINDOW_EXTENSION_NAME "Shared files window extension"
@@ -47,11 +47,11 @@ static KviModuleExtension * sharedfileswindow_extension_alloc(KviModuleExtension
{
if(s->pParams)
{
- if(QVariant * v = s->pParams->find("bCreateMinimized"))
+ if(TQVariant * v = s->pParams->tqfind("bCreateMinimized"))
{
if(v->isValid())
{
- if(v->type() == QVariant::Bool)
+ if(v->type() == TQVariant::Bool)
{
bCreateMinimized = v->toBool();
}
@@ -67,11 +67,11 @@ static KviModuleExtension * sharedfileswindow_extension_alloc(KviModuleExtension
if(s->pParams)
{
- if(QVariant * v = s->pParams->find("bNoRaise"))
+ if(TQVariant * v = s->pParams->tqfind("bNoRaise"))
{
if(v)
{
- if(v->isValid() && v->type() == QVariant::Bool)
+ if(v->isValid() && v->type() == TQVariant::Bool)
bNoRaise = v->toBool();
}
}
@@ -106,10 +106,10 @@ static bool sharedfileswindow_kvs_cmd_open(KviKvsModuleCommandCall * c)
KviModuleExtensionDescriptor * d = c->module()->findExtensionDescriptor("tool",KVI_SHARED_FILES_WINDOW_EXTENSION_NAME);
if(d)
{
- KviPointerHashTable<QString,QVariant> dict(17,true);
+ KviPointerHashTable<TQString,TQVariant> dict(17,true);
dict.setAutoDelete(true);
- dict.replace("bCreateMinimized",new QVariant(c->hasSwitch('m',"minimized")));
- dict.replace("bNoRaise",new QVariant(c->hasSwitch('n',"noraise")));
+ dict.tqreplace("bCreateMinimized",new TQVariant(c->hasSwitch('m',"minimized")));
+ dict.tqreplace("bNoRaise",new TQVariant(c->hasSwitch('n',"noraise")));
d->allocate(c->window(),&dict,0);
} else {