diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kdcop/kdcoplistview.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdcop/kdcoplistview.h')
-rw-r--r-- | kdcop/kdcoplistview.h | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/kdcop/kdcoplistview.h b/kdcop/kdcoplistview.h index 4a14620cc..9f56c2936 100644 --- a/kdcop/kdcoplistview.h +++ b/kdcop/kdcoplistview.h @@ -16,15 +16,15 @@ class KDCOPListView : public KListView Q_OBJECT public: - KDCOPListView ( QWidget * parent = 0, const char * name = 0 ); + KDCOPListView ( TQWidget * parent = 0, const char * name = 0 ); virtual ~KDCOPListView(); - QDragObject *dragObject(); - void setMode(const QString &mode); - QString getCurrentCode() const; + TQDragObject *dragObject(); + void setMode(const TQString &mode); + TQString getCurrentCode() const; private: - QString encode(QListViewItem *code); - QString mode; + TQString encode(TQListViewItem *code); + TQString mode; }; @@ -34,8 +34,8 @@ class DCOPBrowserItem : public QListViewItem enum Type { Application, Interface, Function }; - DCOPBrowserItem(QListView * parent, Type type); - DCOPBrowserItem(QListViewItem * parent, Type type); + DCOPBrowserItem(TQListView * parent, Type type); + DCOPBrowserItem(TQListViewItem * parent, Type type); virtual ~DCOPBrowserItem() {} @@ -46,15 +46,15 @@ class DCOPBrowserItem : public QListViewItem Type type_; }; -class DCOPBrowserApplicationItem : public QObject, public DCOPBrowserItem +class DCOPBrowserApplicationItem : public TQObject, public DCOPBrowserItem { Q_OBJECT public: - DCOPBrowserApplicationItem(QListView * parent, const QCString & app); + DCOPBrowserApplicationItem(TQListView * parent, const TQCString & app); virtual ~DCOPBrowserApplicationItem() {} - QCString app() const { return app_; } + TQCString app() const { return app_; } virtual void setOpen(bool o); @@ -64,31 +64,31 @@ class DCOPBrowserApplicationItem : public QObject, public DCOPBrowserItem private: - QCString app_; + TQCString app_; private slots: /** * Theses two slots are used to get the icon of the application */ - void retreiveIcon(int callId, const QCString& replyType, const QByteArray &replyData); - void slotGotWindowName(int callId, const QCString& replyType, const QByteArray &replyData); + void retreiveIcon(int callId, const TQCString& replyType, const TQByteArray &replyData); + void slotGotWindowName(int callId, const TQCString& replyType, const TQByteArray &replyData); }; -class DCOPBrowserInterfaceItem : public QObject, public DCOPBrowserItem +class DCOPBrowserInterfaceItem : public TQObject, public DCOPBrowserItem { public: DCOPBrowserInterfaceItem ( DCOPBrowserApplicationItem * parent, - const QCString & app, - const QCString & object, + const TQCString & app, + const TQCString & object, bool def ); virtual ~DCOPBrowserInterfaceItem() {} - QCString app() const { return app_; } - QCString object() const { return object_; } + TQCString app() const { return app_; } + TQCString object() const { return object_; } virtual void setOpen(bool o); @@ -98,8 +98,8 @@ class DCOPBrowserInterfaceItem : public QObject, public DCOPBrowserItem private: - QCString app_; - QCString object_; + TQCString app_; + TQCString object_; }; @@ -110,24 +110,24 @@ class DCOPBrowserFunctionItem : public DCOPBrowserItem DCOPBrowserFunctionItem ( DCOPBrowserInterfaceItem * parent, - const QCString & app, - const QCString & object, - const QCString & function + const TQCString & app, + const TQCString & object, + const TQCString & function ); virtual ~DCOPBrowserFunctionItem() {} - QCString app() const { return app_; } - QCString object() const { return object_; } - QCString function() const { return function_; } + TQCString app() const { return app_; } + TQCString object() const { return object_; } + TQCString function() const { return function_; } virtual void setOpen(bool o); private: - QCString app_; - QCString object_; - QCString function_; + TQCString app_; + TQCString object_; + TQCString function_; }; #endif |