diff options
Diffstat (limited to 'src/app/bookmarkviewcontroller.cpp')
-rw-r--r-- | src/app/bookmarkviewcontroller.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/app/bookmarkviewcontroller.cpp b/src/app/bookmarkviewcontroller.cpp index 664688b..7bf9cbd 100644 --- a/src/app/bookmarkviewcontroller.cpp +++ b/src/app/bookmarkviewcontroller.cpp @@ -52,8 +52,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. namespace Gwenview { // URLDropListView -URLDropListView::URLDropListView(TQWidget* tqparent) -: KListView(tqparent) { +URLDropListView::URLDropListView(TQWidget* parent) +: KListView(parent) { setAcceptDrops(true); } @@ -71,8 +71,8 @@ void URLDropListView::contentsDragMoveEvent(TQDragMoveEvent* event) { struct BookmarkItem : public KListViewItem { template <class ItemParent> - BookmarkItem(ItemParent* tqparent, const KBookmark& bookmark) - : KListViewItem(tqparent) + BookmarkItem(ItemParent* parent, const KBookmark& bookmark) + : KListViewItem(parent) , mBookmark(bookmark) { refresh(); @@ -173,13 +173,13 @@ void URLDropListView::contentsDropEvent(TQDropEvent* event) { } -BookmarkViewController::BookmarkViewController(TQWidget* tqparent) -: TQObject(tqparent) +BookmarkViewController::BookmarkViewController(TQWidget* parent) +: TQObject(parent) { d=new Private; d->mManager=0; - d->mBox=new TQVBox(tqparent); + d->mBox=new TQVBox(parent); // Init listview d->mListView=new URLDropListView(d->mBox); |