summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/templatestreeview.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/templatestreeview.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/templatestreeview.h')
-rw-r--r--quanta/treeviews/templatestreeview.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/quanta/treeviews/templatestreeview.h b/quanta/treeviews/templatestreeview.h
index 7816cffd..efccc56a 100644
--- a/quanta/treeviews/templatestreeview.h
+++ b/quanta/treeviews/templatestreeview.h
@@ -27,18 +27,19 @@ class KMainWindow;
class TemplatesTreeBranch : public BaseTreeBranch {
public:
- TemplatesTreeBranch(KFileTreeView *parent, const KURL& url,
+ TemplatesTreeBranch(KFileTreeView *tqparent, const KURL& url,
const TQString& name, const TQPixmap& pix,
bool showHidden = false, KFileTreeViewItem *branchRoot = 0L);
/** read the mimetype */
- virtual KFileTreeViewItem* createTreeViewItem(KFileTreeViewItem *parent,
+ virtual KFileTreeViewItem* createTreeViewItem(KFileTreeViewItem *tqparent,
KFileItem *fileItem );
};
class TemplatesTreeView : public BaseTreeView {
Q_OBJECT
+ TQ_OBJECT
public:
@@ -48,18 +49,18 @@ public:
* the parameter are only used at the first call to create the class
*
*/
- static TemplatesTreeView* const ref(KMainWindow *parent = 0L, const char *name = 0L)
+ static TemplatesTreeView* const ref(KMainWindow *tqparent = 0L, const char *name = 0L)
{
static TemplatesTreeView *m_ref;
- if (!m_ref) m_ref = new TemplatesTreeView (parent, name);
+ if (!m_ref) m_ref = new TemplatesTreeView (tqparent, name);
return m_ref;
}
~TemplatesTreeView();
/** Writes a .dirinfo file from the selected item's path */
- bool writeDirInfo(const TQString& dirInfoFile = TQString::null);
+ bool writeDirInfo(const TQString& dirInfoFile = TQString());
/** Reads a .dirinfo file from the selected item's path */
- DirInfo readDirInfo(const TQString& dir = TQString::null);
+ DirInfo readDirInfo(const TQString& dir = TQString());
public slots:
@@ -118,7 +119,7 @@ private:
* If you need the class use TemplatesTreeView::ref() for
* construction and reference
*/
- TemplatesTreeView(KMainWindow *parent, const char *name = 0L);
+ TemplatesTreeView(KMainWindow *tqparent, const char *name = 0L);
/** Filters the template through and action, and returns the modified/filtered
template file */
KURL filterTemplate();