summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/scripting/kexiapp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/plugins/scripting/kexiapp
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/plugins/scripting/kexiapp')
-rw-r--r--kexi/plugins/scripting/kexiapp/kexiappmainwindow.cpp4
-rw-r--r--kexi/plugins/scripting/kexiapp/kexiappmainwindow.h8
-rw-r--r--kexi/plugins/scripting/kexiapp/kexiappmodule.cpp2
-rw-r--r--kexi/plugins/scripting/kexiapp/kexiappmodule.h6
-rw-r--r--kexi/plugins/scripting/kexiapp/kexiapppart.h6
5 files changed, 13 insertions, 13 deletions
diff --git a/kexi/plugins/scripting/kexiapp/kexiappmainwindow.cpp b/kexi/plugins/scripting/kexiapp/kexiappmainwindow.cpp
index 4d82bc5d..5ee81a43 100644
--- a/kexi/plugins/scripting/kexiapp/kexiappmainwindow.cpp
+++ b/kexi/plugins/scripting/kexiapp/kexiappmainwindow.cpp
@@ -67,7 +67,7 @@ KexiAppMainWindow::~KexiAppMainWindow()
delete d;
}
-const QString KexiAppMainWindow::getClassName() const
+const TQString KexiAppMainWindow::getClassName() const
{
return "Kross::KexiApp::KexiAppMainWindow";
}
@@ -88,7 +88,7 @@ Kross::Api::Object::Ptr KexiAppMainWindow::getConnection()
return module->get("KexiDBConnection", connection);
}
-Kross::Api::List* KexiAppMainWindow::getPartItems(const QString& mimetype)
+Kross::Api::List* KexiAppMainWindow::getPartItems(const TQString& mimetype)
{
if(mimetype.isNull()) return 0; // just to be sure...
KexiPart::ItemDict* items = d->project()->itemsForMimeType( mimetype.latin1() );
diff --git a/kexi/plugins/scripting/kexiapp/kexiappmainwindow.h b/kexi/plugins/scripting/kexiapp/kexiappmainwindow.h
index fd02c193..7eecd213 100644
--- a/kexi/plugins/scripting/kexiapp/kexiappmainwindow.h
+++ b/kexi/plugins/scripting/kexiapp/kexiappmainwindow.h
@@ -20,8 +20,8 @@
#ifndef KROSS_KEXIAPP_KEXIAPPMAINWINDOW_H
#define KROSS_KEXIAPP_KEXIAPPMAINWINDOW_H
-#include <qstring.h>
-#include <qvariant.h>
+#include <tqstring.h>
+#include <tqvariant.h>
#include <api/object.h>
#include <api/variant.h>
@@ -58,7 +58,7 @@ namespace Kross { namespace KexiApp {
virtual ~KexiAppMainWindow();
/// \see Kross::Api::Object::getClassName
- virtual const QString getClassName() const;
+ virtual const TQString getClassName() const;
/** \return true if Kexi is connected with a project else
false is returned. */
@@ -74,7 +74,7 @@ namespace Kross { namespace KexiApp {
/** \return a list of \a KexiAppPartItem objects for the defined
\p mimetype string. */
- Kross::Api::List* getPartItems(const QString& mimetype);
+ Kross::Api::List* getPartItems(const TQString& mimetype);
/** Try to open the defined \a KexiAppPartItem and \return true
on success else false. */
diff --git a/kexi/plugins/scripting/kexiapp/kexiappmodule.cpp b/kexi/plugins/scripting/kexiapp/kexiappmodule.cpp
index cb664496..9a1c73d7 100644
--- a/kexi/plugins/scripting/kexiapp/kexiappmodule.cpp
+++ b/kexi/plugins/scripting/kexiapp/kexiappmodule.cpp
@@ -90,7 +90,7 @@ KexiAppModule::~KexiAppModule()
}
-const QString KexiAppModule::getClassName() const
+const TQString KexiAppModule::getClassName() const
{
return "Kross::KexiApp::KexiAppModule";
}
diff --git a/kexi/plugins/scripting/kexiapp/kexiappmodule.h b/kexi/plugins/scripting/kexiapp/kexiappmodule.h
index 08ed71f0..2b87cca5 100644
--- a/kexi/plugins/scripting/kexiapp/kexiappmodule.h
+++ b/kexi/plugins/scripting/kexiapp/kexiappmodule.h
@@ -20,8 +20,8 @@
#ifndef KROSS_KEXIAPP_KEXIAPPMODULE_H
#define KROSS_KEXIAPP_KEXIAPPMODULE_H
-#include <qstring.h>
-#include <qvariant.h>
+#include <tqstring.h>
+#include <tqvariant.h>
#include <api/module.h>
@@ -63,7 +63,7 @@ namespace KexiApp {
virtual ~KexiAppModule();
/// \see Kross::Api::Object::getClassName
- virtual const QString getClassName() const;
+ virtual const TQString getClassName() const;
private:
/// Private d-pointer class.
diff --git a/kexi/plugins/scripting/kexiapp/kexiapppart.h b/kexi/plugins/scripting/kexiapp/kexiapppart.h
index 5f55d6bf..bf399641 100644
--- a/kexi/plugins/scripting/kexiapp/kexiapppart.h
+++ b/kexi/plugins/scripting/kexiapp/kexiapppart.h
@@ -20,8 +20,8 @@
#ifndef KROSS_KEXIAPP_KEXIAPPPART_H
#define KROSS_KEXIAPP_KEXIAPPPART_H
-#include <qstring.h>
-#include <qvariant.h>
+#include <tqstring.h>
+#include <tqvariant.h>
#include <api/object.h>
#include <api/variant.h>
@@ -43,7 +43,7 @@ namespace Kross { namespace KexiApp {
public:
KexiAppPartItem(KexiPart::Item*);
virtual ~KexiAppPartItem() {}
- virtual const QString getClassName() const { return "Kross::KexiApp::KexiAppPartItem"; }
+ virtual const TQString getClassName() const { return "Kross::KexiApp::KexiAppPartItem"; }
KexiPart::Item* item() { return m_item; }
private: