From dc6b8e72fed2586239e3514819238c520636c9d9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:54:04 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- quanta/treeviews/projecttreeview.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'quanta/treeviews/projecttreeview.h') diff --git a/quanta/treeviews/projecttreeview.h b/quanta/treeviews/projecttreeview.h index 3bd7548d..e0235d30 100644 --- a/quanta/treeviews/projecttreeview.h +++ b/quanta/treeviews/projecttreeview.h @@ -31,14 +31,14 @@ class ProjectTreeViewItem : public BaseTreeViewItem { public: ProjectTreeViewItem( KFileTreeViewItem *parent, KFileItem* item, KFileTreeBranch *brnch ); /** makes document root italics */ - void paintCell(QPainter *p, const QColorGroup &cg, int column, int width, int align); + void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int align); }; class ProjectTreeBranch : public BaseTreeBranch { public: ProjectTreeBranch(KFileTreeView *parent, const KURL& url, - const QString& name, const QPixmap& pix, + const TQString& name, const TQPixmap& pix, bool showHidden = false, KFileTreeViewItem *branchRoot = 0L); /** check for CVS and visible*/ @@ -61,7 +61,7 @@ public: * the parameters are only used at the first call to create the class * */ - static ProjectTreeView* const ref(QWidget *parent = 0L, const char *name = 0L) + static ProjectTreeView* const ref(TQWidget *parent = 0L, const char *name = 0L) { static ProjectTreeView *m_ref; if (!m_ref) m_ref = new ProjectTreeView(parent, name); @@ -76,14 +76,14 @@ public: public slots: // Public slots void slotOpen(); void slotLoadToolbar(); - void slotReloadTree(ProjectList *a_fileList, bool buildNewtree, const QStringList &folderToOpen); + void slotReloadTree(ProjectList *a_fileList, bool buildNewtree, const TQStringList &folderToOpen); /** Sets new project information */ - void slotNewProjectLoaded(const QString &, const KURL &, const KURL &); + void slotNewProjectLoaded(const TQString &, const KURL &, const KURL &); void slotPopulateFinished(KFileTreeViewItem* ); /** makes the url visible in the tree */ void slotViewActivated(const KURL&); /** fills the list with the url's of the open folder */ - void slotGetTreeStatus(QStringList *folderToOpen) + void slotGetTreeStatus(TQStringList *folderToOpen) { m_projectDir->addOpenFolder(folderToOpen); } @@ -91,8 +91,8 @@ public slots: // Public slots protected slots: - void slotMenu(KListView *listView, QListViewItem *item, const QPoint &point); - void slotRenameItem(QListViewItem* kvtvi, const QString & newText, int col); + void slotMenu(KListView *listView, TQListViewItem *item, const TQPoint &point); + void slotRenameItem(TQListViewItem* kvtvi, const TQString & newText, int col); virtual void slotCreateFolder(); virtual void slotCreateFile(); @@ -103,10 +103,10 @@ signals: // Signals /** No descriptions */ void showProjectOptions(); void insertToProject(const KURL&); - void uploadSingleURL(const KURL&, const QString&, bool, bool); + void uploadSingleURL(const KURL&, const TQString&, bool, bool); void loadToolbarFile(const KURL&); void uploadProject(); - void changeFileDescription(const KURL& url, const QString& desc); + void changeFileDescription(const KURL& url, const TQString& desc); void changeUploadStatus(const KURL& url, int status); void changeDocumentFolderStatus(const KURL& url, bool status); void reloadProject(); @@ -116,7 +116,7 @@ private: * If you need the class use ProjectTreeView::ref() for * construction and reference */ - ProjectTreeView(QWidget *parent, const char *name); + ProjectTreeView(TQWidget *parent, const char *name); ProjectTreeBranch *m_projectDir; KPopupMenu *m_fileMenu; @@ -147,7 +147,7 @@ protected: @param item the treeview item @param newDesc the new description of item */ - void itemDescChanged(KFileTreeViewItem* item, const QString& newDesc); + void itemDescChanged(KFileTreeViewItem* item, const TQString& newDesc); /** adds the Quanta fileinfopage to the properties dialog overwritten to enable the file description -- cgit v1.2.1