summaryrefslogtreecommitdiffstats
path: root/akregator/src/frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/frame.h')
-rw-r--r--akregator/src/frame.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/akregator/src/frame.h b/akregator/src/frame.h
index d0fe2a4ef..1649722d7 100644
--- a/akregator/src/frame.h
+++ b/akregator/src/frame.h
@@ -25,7 +25,7 @@
#ifndef FRAME_H
#define FRAME_H
-#include <qobject.h>
+#include <tqobject.h>
namespace KParts
{
@@ -45,50 +45,50 @@ namespace Akregator
Q_OBJECT
public:
- Frame(QObject *parent, KParts::ReadOnlyPart *part, QWidget *w, const QString& tit, bool watchSignals=true);
+ Frame(TQObject *parent, KParts::ReadOnlyPart *part, TQWidget *w, const TQString& tit, bool watchSignals=true);
virtual ~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;
/** if set to true, the part is deleted when the frame is deleted. Set to @c false by default */
void setAutoDeletePart(bool autoDelete);
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 titleChanged(Frame*, const QString&);
+ void captionChanged(const TQString &);
+ void titleChanged(Frame*, 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;
bool m_autoDeletePart;
};