diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | eb88625a55dbaa7e92042d96241e9ddda4604862 (patch) | |
tree | 4c27a5cdb55479be9713df0175bf0fef29c2cbf2 /amarok/src/directorylist.h | |
parent | 1dbf3ff1cbb6d82a451bc319301bf38816c2c232 (diff) | |
download | amarok-eb88625a55dbaa7e92042d96241e9ddda4604862.tar.gz amarok-eb88625a55dbaa7e92042d96241e9ddda4604862.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'amarok/src/directorylist.h')
-rw-r--r-- | amarok/src/directorylist.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/amarok/src/directorylist.h b/amarok/src/directorylist.h index 543f2f21..0065f04f 100644 --- a/amarok/src/directorylist.h +++ b/amarok/src/directorylist.h @@ -33,8 +33,8 @@ class TQFixedListView : public TQListView // Reimplement tqsizeHint to have directorylist not being too big for "low" (1024x768 is not exactly low) resolutions { public: - TQFixedListView ( TQWidget * tqparent = 0, const char * name = 0, WFlags f = 0 ) - :TQListView(tqparent, name, f) {}; + TQFixedListView ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 ) + :TQListView(parent, name, f) {}; TQSize tqsizeHint() const { return TQSize(400, 100); @@ -73,12 +73,12 @@ class Item : public TQObject, public TQCheckListItem Q_OBJECT TQ_OBJECT public: - Item( TQListView *tqparent ); - Item( TQListViewItem *tqparent, const KURL &url , bool full_disable=false ); + Item( TQListView *parent ); + Item( TQListViewItem *parent, const KURL &url , bool full_disable=false ); - TQCheckListItem *tqparent() const { return static_cast<TQCheckListItem*>( TQListViewItem::tqparent() ); } + TQCheckListItem *parent() const { return static_cast<TQCheckListItem*>( TQListViewItem::parent() ); } bool isFullyDisabled() const { return m_fullyDisabled; } - bool isDisabled() const { return isFullyDisabled() || ( CollectionSetup::instance()->recursive() && tqparent() && tqparent()->isOn() ); } + bool isDisabled() const { return isFullyDisabled() || ( CollectionSetup::instance()->recursive() && parent() && parent()->isOn() ); } TQString fullPath() const; void setOpen( bool b ); // reimpl. |