From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: TQt4 port kdevelop This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- parts/documentation/bookmarkview.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'parts/documentation/bookmarkview.cpp') diff --git a/parts/documentation/bookmarkview.cpp b/parts/documentation/bookmarkview.cpp index ff2bbece..c361947e 100644 --- a/parts/documentation/bookmarkview.cpp +++ b/parts/documentation/bookmarkview.cpp @@ -65,7 +65,7 @@ TQString DocBookmarkOwner::currentURL() const if (activePart) return activePart->url().url(); else - return TQString::null; + return TQString(); } TQString DocBookmarkOwner::currentTitle() const @@ -79,21 +79,21 @@ TQString DocBookmarkOwner::currentTitle() const return activePart->url().prettyURL(); } else - return TQString::null; + return TQString(); } class DocBookmarkItem: public DocumentationItem { public: - DocBookmarkItem(Type type, KListView *parent, const TQString &name) - :DocumentationItem(type, parent, name) + DocBookmarkItem(Type type, KListView *tqparent, const TQString &name) + :DocumentationItem(type, tqparent, name) { } - DocBookmarkItem(Type type, KListView *parent, DocumentationItem *after, const TQString &name) - :DocumentationItem(type, parent, after, name) + DocBookmarkItem(Type type, KListView *tqparent, DocumentationItem *after, const TQString &name) + :DocumentationItem(type, tqparent, after, name) { } - DocBookmarkItem(Type type, DocumentationItem *parent, const TQString &name) - :DocumentationItem(type, parent, name) + DocBookmarkItem(Type type, DocumentationItem *tqparent, const TQString &name) + :DocumentationItem(type, tqparent, name) { } void setBookmark(const KBookmark &bm) { m_bm = bm; } @@ -107,8 +107,8 @@ private: //class BookmarkView -BookmarkView::BookmarkView(DocumentationWidget *parent, const char *name) - :TQWidget(parent, name), m_widget(parent) +BookmarkView::BookmarkView(DocumentationWidget *tqparent, const char *name) + :TQWidget(tqparent, name), m_widget(tqparent) { m_bmManager = new DocBookmarkManager(m_widget->part()); m_bmOwner = new DocBookmarkOwner(m_widget->part()); -- cgit v1.2.1