summaryrefslogtreecommitdiffstats
path: root/src/modules/toolbareditor/libkvitoolbareditor.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/toolbareditor/libkvitoolbareditor.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/toolbareditor/libkvitoolbareditor.cpp')
-rw-r--r--src/modules/toolbareditor/libkvitoolbareditor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/toolbareditor/libkvitoolbareditor.cpp b/src/modules/toolbareditor/libkvitoolbareditor.cpp
index b4f9e258..4cfa80ed 100644
--- a/src/modules/toolbareditor/libkvitoolbareditor.cpp
+++ b/src/modules/toolbareditor/libkvitoolbareditor.cpp
@@ -32,7 +32,7 @@
#include "kvi_config.h"
#include "kvi_app.h"
-QRect g_rectToolBarEditorDialogGeometry(0,0,0,0);
+TQRect g_rectToolBarEditorDialogGeometry(0,0,0,0);
/*
@doc: toolbareditor.open
@@ -58,10 +58,10 @@ static bool toolbareditor_kvs_cmd_open(KviKvsModuleCommandCall * c)
static bool toolbareditor_module_init(KviModule * m)
{
KVSM_REGISTER_SIMPLE_COMMAND(m,"open",toolbareditor_kvs_cmd_open);
- QString szBuf;
+ TQString szBuf;
m->getDefaultConfigFileName(szBuf);
KviConfig cfg(szBuf,KviConfig::Read);
- g_rectToolBarEditorDialogGeometry = cfg.readRectEntry("EditorGeometry",QRect(10,10,390,440));
+ g_rectToolBarEditorDialogGeometry = cfg.readRectEntry("EditorGeometry",TQRect(10,10,390,440));
return true;
@@ -76,7 +76,7 @@ static bool toolbareditor_module_cleanup(KviModule *m)
{
KviCustomizeToolBarsDialog::cleanup();
- QString szBuf;
+ TQString szBuf;
m->getDefaultConfigFileName(szBuf);
KviConfig cfg(szBuf,KviConfig::Write);
cfg.writeEntry("EditorGeometry",g_rectToolBarEditorDialogGeometry);