summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/projecttreeview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/treeviews/projecttreeview.h
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/treeviews/projecttreeview.h')
-rw-r--r--quanta/treeviews/projecttreeview.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/quanta/treeviews/projecttreeview.h b/quanta/treeviews/projecttreeview.h
index 463f660c..dafa3a2f 100644
--- a/quanta/treeviews/projecttreeview.h
+++ b/quanta/treeviews/projecttreeview.h
@@ -28,7 +28,7 @@ class ProjectList;
class ProjectTreeViewItem : public BaseTreeViewItem {
public:
- ProjectTreeViewItem( KFileTreeViewItem *parent, KFileItem* item, KFileTreeBranch *brnch );
+ ProjectTreeViewItem( KFileTreeViewItem *tqparent, KFileItem* item, KFileTreeBranch *brnch );
/** makes document root italics */
void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int align);
};
@@ -36,12 +36,12 @@ public:
class ProjectTreeBranch : public BaseTreeBranch {
public:
- ProjectTreeBranch(KFileTreeView *parent, const KURL& url,
+ ProjectTreeBranch(KFileTreeView *tqparent, const KURL& url,
const TQString& name, const TQPixmap& pix,
bool showHidden = false, KFileTreeViewItem *branchRoot = 0L);
/** check for CVS and visible*/
- virtual KFileTreeViewItem* createTreeViewItem(KFileTreeViewItem *parent,
+ virtual KFileTreeViewItem* createTreeViewItem(KFileTreeViewItem *tqparent,
KFileItem *fileItem );
/** only files in list will be shown */
@@ -52,6 +52,7 @@ public:
class ProjectTreeView : public BaseTreeView {
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -60,10 +61,10 @@ public:
* the parameters are only used at the first call to create the class
*
*/
- static ProjectTreeView* const ref(TQWidget *parent = 0L, const char *name = 0L)
+ static ProjectTreeView* const ref(TQWidget *tqparent = 0L, const char *name = 0L)
{
static ProjectTreeView *m_ref;
- if (!m_ref) m_ref = new ProjectTreeView(parent, name);
+ if (!m_ref) m_ref = new ProjectTreeView(tqparent, name);
return m_ref;
}
@@ -82,7 +83,7 @@ public slots: // Public slots
/** makes the url visible in the tree */
void slotViewActivated(const KURL&);
/** fills the list with the url's of the open folder */
- void slotGetTreeStatus(TQStringList *folderToOpen)
+ void slotGetTreetqStatus(TQStringList *folderToOpen)
{
m_projectDir->addOpenFolder(folderToOpen);
}
@@ -106,8 +107,8 @@ signals: // Signals
void loadToolbarFile(const KURL&);
void uploadProject();
void changeFileDescription(const KURL& url, const TQString& desc);
- void changeUploadStatus(const KURL& url, int status);
- void changeDocumentFolderStatus(const KURL& url, bool status);
+ void changeUploadtqStatus(const KURL& url, int status);
+ void changeDocumentFoldertqStatus(const KURL& url, bool status);
void reloadProject();
private:
@@ -115,7 +116,7 @@ private:
* If you need the class use ProjectTreeView::ref() for
* construction and reference
*/
- ProjectTreeView(TQWidget *parent, const char *name);
+ ProjectTreeView(TQWidget *tqparent, const char *name);
ProjectTreeBranch *m_projectDir;
KPopupMenu *m_fileMenu;
@@ -169,7 +170,7 @@ private slots: // Private slots
void slotNeverUpload();
void slotConfirmUpload();
void slotUploadMenuAboutToShow();
- void slotChangeDocumentFolderStatus();
+ void slotChangeDocumentFoldertqStatus();
};
#endif