diff options
Diffstat (limited to 'kmymoney2/widgets/kmymoneyaccounttreebase.h')
-rw-r--r-- | kmymoney2/widgets/kmymoneyaccounttreebase.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kmymoney2/widgets/kmymoneyaccounttreebase.h b/kmymoney2/widgets/kmymoneyaccounttreebase.h index 5932f85..528c845 100644 --- a/kmymoney2/widgets/kmymoneyaccounttreebase.h +++ b/kmymoney2/widgets/kmymoneyaccounttreebase.h @@ -40,7 +40,7 @@ class TQDragObject; class KMyMoneyAccountTreeBaseItem; -class KMyMoneyAccountTreeBase : public KListView +class KMyMoneyAccountTreeBase : public TDEListView { friend class KMyMoneyAccountTreeBaseItem; @@ -154,11 +154,11 @@ protected slots: * and checks if the item pointed to by @p i is either an account or institution * and sends out the necessary signal openContextMenu. * - * @param lv pointer to KListView + * @param lv pointer to TDEListView * @param i pointer to TQListViewItem * @param p position information */ - void slotOpenContextMenu(KListView* lv, TQListViewItem* i, const TQPoint& p); + void slotOpenContextMenu(TDEListView* lv, TQListViewItem* i, const TQPoint& p); /** * This slot is connected to the accout list view's executed signal @@ -174,7 +174,7 @@ protected slots: /** Open the folder pointed to by m_dropItem */ void slotOpenFolder(void); - /** override KListView implementation */ + /** override TDEListView implementation */ void cleanItemHighlighter(void); void slotActivateSort(void); @@ -255,7 +255,7 @@ signals: void reparent(const MyMoneyAccount& acc, const MyMoneyInstitution& institution); }; -class KMyMoneyAccountTreeBaseItem : public KListViewItem +class KMyMoneyAccountTreeBaseItem : public TDEListViewItem { public: typedef enum { @@ -267,27 +267,27 @@ public: * Constructor to be used to construct an institution entry * object. * - * @param parent pointer to the KListView object this entry should be + * @param parent pointer to the TDEListView object this entry should be * added to. * @param institution const reference to MyMoneyInstitution for which - * the KListView entry is constructed + * the TDEListView entry is constructed */ - KMyMoneyAccountTreeBaseItem(KListView *parent, const MyMoneyInstitution& institution); + KMyMoneyAccountTreeBaseItem(TDEListView *parent, const MyMoneyInstitution& institution); /** * Constructor to be used to construct a standard account entry object (e.g. Asset, * Liability, etc.). * - * @param parent pointer to the KListView object this entry should be + * @param parent pointer to the TDEListView object this entry should be * added to. * @param account const reference to MyMoneyAccount for which - * the KListView entry is constructed + * the TDEListView entry is constructed * @param security const reference to the security used to show the value. Usually * one should pass MyMoneyFile::baseCurrency() here. * @param name name of the account to be used instead of the one stored with @p account * If empty, the one stored with @p account will be used. Default: empty */ - KMyMoneyAccountTreeBaseItem(KListView *parent, const MyMoneyAccount& account, const MyMoneySecurity& security = MyMoneySecurity(), const TQString& name = TQString()); + KMyMoneyAccountTreeBaseItem(TDEListView *parent, const MyMoneyAccount& account, const MyMoneySecurity& security = MyMoneySecurity(), const TQString& name = TQString()); /** * Constructor to be used to construct an account entry @@ -296,7 +296,7 @@ public: * @param parent pointer to the parent KAccountListView object this entry should be * added to. * @param account const reference to MyMoneyAccount for which - * the KListView entry is constructed + * the TDEListView entry is constructed * @param price price to be used to calculate value (defaults to 1) * This is used for accounts denominated in foreign currencies or stocks * @param security const reference to the security used to show the value. Usually @@ -356,7 +356,7 @@ public: * o is FALSE, the children of this item are initially hidden. * The user can show them by clicking the + icon to the left of the item. * - * Overrides KListViewItem::setOpen() and exchanges the value field + * Overrides TDEListViewItem::setOpen() and exchanges the value field * with either the value of this account and its subaccounts if @p o * is false or the value of this account if @p o is true. * @@ -374,7 +374,7 @@ public: /** * Convenience method to return casted pointer */ - KMyMoneyAccountTreeBase* listView(void) const { return dynamic_cast<KMyMoneyAccountTreeBase*>(KListViewItem::listView()); }; + KMyMoneyAccountTreeBase* listView(void) const { return dynamic_cast<KMyMoneyAccountTreeBase*>(TDEListViewItem::listView()); }; /** * Return the type of entry |