summaryrefslogtreecommitdiffstats
path: root/ksayit/src/ksayitbookmarkhandler.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 22:17:08 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 22:17:08 +0000
commitf138d74fe16092003b06f5bde9663841929cde7f (patch)
treee9c497a0e59bc7d34264ac9404740d2ea76f3de4 /ksayit/src/ksayitbookmarkhandler.cpp
parent3a3c4b256baee79bdcfe72c5e01b9ded9b525900 (diff)
downloadtdeaccessibility-f138d74fe16092003b06f5bde9663841929cde7f.tar.gz
tdeaccessibility-f138d74fe16092003b06f5bde9663841929cde7f.zip
TQt4 port kdeaccessibility
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1237325 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksayit/src/ksayitbookmarkhandler.cpp')
-rw-r--r--ksayit/src/ksayitbookmarkhandler.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/ksayit/src/ksayitbookmarkhandler.cpp b/ksayit/src/ksayitbookmarkhandler.cpp
index 7a45247..8e838d5 100644
--- a/ksayit/src/ksayitbookmarkhandler.cpp
+++ b/ksayit/src/ksayitbookmarkhandler.cpp
@@ -10,7 +10,7 @@
//
//
-// Qt include
+// TQt include
#include <tqregexp.h>
// KDE includes
@@ -23,11 +23,11 @@
#include "ksayitbookmarkhandler.h"
#include "ksayit.h"
-KSayItBookmarkHandler::KSayItBookmarkHandler(KBookmarkManager *bkManager, KSayItApp* parent)
- : KBookmarkOwner(), m_bkManager(bkManager), m_parent(parent)
+KSayItBookmarkHandler::KSayItBookmarkHandler(KBookmarkManager *bkManager, KSayItApp* tqparent)
+ : KBookmarkOwner(), m_bkManager(bkManager), m_parent(tqparent)
{
- m_ID = TQString::null;
- m_title = TQString::null;
+ m_ID = TQString();
+ m_title = TQString();
}
KSayItBookmarkHandler::~KSayItBookmarkHandler()
@@ -49,10 +49,10 @@ void KSayItBookmarkHandler::openBookmarkURL(const TQString &url)
kdDebug(100200) << "KSayItBookmarkHandler::openBookmarkURL(" << url << ")" << endl;
TQString l_url = url;
- TQString title = TQString::null;
+ TQString title = TQString();
TQString type = l_url.section( "://", 0, 0 );
TQString ID = l_url.section( TQRegExp("/+"), 1, 1 );
- TQString err = TQString::null;
+ TQString err = TQString();
// Some checks
if ( type != "ksayit" ){
@@ -71,7 +71,7 @@ void KSayItBookmarkHandler::openBookmarkURL(const TQString &url)
title = bookmark.text();
}
- TQString result = TQString::null;
+ TQString result = TQString();
result = m_parent->setItemByBookmark( ID, title );
if ( !result.isNull() ){
KMessageBox::sorry( 0, result, i18n("Bookmark not found") );
@@ -228,7 +228,7 @@ void KSayItBookmarkHandler::traverseBookmarks(KBookmarkGroup bkGroup)
//
// Modifications on URL/Title END
- bkNew = bkGroup.addBookmark( m_bkManager, title, url, TQString::null, false );
+ bkNew = bkGroup.addBookmark( m_bkManager, title, url, TQString(), false );
bkGroup.moveItem( bkNew, bkPrev );
bkGroup.deleteBookmark( bk );
}