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/fileview/fileitemfactory.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/fileview/fileitemfactory.h')
-rw-r--r-- | parts/fileview/fileitemfactory.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/parts/fileview/fileitemfactory.h b/parts/fileview/fileitemfactory.h index f87ae39a..065591d7 100644 --- a/parts/fileview/fileitemfactory.h +++ b/parts/fileview/fileitemfactory.h @@ -41,16 +41,16 @@ namespace filetreeview virtual ~FileTreeViewItem() {} public: - virtual void paintCell( QPainter *p, const QColorGroup &cg, int column, int width, int alignment ); + virtual void paintCell( TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment ); FileTreeWidget* listView() const; void hideOrShow(); bool isProjectFile() const { return m_isProjectFile; } - bool setProjectFile( QString const &path, bool pf ); + bool setProjectFile( TQString const &path, bool pf ); bool isActiveDir() const { return m_isActiveDir; } - bool changeActiveDir( const QString &, const QString&, bool foundolddir = false, bool foundnewdir = false ); + bool changeActiveDir( const TQString &, const TQString&, bool foundolddir = false, bool foundnewdir = false ); protected: - virtual int compare( QListViewItem *i, int col, bool ascending ) const; + virtual int compare( TQListViewItem *i, int col, bool ascending ) const; private: bool m_isProjectFile; @@ -63,7 +63,7 @@ namespace filetreeview class FileTreeBranchItem : public KFileTreeBranch { protected: - FileTreeBranchItem( KFileTreeView* view, const KURL& url, const QString& name, const QPixmap& pix ) + FileTreeBranchItem( KFileTreeView* view, const KURL& url, const TQString& name, const TQPixmap& pix ) : KFileTreeBranch( view, url, name, pix, false, new FileTreeViewItem( view, new KFileItem( url, "inode/directory", S_IFDIR ), this ) ) { @@ -82,7 +82,7 @@ namespace filetreeview class BranchItemFactory { public: - virtual FileTreeBranchItem *makeBranchItem( KFileTreeView* view, const KURL& url, const QString& name, const QPixmap& pix ) = 0; + virtual FileTreeBranchItem *makeBranchItem( KFileTreeView* view, const KURL& url, const TQString& name, const TQPixmap& pix ) = 0; }; } |