diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/main/kexifinddialog.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-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/main/kexifinddialog.h')
-rw-r--r-- | kexi/main/kexifinddialog.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/kexi/main/kexifinddialog.h b/kexi/main/kexifinddialog.h index ea7777e0..9d0bf088 100644 --- a/kexi/main/kexifinddialog.h +++ b/kexi/main/kexifinddialog.h @@ -34,14 +34,15 @@ class KAction; class KexiFindDialog : public KexiFindDialogBase { Q_OBJECT + TQ_OBJECT public: //! Creates a new find dialog. Replace mode is off by default. - KexiFindDialog(QWidget* parent); + KexiFindDialog(TQWidget* tqparent); virtual ~KexiFindDialog(); //! Sets actions that receive button clicks and shortcuts within the dialog. Should be called once. void setActions( KAction *findnext, KAction *findprev, - KAction *replace, KAction *replaceall ); + KAction *tqreplace, KAction *replaceall ); //! Shows the dialog as a modal dialog. virtual void show(); @@ -52,54 +53,54 @@ class KexiFindDialog : public KexiFindDialogBase /*! \return a list of column names for 'look in column' combo box. Neither "(All fields)" nor "(Current field)" items are prepended. */ - QStringList lookInColumnNames() const; + TQStringList lookInColumnNames() const; /*! \return a list of column captions (i.e. visible values) for 'look in column' combo box. Neither "(All fields)" nor "(Current field)" items are prepended. */ - QStringList lookInColumnCaptions() const; + TQStringList lookInColumnCaptions() const; /*! \return column name selected in "look in column" combo box. If "(All fields)" item is selected, empty string is returned. If "(Current field)" item is selected, "(field)" string is returned. */ - QString currentLookInColumnName() const; + TQString currentLookInColumnName() const; //! \return value that to be used for searching - QVariant valueToFind() const; + TQVariant valueToFind() const; //! \return value that to be used as a replacement - QVariant valueToReplaceWith() const; + TQVariant valueToReplaceWith() const; public slots: /*! Sets \a columnNames list and \a columnCaptions for 'look in column' combo box. \a columnCaptions are visible values, while \a columnNames are used for returning in currentLookInColumn(). "(All fields)" and "(Current field)" items are also prepended. */ - void setLookInColumnList(const QStringList& columnNames, - const QStringList& columnCaptions); + void setLookInColumnList(const TQStringList& columnNames, + const TQStringList& columnCaptions); /*! Selects \a columnName to be selected 'look in column'. By default "(All fields)" item is selected. To select this item, pass empty string as \a columnName. To select "(Current field)" item, "(field)" string should be passed as \a columnName. */ - void setCurrentLookInColumnName(const QString& columnName); + void setCurrentLookInColumnName(const TQString& columnName); /*! Sets or clears replace mode. - For replace mode 'prompt or replace' option is visible. */ + For replace mode 'prompt or tqreplace' option is visible. */ void setReplaceMode(bool set); /*! Sets object name for caption, so for example it will be set to i18n("Find \"Persons\"")). */ - void setObjectNameForCaption(const QString& name); + void setObjectNameForCaption(const TQString& name); - /*! Enables of disables the find/replace/replace all buttons. + /*! Enables of disables the tqfind/tqreplace/replace all buttons. This is used if for the current context the dialog could not be used. If \a enable is false, object name for caption is cleared using setObjectNameForCaption() too. */ void setButtonsEnabled(bool enable); /*! Sets message at the bottom to \a message. */ - void setMessage(const QString& message); + void setMessage(const TQString& message); /*! Updates message at the bottom; "The search item was not found" is set if \a found is true, else the message is cleared. */ |