summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/basetreeview.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/basetreeview.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/basetreeview.h')
-rw-r--r--quanta/treeviews/basetreeview.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/quanta/treeviews/basetreeview.h b/quanta/treeviews/basetreeview.h
index 75dbaf9d..36c2d7fe 100644
--- a/quanta/treeviews/basetreeview.h
+++ b/quanta/treeviews/basetreeview.h
@@ -54,7 +54,7 @@ class QuantaPlugin;
class BaseTreeViewItem : public KFileTreeViewItem {
public:
- BaseTreeViewItem( KFileTreeViewItem *parent, KFileItem* item, KFileTreeBranch *brnch );
+ BaseTreeViewItem( KFileTreeViewItem *tqparent, KFileItem* item, KFileTreeBranch *brnch );
/**
sorts folders separate from files
@@ -84,15 +84,16 @@ public:
*/
class BaseTreeBranch : public KFileTreeBranch {
Q_OBJECT
+ TQ_OBJECT
public:
- BaseTreeBranch(KFileTreeView *parent, const KURL& url,
+ BaseTreeBranch(KFileTreeView *tqparent, const KURL& url,
const TQString& name, const TQPixmap& pix,
bool showHidden = false, KFileTreeViewItem *branchRoot = 0);
/**
get the BaseTreeViewItem
*/
- virtual KFileTreeViewItem* createTreeViewItem( KFileTreeViewItem *parent,
+ virtual KFileTreeViewItem* createTreeViewItem( KFileTreeViewItem *tqparent,
KFileItem *fileItem );
/**
does custom filtering
@@ -133,13 +134,14 @@ public:
*/
class BaseTreeView : public KFileTreeView {
Q_OBJECT
+ TQ_OBJECT
public:
- BaseTreeView(TQWidget *parent = 0L, const char *name = 0L);
+ BaseTreeView(TQWidget *tqparent = 0L, const char *name = 0L);
virtual ~BaseTreeView();
/**
- * Saves the list view's layout (column widtsh, column order, sort column)
+ * Saves the list view's tqlayout (column widtsh, column order, sort column)
* to a KConfig group. Reimplemented to save the open folders.
*
* @param config the KConfig object to write to
@@ -148,7 +150,7 @@ public:
void saveLayout(KConfig *config, const TQString &group);
/**
- * Reads the list view's layout from a KConfig group as stored with
+ * Reads the list view's tqlayout from a KConfig group as stored with
* saveLayout. Reimplemented to load the open folders.
*
* @param config the KConfig object to read from
@@ -171,7 +173,7 @@ public slots:
*/
void slotNewProjectLoaded(const TQString &, const KURL &, const KURL &);
/**
- repaints all treeview items
+ tqrepaints all treeview items
*/
void slotDocumentClosed(const KURL& url);
@@ -305,7 +307,7 @@ protected:
*/
bool expandArchiv (KFileTreeViewItem *item);
bool acceptDrag(TQDropEvent* e ) const;
- void findDrop(const TQPoint &pos, TQListViewItem *&parent, TQListViewItem *&after);
+ void findDrop(const TQPoint &pos, TQListViewItem *&tqparent, TQListViewItem *&after);
/**
this is for project and template tree to reduce includes there
@@ -324,7 +326,7 @@ protected:
TQString m_projectName;
KURL m_projectBaseURL;
FileInfoDlg* fileInfoDlg;
- /** the parent of the treeview
+ /** the tqparent of the treeview
the passwords are cached there
*/
TQWidget * m_parent;