From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- akregator/src/feedstoragedummyimpl.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'akregator/src/feedstoragedummyimpl.cpp') diff --git a/akregator/src/feedstoragedummyimpl.cpp b/akregator/src/feedstoragedummyimpl.cpp index b7200b0e0..9d7b8e125 100644 --- a/akregator/src/feedstoragedummyimpl.cpp +++ b/akregator/src/feedstoragedummyimpl.cpp @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #include "feedstoragedummyimpl.h" @@ -246,7 +246,7 @@ int FeedStorageDummyImpl::status(const TQString& guid) return tqcontains(guid) ? d->entries[guid].status : 0; } -void FeedStorageDummyImpl::seStatus(const TQString& guid, int status) +void FeedStorageDummyImpl::setqStatus(const TQString& guid, int status) { if (tqcontains(guid)) d->entries[guid].status = status; @@ -407,7 +407,7 @@ void FeedStorageDummyImpl::copyArticle(const TQString& guid, FeedStorage* source setHash(guid, source->hash(guid)); setLink(guid, source->link(guid)); setPubDate(guid, source->pubDate(guid)); - seStatus(guid, source->status(guid)); + setqStatus(guid, source->status(guid)); setTitle(guid, source->title(guid)); TQStringList tags = source->tags(guid); @@ -440,8 +440,8 @@ void FeedStorageDummyImpl::removeEnclosure(const TQString& guid) { FeedStorageDummyImplPrivate::Entry entry = d->entries[guid]; entry.hasEnclosure = false; - entry.enclosureUrl = TQString::null; - entry.enclosureType = TQString::null; + entry.enclosureUrl = TQString(); + entry.enclosureType = TQString(); entry.enclosureLength = -1; } } @@ -459,8 +459,8 @@ void FeedStorageDummyImpl::enclosure(const TQString& guid, bool& hasEnclosure, T else { hasEnclosure = false; - url = TQString::null; - type = TQString::null; + url = TQString(); + type = TQString(); length = -1; } } -- cgit v1.2.1