summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs/kspread_dlg_find.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 /kspread/dialogs/kspread_dlg_find.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 'kspread/dialogs/kspread_dlg_find.h')
-rw-r--r--kspread/dialogs/kspread_dlg_find.h29
1 files changed, 16 insertions, 13 deletions
diff --git a/kspread/dialogs/kspread_dlg_find.h b/kspread/dialogs/kspread_dlg_find.h
index ecf5bf57..d0f35f75 100644
--- a/kspread/dialogs/kspread_dlg_find.h
+++ b/kspread/dialogs/kspread_dlg_find.h
@@ -22,21 +22,22 @@
#include <kfinddialog.h>
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <kreplacedialog.h>
-class QCheckBox;
-class QPushButton;
-class QComboBox;
+class TQCheckBox;
+class TQPushButton;
+class TQComboBox;
namespace KSpread
{
-class FindOption : public QObject
+class FindOption : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- FindOption( QWidget *parent);
+ FindOption( TQWidget *tqparent);
bool searchInAllSheet() const;
enum searchTypeValue { Value, Note};
@@ -52,19 +53,20 @@ signals:
void adjustSize();
private:
- QPushButton *m_moreOptions;
- QCheckBox *m_searchInAllSheet;
- QWidget *m_findExtension;
- QComboBox *m_searchIn;
- QComboBox *m_searchDirection;
+ TQPushButton *m_moreOptions;
+ TQCheckBox *m_searchInAllSheet;
+ TQWidget *m_findExtension;
+ TQComboBox *m_searchIn;
+ TQComboBox *m_searchDirection;
};
class FindDlg : public KFindDialog
{
Q_OBJECT
+ TQ_OBJECT
public:
- FindDlg( QWidget *parent = 0, const char *name = 0, long options = 0, const QStringList &findStrings = QStringList(), bool hasSelection = false );
+ FindDlg( TQWidget *tqparent = 0, const char *name = 0, long options = 0, const TQStringList &findStrings = TQStringList(), bool hasSelection = false );
~FindDlg();
bool searchInAllSheet() const;
FindOption::searchTypeValue searchType() const { return m_findOptions->searchType(); }
@@ -79,9 +81,10 @@ class FindDlg : public KFindDialog
class SearchDlg : public KReplaceDialog
{
Q_OBJECT
+ TQ_OBJECT
public:
- SearchDlg( QWidget *parent = 0, const char *name = 0, long options = 0, const QStringList &findStrings = QStringList(), const QStringList &replaceStrings = QStringList(), bool hasSelection = false );
+ SearchDlg( TQWidget *tqparent = 0, const char *name = 0, long options = 0, const TQStringList &findStrings = TQStringList(), const TQStringList &replaceStrings = TQStringList(), bool hasSelection = false );
~SearchDlg();
bool searchInAllSheet() const;
FindOption::searchTypeValue searchType() const { return m_findOptions->searchType(); }