From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/kauthicon.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'kdeui/kauthicon.h') diff --git a/kdeui/kauthicon.h b/kdeui/kauthicon.h index ddbbfe9d5..e0e381077 100644 --- a/kdeui/kauthicon.h +++ b/kdeui/kauthicon.h @@ -18,10 +18,10 @@ #ifndef _KAUTHICON_H #define _KAUTHICON_H "$Id$" -#include -#include -#include -#include +#include +#include +#include +#include #include @@ -52,10 +52,10 @@ public: /** * Constructor. */ - KAuthIcon(QWidget *parent = 0, const char *name = 0); + KAuthIcon(TQWidget *parent = 0, const char *name = 0); ~KAuthIcon(); - virtual QSize sizeHint() const; + virtual TQSize sizeHint() const; /** * return the status of whatever is being monitored. */ @@ -78,14 +78,14 @@ signals: void authChanged(bool authorized); protected: - QHBoxLayout *layout; + TQHBoxLayout *layout; - QLabel *lockBox; - QLabel *lockLabel; - QPixmap lockPM; - QPixmap openLockPM; - QString lockText; - QString openLockText; + TQLabel *lockBox; + TQLabel *lockLabel; + TQPixmap lockPM; + TQPixmap openLockPM; + TQString lockText; + TQString openLockText; protected: virtual void virtual_hook( int id, void* data ); @@ -105,7 +105,7 @@ class KDEUI_EXPORT KRootPermsIcon : public KAuthIcon Q_OBJECT public: - KRootPermsIcon(QWidget *parent = 0, const char *name = 0); + KRootPermsIcon(TQWidget *parent = 0, const char *name = 0); ~KRootPermsIcon(); /** @@ -135,10 +135,10 @@ class KWritePermsIconPrivate; class KDEUI_EXPORT KWritePermsIcon : public KAuthIcon { Q_OBJECT - Q_PROPERTY( QString fileName READ fileName WRITE setFileName ) + Q_PROPERTY( TQString fileName READ fileName WRITE setFileName ) public: - KWritePermsIcon(const QString & fileName, QWidget *parent = 0, const char *name = 0); + KWritePermsIcon(const TQString & fileName, TQWidget *parent = 0, const char *name = 0); ~KWritePermsIcon(); /** * @return whether or not the monitored file is writable. @@ -149,20 +149,20 @@ public: * make the icon watch a new filename. * @param fileName the new file to monitor / display status for. */ - void setFileName(const QString & fileName) { fi.setFile(fileName); updateStatus(); } + void setFileName(const TQString & fileName) { fi.setFile(fileName); updateStatus(); } /** * return the filename of the currently watched file. * @since 3.4 */ - QString fileName() const { return fi.fileName(); } + TQString fileName() const { return fi.fileName(); } public slots: void updateStatus(); protected: bool writable; - QFileInfo fi; + TQFileInfo fi; protected: virtual void virtual_hook( int id, void* data ); -- cgit v1.2.1