summaryrefslogtreecommitdiffstats
path: root/kexi/widget/tableview/kexicelleditorfactory.h
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/widget/tableview/kexicelleditorfactory.h
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/widget/tableview/kexicelleditorfactory.h')
-rw-r--r--kexi/widget/tableview/kexicelleditorfactory.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kexi/widget/tableview/kexicelleditorfactory.h b/kexi/widget/tableview/kexicelleditorfactory.h
index 1b68cb8d..26b48bb6 100644
--- a/kexi/widget/tableview/kexicelleditorfactory.h
+++ b/kexi/widget/tableview/kexicelleditorfactory.h
@@ -20,8 +20,8 @@
#ifndef KEXICELLEDITORFACTORY_H
#define KEXICELLEDITORFACTORY_H
-#include <qvariant.h>
-#include <qwidget.h>
+#include <tqvariant.h>
+#include <tqwidget.h>
#include <kexidb/field.h>
@@ -44,17 +44,17 @@ class KEXIDATATABLE_EXPORT KexiCellEditorFactory
Once registered, \a item object will be owned by the factory, so you shouldn't
care about deleting it. */
static void registerItem( KexiCellEditorFactoryItem& item, uint type,
- const QString& subType = QString::null );
+ const TQString& subType = TQString() );
/*! \return item for \a type and (optional) \a subType.
If no item found, the one with empty subtype is tried.
If still no item found, the default is tried. Eventually, may return NULL. */
- static KexiCellEditorFactoryItem* item( uint type, const QString& subType = QString::null );
+ static KexiCellEditorFactoryItem* item( uint type, const TQString& subType = TQString() );
-// static KexiTableEdit* createEditor(KexiDB::Field &f, QScrollView* parent = 0);
- /*! Creates a new editor for \a column. If \a parent is of QScrollView, the new editor
- will be created inside parent->viewport() instead. */
- static KexiTableEdit* createEditor(KexiTableViewColumn &column, QWidget* parent = 0);
+// static KexiTableEdit* createEditor(KexiDB::Field &f, TQScrollView* tqparent = 0);
+ /*! Creates a new editor for \a column. If \a tqparent is of TQScrollView, the new editor
+ will be created inside tqparent->viewport() instead. */
+ static KexiTableEdit* createEditor(KexiTableViewColumn &column, TQWidget* tqparent = 0);
protected:
static void init();
@@ -66,13 +66,13 @@ class KEXIDATATABLE_EXPORT KexiCellEditorFactoryItem
public:
KexiCellEditorFactoryItem();
virtual ~KexiCellEditorFactoryItem();
- QString className() { return m_className; }
+ TQString className() { return m_className; }
protected:
-// virtual KexiTableEdit* createEditor(KexiDB::Field &f, QScrollView* parent = 0) = 0;
- virtual KexiTableEdit* createEditor(KexiTableViewColumn &column, QWidget* parent = 0) = 0;
+// virtual KexiTableEdit* createEditor(KexiDB::Field &f, TQScrollView* tqparent = 0) = 0;
+ virtual KexiTableEdit* createEditor(KexiTableViewColumn &column, TQWidget* tqparent = 0) = 0;
- QString m_className;
+ TQString m_className;
friend class KexiCellEditorFactory;
};