summaryrefslogtreecommitdiffstats
path: root/akregator/src/frame.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /akregator/src/frame.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
};