diff options
Diffstat (limited to 'ksquirrel/sq_widgetstack.h')
-rw-r--r-- | ksquirrel/sq_widgetstack.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/ksquirrel/sq_widgetstack.h b/ksquirrel/sq_widgetstack.h index 98847d3..65d910f 100644 --- a/ksquirrel/sq_widgetstack.h +++ b/ksquirrel/sq_widgetstack.h @@ -18,8 +18,8 @@ #ifndef SQ_WIDGETSTACK_H #define SQ_WIDGETSTACK_H -#include <qobject.h> -#include <qstring.h> +#include <tqobject.h> +#include <tqstring.h> #include <kurl.h> #include <kfileitem.h> @@ -28,7 +28,7 @@ namespace KIO { class Job; } -class QTimer; +class TQTimer; class KAction; class KToggleAction; @@ -41,9 +41,10 @@ class KFileView; * updates, selecting/deselecting files with +/- etc. */ -class SQ_WidgetStack : public QObject +class SQ_WidgetStack : public TQObject { Q_OBJECT + TQ_OBJECT public: /* @@ -54,7 +55,7 @@ class SQ_WidgetStack : public QObject * 2 = Detail view * 3 = Thumbnail view */ - SQ_WidgetStack(QWidget *parent, const int id); + SQ_WidgetStack(TQWidget *tqparent, const int id); ~SQ_WidgetStack(); @@ -106,7 +107,7 @@ class SQ_WidgetStack : public QObject /* * Quick access to SQ_DirOperator::actionCollection::action() */ - KAction *action(const QString &name); + KAction *action(const TQString &name); /* * Select first supported image in current directory. @@ -147,7 +148,7 @@ class SQ_WidgetStack : public QObject void setURL(const KURL &, bool = true); signals: - void newLastURL(const QString &); + void newLastURL(const TQString &); public slots: /* @@ -164,7 +165,7 @@ class SQ_WidgetStack : public QObject /* * Set filter. */ - void setNameFilter(const QString&); + void setNameFilter(const TQString&); /* * Used by SQ_FileThumbView to manipulate thumbnail progress. @@ -177,7 +178,7 @@ class SQ_WidgetStack : public QObject /* * Set url */ - void setURLForCurrent(const QString &, bool parseTree = true); + void setURLForCurrent(const TQString &, bool parseTree = true); void setURLForCurrent(const KURL &, bool parseTree = true); void slotRunSeparately(); @@ -191,7 +192,7 @@ class SQ_WidgetStack : public QObject /* * Get current filter. */ - QString nameFilter() const; + TQString nameFilter() const; /* * Slots for file actions: copy, move, cut... @@ -233,7 +234,7 @@ class SQ_WidgetStack : public QObject */ SQ_DirOperator *dirop; - QTimer *timerShowProgress; + TQTimer *timerShowProgress; KURL::List files; // files to copy, move or link KURL lastURL; FileAction fileaction; |