diff options
Diffstat (limited to 'src/locater.h')
-rw-r--r-- | src/locater.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/locater.h b/src/locater.h index e083d2a..7674838 100644 --- a/src/locater.h +++ b/src/locater.h @@ -26,8 +26,8 @@ #ifndef LOCATER_H #define LOCATER_H -#include <qobject.h> -#include <qstringlist.h> +#include <tqobject.h> +#include <tqstringlist.h> #include <kprocio.h> @@ -44,14 +44,15 @@ * found. * - When finished the signal finished is emitted. */ -class Locater : public QObject +class Locater : public TQObject { Q_OBJECT + TQ_OBJECT public: /** * Constructor */ - Locater(QObject *parent = 0, const char *name = 0); + Locater(TQObject *tqparent = 0, const char *name = 0); virtual ~Locater(); @@ -62,7 +63,7 @@ class Locater : public QObject * @param regExp whether to treat pattern as a regular expression or not * @return true if locate could be started */ - bool locate(const QString& pattern, bool ignoreCase = false, bool regExp = false); + bool locate(const TQString& pattern, bool ignoreCase = false, bool regExp = false); /** * Set parameters for using locate. @@ -70,11 +71,11 @@ class Locater : public QObject * slocate, rlocate and locate) * @param additionalArguments additional arguments to use */ - void setupLocate(const QString& binary = "", const QString& additionalArguments = ""); + void setupLocate(const TQString& binary = "", const TQString& additionalArguments = ""); void stop(); - QString binary() { return m_binary; } + TQString binary() { return m_binary; } bool binaryExists() { return m_binaryExists; } signals: @@ -82,7 +83,7 @@ class Locater : public QObject * Emitted whenever some new files are found. * @param items a list of the new filenames */ - void found(const QStringList& items); + void found(const TQStringList& items); /** * Emitted when the search is finished. @@ -95,8 +96,8 @@ class Locater : public QObject private: KProcIO m_process; - QString m_binary; - QString m_additionalArguments; + TQString m_binary; + TQString m_additionalArguments; bool m_binaryExists; }; |