diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
commit | 48d4a26399959121f33d2bc3bfe51c7827b654fc (patch) | |
tree | 5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /parts/documentation/bookmarkview.cpp | |
parent | 7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff) | |
download | tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip |
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
Diffstat (limited to 'parts/documentation/bookmarkview.cpp')
-rw-r--r-- | parts/documentation/bookmarkview.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
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()); |