summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/kexidataprovider.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/plugins/forms/kexidataprovider.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/plugins/forms/kexidataprovider.h')
-rw-r--r--kexi/plugins/forms/kexidataprovider.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kexi/plugins/forms/kexidataprovider.h b/kexi/plugins/forms/kexidataprovider.h
index 64019842..f1e9d755 100644
--- a/kexi/plugins/forms/kexidataprovider.h
+++ b/kexi/plugins/forms/kexidataprovider.h
@@ -21,8 +21,8 @@
#define KEXIFORMDATAPROVIDER_H
#include "kexiformdataiteminterface.h"
-#include <qptrdict.h>
-#include <qdict.h>
+#include <tqptrdict.h>
+#include <tqdict.h>
class KexiTableItem;
namespace KexiDB {
@@ -50,11 +50,11 @@ class KEXIFORMUTILS_EXPORT KexiFormDataProvider : public KexiDataItemChangesList
Also find widgets whose will work as data items
(all of them must implement KexiFormDataItemInterface), so these could be
filled with data on demand. */
- void setMainDataSourceWidget(QWidget* mainWidget);
+ void setMainDataSourceWidget(TQWidget* mainWidget);
- QStringList usedDataSources() const { return m_usedDataSources; }
+ TQStringList usedDataSources() const { return m_usedDataSources; }
- //unused QPtrList<KexiFormDataItemInterface>& dataItems() { return m_dataItems; }
+ //unused TQPtrList<KexiFormDataItemInterface>& dataItems() { return m_dataItems; }
/*! Fills data items with appropriate data fetched from \a cursor.
\a newRowEditing == true means that we are at new (not yet inserted) database row. */
@@ -74,20 +74,20 @@ class KEXIFORMUTILS_EXPORT KexiFormDataProvider : public KexiDataItemChangesList
\a invalidSources is the set of data sources that should
be omitted for fillDataItems().
Used by KexiFormView::initDataSource(). */
- void invalidateDataSources( const QDict<char>& invalidSources,
+ void tqinvalidateDataSources( const TQDict<char>& invalidSources,
KexiDB::QuerySchema* query = 0 );
/*! Fills the same data provided by \a value to every data item (other than \a item)
having the same data source as \a item. This method is called immediately when
\a value is changed, so duplicated data items are quickly updated. */
- void fillDuplicatedDataItems(KexiFormDataItemInterface* item, const QVariant& value);
+ void fillDuplicatedDataItems(KexiFormDataItemInterface* item, const TQVariant& value);
protected:
- QWidget *m_mainWidget;
- QPtrDict<char> *m_duplicatedItems;
- typedef QMap<KexiFormDataItemInterface*,uint> KexiFormDataItemInterfaceToIntMap;
- QPtrList<KexiFormDataItemInterface> m_dataItems;
- QStringList m_usedDataSources;
+ TQWidget *m_mainWidget;
+ TQPtrDict<char> *m_duplicatedItems;
+ typedef TQMap<KexiFormDataItemInterface*,uint> KexiFormDataItemInterfaceToIntMap;
+ TQPtrList<KexiFormDataItemInterface> m_dataItems;
+ TQStringList m_usedDataSources;
KexiFormDataItemInterfaceToIntMap m_fieldNumbersForDataItems;
bool m_disableFillDuplicatedDataItems : 1;
};