summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/kexidatasourcepage.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/kexidatasourcepage.h')
-rw-r--r--kexi/plugins/forms/kexidatasourcepage.h43
1 files changed, 22 insertions, 21 deletions
diff --git a/kexi/plugins/forms/kexidatasourcepage.h b/kexi/plugins/forms/kexidatasourcepage.h
index 0f113aa7..914a869b 100644
--- a/kexi/plugins/forms/kexidatasourcepage.h
+++ b/kexi/plugins/forms/kexidatasourcepage.h
@@ -19,7 +19,7 @@
#ifndef KEXIDATASOURCEPAGE_H
#define KEXIDATASOURCEPAGE_H
-#include <qwidget.h>
+#include <tqwidget.h>
#include <kexidb/field.h>
#include <kexidb/utils.h>
#include <koproperty/set.h>
@@ -30,17 +30,18 @@ class KexiDataSourceComboBox;
class KexiFieldComboBox;
class KexiFieldListView;
class KexiProject;
-class QToolButton;
-class QLabel;
-class QFrame;
+class TQToolButton;
+class TQLabel;
+class TQFrame;
//! A page within form designer's property tabbed pane, providing data source editor
-class KEXIFORMUTILS_EXPORT KexiDataSourcePage : public QWidget
+class KEXIFORMUTILS_EXPORT KexiDataSourcePage : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KexiDataSourcePage(QWidget *parent, const char *name = 0);
+ KexiDataSourcePage(TQWidget *tqparent, const char *name = 0);
virtual ~KexiDataSourcePage();
KexiDataSourceComboBox* dataSourceCombo() const { return m_dataSourceCombo; }
@@ -53,37 +54,37 @@ class KEXIFORMUTILS_EXPORT KexiDataSourcePage : public QWidget
//! Sets data source of a currently selected form.
//! This is performed on form initialization and on activating.
- void setDataSource(const QCString& mimeType, const QCString& name);
+ void setDataSource(const TQCString& mimeType, const TQCString& name);
//! Receives a pointer to a new property \a set (from KexiFormView::managerPropertyChanged())
void assignPropertySet(KoProperty::Set* propertySet);
signals:
//! Signal emitted when helper button 'go to selected data source' is clicked.
- void jumpToObjectRequested(const QCString& mime, const QCString& name);
+ void jumpToObjectRequested(const TQCString& mime, const TQCString& name);
//! Signal emitted when form's data source has been changed. It's connected to the Form Manager.
- void formDataSourceChanged(const QCString& mime, const QCString& name);
+ void formDataSourceChanged(const TQCString& mime, const TQCString& name);
/*! Signal emitted when current widget's data source (field/expression)
has been changed. It's connected to the Form Manager.
\a caption for this field is also provided (e.g. AutoField form widget use it) */
- void dataSourceFieldOrExpressionChanged(const QString& string, const QString& caption,
+ void dataSourceFieldOrExpressionChanged(const TQString& string, const TQString& caption,
KexiDB::Field::Type type);
/*! Signal emitted when 'insert fields' button has been clicked */
- void insertAutoFields(const QString& sourceMimeType, const QString& sourceName,
- const QStringList& fields);
+ void insertAutoFields(const TQString& sourceMimeType, const TQString& sourceName,
+ const TQStringList& fields);
protected slots:
- void slotDataSourceTextChanged(const QString & string);
+ void slotDataSourceTextChanged(const TQString & string);
void slotDataSourceChanged();
void slotFieldSelected();
void slotGotoSelected();
void slotInsertSelectedFields();
void slotFieldListViewSelectionChanged();
- void slotFieldDoubleClicked(const QString& sourceMimeType, const QString& sourceName,
- const QString& fieldName);
+ void slotFieldDoubleClicked(const TQString& sourceMimeType, const TQString& sourceName,
+ const TQString& fieldName);
protected:
void updateSourceFieldWidgetsAvailability();
@@ -91,12 +92,12 @@ class KEXIFORMUTILS_EXPORT KexiDataSourcePage : public QWidget
KexiFieldComboBox *m_sourceFieldCombo;
KexiObjectInfoLabel *m_objectInfoLabel;
KexiDataSourceComboBox* m_dataSourceCombo;
- QLabel *m_dataSourceLabel, *m_noDataSourceAvailableLabel,
+ TQLabel *m_dataSourceLabel, *m_noDataSourceAvailableLabel,
*m_widgetDSLabel, *m_availableFieldsLabel,
*m_mousePointerLabel, *m_availableFieldsDescriptionLabel;
- QToolButton *m_clearWidgetDSButton, *m_clearDSButton, *m_gotoButton, *m_addField;
- QFrame *m_dataSourceSeparator;
- QString m_noDataSourceAvailableSingleText, m_noDataSourceAvailableMultiText;
+ TQToolButton *m_clearWidgetDSButton, *m_clearDSButton, *m_gotoButton, *m_addField;
+ TQFrame *m_dataSourceSeparator;
+ TQString m_noDataSourceAvailableSingleText, m_noDataSourceAvailableMultiText;
bool m_insideClearDataSourceSelection : 1;
#ifdef KEXI_NO_AUTOFIELD_WIDGET
KexiDB::TableOrQuerySchema *m_tableOrQuerySchema; //!< temp.
@@ -105,8 +106,8 @@ class KEXIFORMUTILS_EXPORT KexiDataSourcePage : public QWidget
#endif
//! Used only in assignPropertySet() to check whether we already have the set assigned
- QCString m_currentObjectName;
- //QGuardedPtr<KoProperty::Set> m_propertySet;
+ TQCString m_currentObjectName;
+ //TQGuardedPtr<KoProperty::Set> m_propertySet;
};
#endif