diff options
Diffstat (limited to 'kexi/plugins/tables/kexitabledesignerview.h')
-rw-r--r-- | kexi/plugins/tables/kexitabledesignerview.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/kexi/plugins/tables/kexitabledesignerview.h b/kexi/plugins/tables/kexitabledesignerview.h index 773163b6..b7ff7a23 100644 --- a/kexi/plugins/tables/kexitabledesignerview.h +++ b/kexi/plugins/tables/kexitabledesignerview.h @@ -56,10 +56,11 @@ namespace KoProperty { class KexiTableDesignerView : public KexiDataTable, public KexiTableDesignerInterface { Q_OBJECT + TQ_OBJECT public: /*! Creates a new alter table dialog. */ - KexiTableDesignerView(KexiMainWindow *win, QWidget *parent); + KexiTableDesignerView(KexiMainWindow *win, TQWidget *tqparent); virtual ~KexiTableDesignerView(); @@ -72,7 +73,7 @@ class KexiTableDesignerView : public KexiDataTable, public KexiTableDesignerInte /*! Inserts a new field with \a caption for \a row. Property set is also created. */ - virtual void insertField(int row, const QString& caption, bool addCommand = false); + virtual void insertField(int row, const TQString& caption, bool addCommand = false); /*! Inserts a new \a field for \a row. Property set is also created. \a set will be deeply-copied into the new set. @@ -97,29 +98,29 @@ class KexiTableDesignerView : public KexiDataTable, public KexiTableDesignerInte If \a listData is not NULL and not empty, a deep copy of it is passed to Property::setListData(). If \a listData \a nlist if not NULL but empty, Property::setListData(0) is called. */ virtual void changeFieldPropertyForRow( int row, - const QCString& propertyName, const QVariant& newValue, + const TQCString& propertyName, const TQVariant& newValue, KoProperty::Property::ListData* const listData, bool addCommand ); /*! Changes property \a propertyName to \a newValue. Works exactly like changeFieldPropertyForRow() except the field is pointed by \a fieldUID. Used by ChangeFieldPropertyCommand to change field's property. */ - void changeFieldProperty( int fieldUID, const QCString& propertyName, - const QVariant& newValue, KoProperty::Property::ListData* const listData = 0, + void changeFieldProperty( int fieldUID, const TQCString& propertyName, + const TQVariant& newValue, KoProperty::Property::ListData* const listData = 0, bool addCommand = false ); /*! Changes visibility of property \a propertyName to \a visible for a field pointed by \a fieldUID. Used by ChangePropertyVisibilityCommand. */ - void changePropertyVisibility( int fieldUID, const QCString& propertyName, bool visible ); + void changePropertyVisibility( int fieldUID, const TQCString& propertyName, bool visible ); /*! Builds table field's schema by looking at the \a set. */ KexiDB::Field * buildField( const KoProperty::Set &set ) const; /*! Creates temporary table for the current design and returns debug string for it. */ - virtual QString debugStringForCurrentTableSchema(tristate& result); + virtual TQString debugStringForCurrentTableSchema(tristate& result); /*! Simulates execution of alter table, and puts debug into \a debugTarget. A case when debugTarget is not 0 is true for the alter table test suite. */ - virtual tristate simulateAlterTableExecution(QString *debugTarget); + virtual tristate simulateAlterTableExecution(TQString *debugTarget); public slots: /*! Real execution of the Alter Table. For debugging of the real alter table. @@ -138,17 +139,17 @@ class KexiTableDesignerView : public KexiDataTable, public KexiTableDesignerInte //! Called before cell change in tableview. void slotBeforeCellChanged(KexiTableItem *item, int colnum, - QVariant& newValue, KexiDB::ResultInfo* result); + TQVariant& newValue, KexiDB::ResultInfo* result); //! Called on row change in a tableview. void slotRowUpdated(KexiTableItem *item); //! Called before row inserting in tableview. void slotRowInserted(); -// void slotAboutToInsertRow(KexiTableItem* item, KexiDB::ResultInfo* result, bool repaint); +// void slotAboutToInsertRow(KexiTableItem* item, KexiDB::ResultInfo* result, bool tqrepaint); //! Called before row deleting in tableview. - void slotAboutToDeleteRow(KexiTableItem& item, KexiDB::ResultInfo* result, bool repaint); + void slotAboutToDeleteRow(KexiTableItem& item, KexiDB::ResultInfo* result, bool tqrepaint); /*! Called after any property has been changed in the current property set, to perform some actions (like updating other dependent properties) */ @@ -218,13 +219,13 @@ class KexiTableDesignerView : public KexiDataTable, public KexiTableDesignerInte Assigns primary key icon and value for property set \a propertySet, and deselects it from previous pkey's row. \a aWasPKey is internal. - If \a commandGroup is not 0, it is used as parent group for storing actions' history. */ + If \a commandGroup is not 0, it is used as tqparent group for storing actions' history. */ void switchPrimaryKey(KoProperty::Set &propertySet, bool set, bool aWasPKey = false, CommandGroup* commandGroup = 0); //! Gets subtype strings and names for type \a fieldType. void getSubTypeListData(KexiDB::Field::TypeGroup fieldTypeGroup, - QStringList& stringsList, QStringList& namesList); + TQStringList& stringsList, TQStringList& namesList); /*! Adds history command \a command to the undo/redo buffer. If \a execute is true, the command is executed afterwards. */ @@ -240,7 +241,7 @@ class KexiTableDesignerView : public KexiDataTable, public KexiTableDesignerInte /*! Inserts a new \a field for \a row. Property set is also created. If \a set is not 0 (the default), it will be copied into the new set. Used by insertField(). */ - void insertFieldInternal(int row, KoProperty::Set* set, const QString& caption, bool addCommand); + void insertFieldInternal(int row, KoProperty::Set* set, const TQString& caption, bool addCommand); //! Reimplemented to pass the information also to the "Lookup" tab virtual void propertySetSwitched(); |