summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/kexidataprovider.h
diff options
context:
space:
mode:
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;
};