From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- parts/fileview/fileitemfactory.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'parts/fileview/fileitemfactory.h') 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; }; } -- cgit v1.2.1