diff options
Diffstat (limited to 'akregator/src/akregator_view.cpp')
-rw-r--r-- | akregator/src/akregator_view.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/akregator/src/akregator_view.cpp b/akregator/src/akregator_view.cpp index 8776ec123..59457286a 100644 --- a/akregator/src/akregator_view.cpp +++ b/akregator/src/akregator_view.cpp @@ -366,7 +366,7 @@ View::View( Part *part, TQWidget *parent, ActionManagerImpl* actionManager, cons if (!Settings::resetQuickFilterOnNodeChange()) { - m_searchBar->slotSetStatus(Settings::statusFilter()); + m_searchBar->slotSeStatus(Settings::statusFilter()); m_searchBar->slotSetText(Settings::textFilter()); } @@ -411,10 +411,10 @@ void View::slotOnShutdown() void View::saveSettings() { const TQValueList<int> spl1 = m_horizontalSplitter->sizes(); - if ( spl1.contains( 0 ) == 0 ) + if ( spl1.tqcontains( 0 ) == 0 ) Settings::setSplitter1Sizes( spl1 ); const TQValueList<int> spl2 = m_articleSplitter->sizes(); - if ( spl2.contains( 0 ) == 0 ) + if ( spl2.tqcontains( 0 ) == 0 ) Settings::setSplitter2Sizes( spl2 ); Settings::setViewMode( m_viewMode ); Settings::writeConfig(); @@ -457,7 +457,7 @@ void View::setTabIcon(const TQPixmap& icon) void View::connectFrame(Frame *f) { - connect(f, TQT_SIGNAL(statusText(const TQString &)), this, TQT_SLOT(slotStatusText(const TQString&))); + connect(f, TQT_SIGNAL(statusText(const TQString &)), this, TQT_SLOT(sloStatusText(const TQString&))); connect(f, TQT_SIGNAL(captionChanged (const TQString &)), this, TQT_SLOT(slotCaptionChanged (const TQString &))); connect(f, TQT_SIGNAL(loadingProgress(int)), this, TQT_SLOT(slotLoadingProgress(int)) ); connect(f, TQT_SIGNAL(started()), this, TQT_SLOT(slotStarted())); @@ -465,10 +465,10 @@ void View::connectFrame(Frame *f) connect(f, TQT_SIGNAL(canceled(const TQString &)), this, TQT_SLOT(slotCanceled(const TQString&))); } -void View::slotStatusText(const TQString &c) +void View::sloStatusText(const TQString &c) { if (sender() == m_currentFrame) - emit setStatusBarText(c); + emit seStatusBarText(c); } void View::slotCaptionChanged(const TQString &c) @@ -570,7 +570,7 @@ bool View::loadFeeds(const TQDomDocument& doc, Folder* parent) // create a tag for every tag ID in the archive that is not part of the tagset // this is a fallback in case the tagset was corrupted, // so the tagging information from archive does not get lost. - if (!tagSet->containsID(*it)) + if (!tagSet->tqcontainsID(*it)) { Tag tag(*it, *it); tagSet->insert(tag); @@ -690,7 +690,7 @@ void View::slotFrameChanged(Frame *f) emit setWindowCaption(f->caption()); emit setProgress(f->progress()); - emit setStatusBarText(f->statusText()); + emit seStatusBarText(f->statusText()); if (f->part() == m_part) m_part->mergePart(m_articleViewer); @@ -1070,14 +1070,14 @@ void View::slotFetchingStarted() { m_mainFrame->setState(Frame::Started); m_actionManager->action("feed_stop")->setEnabled(true); - m_mainFrame->setStatusText(i18n("Fetching Feeds...")); + m_mainFrame->seStatusText(i18n("Fetching Feeds...")); } void View::slotFetchingStopped() { m_mainFrame->setState(Frame::Completed); m_actionManager->action("feed_stop")->setEnabled(false); - m_mainFrame->setStatusText(TQString::null); + m_mainFrame->seStatusText(TQString::null); } void View::slotFeedFetched(Feed *feed) @@ -1152,7 +1152,7 @@ void View::slotNewTag() void View::slotTagCreated(const Tag& tag) { - if (m_tagNodeList && !m_tagNodeList->containsTagId(tag.id())) + if (m_tagNodeList && !m_tagNodeList->tqcontainsTagId(tag.id())) { TagNode* tagNode = new TagNode(tag, m_feedList->rootNode()); m_tagNodeList->rootNode()->appendChild(tagNode); @@ -1186,7 +1186,7 @@ void View::slotArticleSelected(const Article& article) if (delay > 0) m_markReadTimer->start( delay*1000, true ); else - a.setStatus(Article::Read); + a.seStatus(Article::Read); } } @@ -1329,7 +1329,7 @@ void View::slotArticleDelete() for (TQValueList<Article>::Iterator it = articles.begin(); it != articles.end(); ++it) { Feed* feed = (*it).feed(); - if (!feeds.contains(feed)) + if (!feeds.tqcontains(feed)) feeds.append(feed); feed->setNotificationMode(false); (*it).setDeleted(); @@ -1370,7 +1370,7 @@ void View::slotSetSelectedArticleRead() return; for (TQValueList<Article>::Iterator it = articles.begin(); it != articles.end(); ++it) - (*it).setStatus(Article::Read); + (*it).seStatus(Article::Read); } void View::slotTextToSpeechRequest() @@ -1408,7 +1408,7 @@ void View::slotSetSelectedArticleUnread() return; for (TQValueList<Article>::Iterator it = articles.begin(); it != articles.end(); ++it) - (*it).setStatus(Article::Unread); + (*it).seStatus(Article::Unread); } void View::slotSetSelectedArticleNew() @@ -1419,7 +1419,7 @@ void View::slotSetSelectedArticleNew() return; for (TQValueList<Article>::Iterator it = articles.begin(); it != articles.end(); ++it) - (*it).setStatus(Article::New); + (*it).seStatus(Article::New); } void View::slotSetCurrentArticleReadDelayed() @@ -1429,7 +1429,7 @@ void View::slotSetCurrentArticleReadDelayed() if (article.isNull()) return; - article.setStatus(Article::Read); + article.seStatus(Article::Read); } void View::slotMouseOverInfo(const KFileItem *kifi) @@ -1437,11 +1437,11 @@ void View::slotMouseOverInfo(const KFileItem *kifi) if (kifi) { KFileItem *k=(KFileItem*)kifi; - m_mainFrame->setStatusText(k->url().prettyURL());//getStatusBarInfo()); + m_mainFrame->seStatusText(k->url().prettyURL());//geStatusBarInfo()); } else { - m_mainFrame->setStatusText(TQString::null); + m_mainFrame->seStatusText(TQString::null); } } @@ -1453,7 +1453,7 @@ void View::readProperties(KConfig* config) m_searchBar->slotSetText(config->readEntry("searchLine")); int statusfilter = config->readNumEntry("searchCombo", -1); if (statusfilter != -1) - m_searchBar->slotSetStatus(statusfilter); + m_searchBar->slotSeStatus(statusfilter); } int selectedID = config->readNumEntry("selectedNodeID", -1); @@ -1529,7 +1529,7 @@ void View::updateTagActions() TQStringList atags = (*it).tags(); for (TQStringList::ConstIterator it2 = atags.begin(); it2 != atags.end(); ++it2) { - if (!tags.contains(*it2)) + if (!tags.tqcontains(*it2)) tags += *it2; } } |