summaryrefslogtreecommitdiffstats
path: root/src/frame.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-01-13 19:30:17 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-01-13 19:30:17 +0200
commit357ddeb8afd82d69ef871c146f4fc8f2c67fb17e (patch)
treedc3ef0e6fedd64f5fb177c114f72e1515a07cd1b /src/frame.h
parentc6cbd71bc169ac0e927e52325dbbbcb506abbc73 (diff)
downloadklamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.tar.gz
klamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.zip
Conversion Qt3->TQt
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h38
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;
};
}