diff options
Diffstat (limited to 'parts/fileview/filegroupswidget.cpp')
-rw-r--r-- | parts/fileview/filegroupswidget.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/parts/fileview/filegroupswidget.cpp b/parts/fileview/filegroupswidget.cpp index 40c2b752..0c498e98 100644 --- a/parts/fileview/filegroupswidget.cpp +++ b/parts/fileview/filegroupswidget.cpp @@ -77,7 +77,7 @@ private: class FileViewFolderItem : public TQListViewItem { public: - FileViewFolderItem(TQListView *tqparent, const TQString &name, const TQString &pattern); + FileViewFolderItem(TQListView *parent, const TQString &name, const TQString &pattern); bool matches(const TQString &fileName); private: @@ -85,8 +85,8 @@ private: }; -FileViewFolderItem::FileViewFolderItem(TQListView *tqparent, const TQString &name, const TQString &pattern) - : TQListViewItem(tqparent, name) +FileViewFolderItem::FileViewFolderItem(TQListView *parent, const TQString &name, const TQString &pattern) + : TQListViewItem(parent, name) { setPixmap(0, SmallIcon("folder")); m_patterns.setAutoDelete(true); @@ -133,7 +133,7 @@ bool FileViewFolderItem::matches(const TQString &fileName) class FileGroupsFileItem : public TQListViewItem { public: - FileGroupsFileItem(TQListViewItem *tqparent, const TQString &fileName); + FileGroupsFileItem(TQListViewItem *parent, const TQString &fileName); TQString fileName() const { return fullname; } @@ -142,8 +142,8 @@ private: }; -FileGroupsFileItem::FileGroupsFileItem(TQListViewItem *tqparent, const TQString &fileName) - : TQListViewItem(tqparent), fullname(fileName) +FileGroupsFileItem::FileGroupsFileItem(TQListViewItem *parent, const TQString &fileName) + : TQListViewItem(parent), fullname(fileName) { setPixmap(0, SmallIcon("document")); TQFileInfo fi(fileName); @@ -214,7 +214,7 @@ void FileGroupsWidget::slotItemExecuted(TQListViewItem *item) setOpen(item, !isOpen(item)); // Is it a group item? - if (!item->tqparent()) + if (!item->parent()) return; FileGroupsFileItem *fgfitem = static_cast<FileGroupsFileItem*>(item); @@ -230,7 +230,7 @@ void FileGroupsWidget::slotContextMenu(KListView *, TQListViewItem *item, const int customizeId = popup.insertItem(i18n("Customize...")); popup.tqsetWhatsThis(customizeId, i18n("<b>Customize</b><p>Opens <b>Customize File Groups</b> dialog where the groups can be managed.")); if (item) { - if (item->tqparent()) { + if (item->parent()) { // Not for group items FileGroupsFileItem *fvfitem = static_cast<FileGroupsFileItem*>(item); TQString pathName = m_part->project()->projectDirectory() + TQDir::separator() + fvfitem->fileName(); |