summaryrefslogtreecommitdiffstats
path: root/buildtools/custommakefiles/selectnewfilesdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/custommakefiles/selectnewfilesdialog.cpp')
-rw-r--r--buildtools/custommakefiles/selectnewfilesdialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/buildtools/custommakefiles/selectnewfilesdialog.cpp b/buildtools/custommakefiles/selectnewfilesdialog.cpp
index 988bae07..a4c0db99 100644
--- a/buildtools/custommakefiles/selectnewfilesdialog.cpp
+++ b/buildtools/custommakefiles/selectnewfilesdialog.cpp
@@ -20,8 +20,8 @@
#include <kdebug.h>
#include "selectnewfilesdialogbase.h"
-SelectNewFilesDialog::SelectNewFilesDialog( TQStringList paths, TQWidget* tqparent, const char* name )
- : KDialogBase( tqparent, name, true, i18n("Add newly created files to project"), KDialogBase::Ok|KDialogBase::Cancel )
+SelectNewFilesDialog::SelectNewFilesDialog( TQStringList paths, TQWidget* parent, const char* name )
+ : KDialogBase( parent, name, true, i18n("Add newly created files to project"), KDialogBase::Ok|KDialogBase::Cancel )
{
m_widget = new SelectNewFilesDialogBase(this);
m_widget->fileView->header()->hide();
@@ -87,13 +87,13 @@ void SelectNewFilesDialog::addPath( TQCheckListItem* item, const TQString& path
addPath(i, parts.join("/") );
}
-TQCheckListItem* SelectNewFilesDialog::createItem( TQCheckListItem* tqparent, const TQString& name, int count )
+TQCheckListItem* SelectNewFilesDialog::createItem( TQCheckListItem* parent, const TQString& name, int count )
{
TQCheckListItem::Type t = TQCheckListItem::CheckBox;
if( count > 0 )
t = TQCheckListItem::CheckBoxController;
- if( tqparent == 0 )
+ if( parent == 0 )
{
TQListViewItem* item = m_widget->fileView->firstChild();
while( item )
@@ -105,14 +105,14 @@ TQCheckListItem* SelectNewFilesDialog::createItem( TQCheckListItem* tqparent, co
return new TQCheckListItem( m_widget->fileView, name, t );
}else
{
- TQListViewItem* item = tqparent->firstChild();
+ TQListViewItem* item = parent->firstChild();
while( item )
{
if( item->text( 0 ) == name )
return static_cast<TQCheckListItem*>(item);
item = item->nextSibling();
}
- return new TQCheckListItem( tqparent, name, t );
+ return new TQCheckListItem( parent, name, t );
}
}