summaryrefslogtreecommitdiffstats
path: root/src/libgui/project_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/project_manager.cpp')
-rw-r--r--src/libgui/project_manager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libgui/project_manager.cpp b/src/libgui/project_manager.cpp
index 931901e..ce58146 100644
--- a/src/libgui/project_manager.cpp
+++ b/src/libgui/project_manager.cpp
@@ -35,8 +35,8 @@
#include "device_gui.h"
//----------------------------------------------------------------------------
-ProjectManager::View::View(TQWidget *tqparent)
- : ListView(tqparent, "project_manager"), _project(0), _modified(false)
+ProjectManager::View::View(TQWidget *parent)
+ : ListView(parent, "project_manager"), _project(0), _modified(false)
{
connect(TQT_TQOBJECT(this), TQT_SIGNAL(mouseButtonClicked(int, TQListViewItem *, const TQPoint &, int)),
TQT_SLOT(clicked(int, TQListViewItem *, const TQPoint &, int)));
@@ -403,7 +403,7 @@ void ProjectManager::View::removeFile(const PURL::Url &url)
if ( _project && !isExternalFile(url) ) _project->removeFile(url);
FileItem *item = findFileItem(url);
if ( item==0 ) return;
- HeaderItem *group = static_cast<HeaderItem *>(item->tqparent());
+ HeaderItem *group = static_cast<HeaderItem *>(item->parent());
delete item;
if ( group->childCount()==0 ) delete group;
_modified = true;
@@ -575,7 +575,7 @@ TQDragObject *ProjectManager::View::dragObject()
{
if ( currentItem()==0 || currentItem()->rtti()!=FileRtti ) return 0;
const FileItem *item = static_cast<const FileItem *>(currentItem());
- const HeaderItem *hitem = static_cast<const HeaderItem *>(item->tqparent());
+ const HeaderItem *hitem = static_cast<const HeaderItem *>(item->parent());
if ( hitem->group()!=SourceGroup ) return 0;
TQStrList uris;
uris.append(TQUriDrag::localFileToUri(item->url().filepath()));
@@ -587,7 +587,7 @@ bool ProjectManager::View::acceptDrag(TQDropEvent* e) const
if ( e->source()!=viewport() ) return false;
const TQListViewItem *item = itemAt(e->pos());
if ( item==0 || item->rtti()!=FileRtti ) return false;
- const HeaderItem *hitem = static_cast<const HeaderItem *>(item->tqparent());
+ const HeaderItem *hitem = static_cast<const HeaderItem *>(item->parent());
return ( hitem->group()==SourceGroup );
}