diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /parts/tools/kapplicationtree.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/tools/kapplicationtree.h')
-rw-r--r-- | parts/tools/kapplicationtree.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/parts/tools/kapplicationtree.h b/parts/tools/kapplicationtree.h index 2e376ba7..60a35ac6 100644 --- a/parts/tools/kapplicationtree.h +++ b/parts/tools/kapplicationtree.h @@ -40,24 +40,24 @@ class KDevAppTreeListItem : public QListViewItem { bool parsed; bool directory; - QString path; - QString exec; - QString dEntry; + TQString path; + TQString exec; + TQString dEntry; protected: - QString key(int column, bool ascending) const; + TQString key(int column, bool ascending) const; - void init(const QPixmap& pixmap, bool parse, bool dir, const QString& _path, const QString& _exec, const QString& _dEntry); + void init(const TQPixmap& pixmap, bool parse, bool dir, const TQString& _path, const TQString& _exec, const TQString& _dEntry); public: - KDevAppTreeListItem( KListView* parent, const QString & name, const QPixmap& pixmap, - bool parse, bool dir, const QString& p, const QString& c, const QString& dE ); - KDevAppTreeListItem( QListViewItem* parent, const QString & name, const QPixmap& pixmap, - bool parse, bool dir, const QString& p, const QString& c, const QString& dE ); + KDevAppTreeListItem( KListView* parent, const TQString & name, const TQPixmap& pixmap, + bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE ); + KDevAppTreeListItem( TQListViewItem* parent, const TQString & name, const TQPixmap& pixmap, + bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE ); bool isDirectory(); - QString desktopEntryPath() const { return dEntry; } - QString executable() const { return exec; } + TQString desktopEntryPath() const { return dEntry; } + TQString executable() const { return exec; } protected: virtual void activate(); @@ -75,26 +75,26 @@ class KDevApplicationTree : public KListView { Q_OBJECT public: - KDevApplicationTree( QWidget *parent, const char* name = 0 ); + KDevApplicationTree( TQWidget *parent, const char* name = 0 ); /** * Add a group of .desktop/.kdelnk entries */ - void addDesktopGroup( QString relPath, KDevAppTreeListItem *item = 0 ); + void addDesktopGroup( TQString relPath, KDevAppTreeListItem *item = 0 ); bool isDirSel(); protected: - void resizeEvent( QResizeEvent *_ev ); + void resizeEvent( TQResizeEvent *_ev ); KDevAppTreeListItem* currentitem; public slots: - void slotItemHighlighted(QListViewItem* i); - void slotSelectionChanged(QListViewItem* i); + void slotItemHighlighted(TQListViewItem* i); + void slotSelectionChanged(TQListViewItem* i); signals: - void selected( const QString& _name, const QString& _exec ); - void highlighted( const QString& _name, const QString& _exec ); + void selected( const TQString& _name, const TQString& _exec ); + void highlighted( const TQString& _name, const TQString& _exec ); }; /* ------------------------------------------------------------------------- */ |