summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/templatestreeview.h
diff options
context:
space:
mode:
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();