summaryrefslogtreecommitdiffstats
path: root/parts/fileview/filegroupswidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /parts/fileview/filegroupswidget.cpp
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/fileview/filegroupswidget.cpp')
-rw-r--r--parts/fileview/filegroupswidget.cpp16
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();