summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/servertreeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/treeviews/servertreeview.cpp')
-rw-r--r--quanta/treeviews/servertreeview.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/quanta/treeviews/servertreeview.cpp b/quanta/treeviews/servertreeview.cpp
index 16d42b45..3d410c03 100644
--- a/quanta/treeviews/servertreeview.cpp
+++ b/quanta/treeviews/servertreeview.cpp
@@ -15,7 +15,7 @@
* *
***************************************************************************/
-// Qt includes
+// TQt includes
#include <tqpainter.h>
// KDE includes
@@ -36,8 +36,8 @@
#include "qextfileinfo.h"
-ServerTreeViewItem::ServerTreeViewItem( KFileTreeViewItem *parent, KFileItem* item, KFileTreeBranch *brnch )
-: BaseTreeViewItem( parent, item, brnch)
+ServerTreeViewItem::ServerTreeViewItem( KFileTreeViewItem *tqparent, KFileItem* item, KFileTreeBranch *brnch )
+: BaseTreeViewItem( tqparent, item, brnch)
{
}
@@ -47,9 +47,9 @@ void ServerTreeViewItem::paintCell(TQPainter *p, const TQColorGroup &cg,
TQColorGroup _cg( cg );
KURL baseURL = Project::ref()->projectBaseURL();
KURL relURL = baseURL;
- relURL.setPath(QExtFileInfo::toRelative(url(), branch()->url()).path());
- KURL url = QExtFileInfo::toAbsolute(relURL, baseURL);
- if ( !Project::ref()->contains(url) )
+ relURL.setPath(TQExtFileInfo::toRelative(url(), branch()->url()).path());
+ KURL url = TQExtFileInfo::toAbsolute(relURL, baseURL);
+ if ( !Project::ref()->tqcontains(url) )
{
TQFont f = p->font();
f.setItalic(true);
@@ -63,22 +63,22 @@ void ServerTreeViewItem::paintCell(TQPainter *p, const TQColorGroup &cg,
}
//ServerTreeBranch implementation
-ServerTreeBranch::ServerTreeBranch(KFileTreeView *parent, const KURL& url,
+ServerTreeBranch::ServerTreeBranch(KFileTreeView *tqparent, const KURL& url,
const TQString& name, const TQPixmap& pix,
bool showHidden, KFileTreeViewItem *branchRoot)
- : BaseTreeBranch(parent, url, name, pix, showHidden, branchRoot)
+ : BaseTreeBranch(tqparent, url, name, pix, showHidden, branchRoot)
{
}
-KFileTreeViewItem* ServerTreeBranch::createTreeViewItem(KFileTreeViewItem *parent, KFileItem *fileItem )
+KFileTreeViewItem* ServerTreeBranch::createTreeViewItem(KFileTreeViewItem *tqparent, KFileItem *fileItem )
{
BaseTreeViewItem *tvi = 0;
- if( parent && fileItem )
+ if( tqparent && fileItem )
{
- tvi = new ServerTreeViewItem( parent, fileItem, this );
+ tvi = new ServerTreeViewItem( tqparent, fileItem, this );
}
else
- kdDebug(24000) << "ServerTreeBranch::createTreeViewItem: Have no parent" << endl;
+ kdDebug(24000) << "ServerTreeBranch::createTreeViewItem: Have no tqparent" << endl;
return tvi;
}
@@ -87,8 +87,8 @@ KFileTreeViewItem* ServerTreeBranch::createTreeViewItem(KFileTreeViewItem *paren
// ServerTreeView implementation
//
//
-ServerTreeView::ServerTreeView(KConfig *config, TQWidget *parent, const KURL &url, const char *name)
- : BaseTreeView(parent, name)
+ServerTreeView::ServerTreeView(KConfig *config, TQWidget *tqparent, const KURL &url, const char *name)
+ : BaseTreeView(tqparent, name)
{
setAcceptDrops(true);
setDragEnabled(true);
@@ -188,7 +188,7 @@ void ServerTreeView::slotReloadTree( ProjectList *fileList, bool buildNewTree, c
TQListViewItemIterator iter(this);
for ( ; iter.current(); ++iter )
{
- iter.current()->repaint();
+ iter.current()->tqrepaint();
}
}