summaryrefslogtreecommitdiffstats
path: root/src/modules/logview/libkvilogview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/logview/libkvilogview.cpp')
-rw-r--r--src/modules/logview/libkvilogview.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/logview/libkvilogview.cpp b/src/modules/logview/libkvilogview.cpp
index 2aa56a66..cf5c7a95 100644
--- a/src/modules/logview/libkvilogview.cpp
+++ b/src/modules/logview/libkvilogview.cpp
@@ -32,7 +32,7 @@
#include "kvi_locale.h"
#include "kvi_app.h"
-static QRect g_rectLogViewGeometry;
+static TQRect g_rectLogViewGeometry;
KviLogViewMDIWindow * g_pLogViewWindow = 0;
#define LOGVIEW_MODULE_EXTENSION_NAME "Log viewer extension"
@@ -66,11 +66,11 @@ static bool logview_kvs_cmd_open(KviKvsModuleCommandCall * c)
KviModuleExtensionDescriptor * d = c->module()->findExtensionDescriptor("tool",LOGVIEW_MODULE_EXTENSION_NAME);
if(d)
{
- KviPointerHashTable<QString,QVariant> dict(17,true);
+ KviPointerHashTable<TQString,TQVariant> dict(17,true);
dict.setAutoDelete(true);
- QString dummy;
- dict.replace("bCreateMinimized",new QVariant(c->hasSwitch('m',dummy)));
- dict.replace("bNoRaise",new QVariant(c->hasSwitch('n',dummy)));
+ TQString dummy;
+ dict.tqreplace("bCreateMinimized",new TQVariant(c->hasSwitch('m',dummy)));
+ dict.tqreplace("bNoRaise",new TQVariant(c->hasSwitch('n',dummy)));
d->allocate(c->window(),&dict,0);
} else {
@@ -88,11 +88,11 @@ static KviModuleExtension * logview_extension_alloc(KviModuleExtensionAllocStruc
{
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();
}
@@ -108,11 +108,11 @@ static KviModuleExtension * logview_extension_alloc(KviModuleExtensionAllocStruc
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();
}
}