diff options
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/frame.h b/src/frame.h index 813db1e..da37fff 100644 --- a/src/frame.h +++ b/src/frame.h @@ -10,7 +10,7 @@ #include <kparts/part.h> -#include <qobject.h> +#include <tqobject.h> namespace KPIM { @@ -20,51 +20,51 @@ namespace KPIM namespace KlamAV { - class Frame : public QObject + class Frame : public TQObject { Q_OBJECT public: - Frame(QObject *parent, KParts::ReadOnlyPart *part, QWidget *w, const QString& tit, bool watch=true); + Frame(TQObject *parent, KParts::ReadOnlyPart *part, TQWidget *w, const TQString& tit, bool watch=true); ~Frame(); enum {Idle, Started, Completed, Canceled}; KParts::ReadOnlyPart *part() const; - QWidget *widget() const; - const QString title() const; - const QString caption() const; + TQWidget *widget() const; + const TQString title() const; + const TQString caption() const; int state() const; int progress() const; - const QString statusText() const; + const TQString statusText() const; public slots: void setStarted(); - void setCanceled(const QString &); + void setCanceled(const TQString &); void setCompleted(); void setState(int); void setProgress(int); - void setCaption(const QString &); - void setTitle(const QString &); - void setStatusText(const QString &); + void setCaption(const TQString &); + void setTitle(const TQString &); + void setStatusText(const TQString &); signals: - void captionChanged(const QString &); + void captionChanged(const TQString &); void started(); - void canceled(const QString &); + void canceled(const TQString &); void completed(); void loadingProgress(int); - void statusText(const QString &); + void statusText(const TQString &); private: KParts::ReadOnlyPart *m_part; - QWidget *m_widget; - QString m_title; - QString m_caption; + TQWidget *m_widget; + TQString m_title; + TQString m_caption; int m_state; int m_progress; - QString m_statusText; - QString m_progressId; + TQString m_statusText; + TQString m_progressId; KPIM::ProgressItem *m_progressItem; }; } |