diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
commit | dc6b8e72fed2586239e3514819238c520636c9d9 (patch) | |
tree | 88b200df0a0b7fab9d6f147596173556f1ed9a13 /kommander/widgets/aboutdialog.h | |
parent | 6927d4436e54551917f600b706a8d6109e49de1c (diff) | |
download | tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/widgets/aboutdialog.h')
-rw-r--r-- | kommander/widgets/aboutdialog.h | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/kommander/widgets/aboutdialog.h b/kommander/widgets/aboutdialog.h index 0d0249a7..64d6c9ab 100644 --- a/kommander/widgets/aboutdialog.h +++ b/kommander/widgets/aboutdialog.h @@ -12,7 +12,7 @@ #ifndef ABOUTDIALOG_H #define ABOUTDIALOG_H -#include <qlabel.h> +#include <tqlabel.h> #include <kommanderwidget.h> class KAboutApplication; @@ -21,52 +21,52 @@ class KAboutData; /** @author Andras Mantia <amantia@kdewebdev.org> */ -class AboutDialog : public QLabel, public KommanderWidget +class AboutDialog : public TQLabel, public KommanderWidget { Q_OBJECT Q_PROPERTY(bool KommanderWidget READ isKommanderWidget) - Q_PROPERTY(QString populationText READ populationText WRITE setPopulationText DESIGNABLE false) - Q_PROPERTY(QStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false) + Q_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false) + Q_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false) public: - AboutDialog(QWidget *parent = 0, const char *name = 0); + AboutDialog(TQWidget *parent = 0, const char *name = 0); ~AboutDialog(); virtual bool isKommanderWidget() const; - virtual QString currentState() const; + virtual TQString currentState() const; virtual bool isFunctionSupported(int function); - virtual QString handleDCOP(int function, const QStringList& args); - virtual QString populationText() const; - virtual void setPopulationText(const QString&); - virtual QStringList associatedText() const; - virtual void setAssociatedText(const QStringList&); + virtual TQString handleDCOP(int function, const TQStringList& args); + virtual TQString populationText() const; + virtual void setPopulationText(const TQString&); + virtual TQStringList associatedText() const; + virtual void setAssociatedText(const TQStringList&); public slots: virtual void populate(); virtual void execute(); private: - void initialize(const QString& appName, const QString &icon, const QString& version, const QString& copyright); - void addAuthor(const QString& author, const QString &task, const QString& email, const QString &webAddress); - void addTranslator(const QString& author, const QString& email); - void setDescription(const QString& description); - void setHomepage(const QString &homepage); - void setBugAddress(const QString &bugAddress); - void setLicense(const QString &license); + void initialize(const TQString& appName, const TQString &icon, const TQString& version, const TQString& copyright); + void addAuthor(const TQString& author, const TQString &task, const TQString& email, const TQString &webAddress); + void addTranslator(const TQString& author, const TQString& email); + void setDescription(const TQString& description); + void setHomepage(const TQString &homepage); + void setBugAddress(const TQString &bugAddress); + void setLicense(const TQString &license); KAboutData *m_aboutData; - QString m_version; - QString m_appName; - QString m_copyright; - QString m_icon; - QString m_bugaddress; - QStringList m_authors; - QStringList m_emails; - QStringList m_tasks; - QStringList m_addresses; - QString m_description; - QString m_homepage; - QString m_license; + TQString m_version; + TQString m_appName; + TQString m_copyright; + TQString m_icon; + TQString m_bugaddress; + TQStringList m_authors; + TQStringList m_emails; + TQStringList m_tasks; + TQStringList m_addresses; + TQString m_description; + TQString m_homepage; + TQString m_license; }; #endif |