summaryrefslogtreecommitdiffstats
path: root/akregator/src/akregator_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/akregator_part.cpp')
-rw-r--r--akregator/src/akregator_part.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/akregator/src/akregator_part.cpp b/akregator/src/akregator_part.cpp
index 449b871e..aafb17be 100644
--- a/akregator/src/akregator_part.cpp
+++ b/akregator/src/akregator_part.cpp
@@ -116,7 +116,7 @@ class Part::ApplyFiltersInterceptor : public ArticleInterceptor
}
};
-Part::Part( TQWidget *parentWidget, const char * /*widgetName*/,
+Part::Part( TQWidget *tqparentWidget, const char * /*widgetName*/,
TQObject *parent, const char *name, const TQStringList& )
: DCOPObject("AkregatorIface")
, MyBasePart(parent, name)
@@ -168,7 +168,7 @@ Part::Part( TQWidget *parentWidget, const char * /*widgetName*/,
{
m_storage = Backend::StorageFactoryRegistry::self()->getFactory("dummy")->createStorage(storageParams);
- KMessageBox::error(parentWidget, i18n("Unable to load storage backend plugin \"%1\". No feeds are archived.").arg(Settings::archiveBackend()), i18n("Plugin error") );
+ KMessageBox::error(tqparentWidget, i18n("Unable to load storage backend plugin \"%1\". No feeds are archived.").arg(Settings::archiveBackend()), i18n("Plugin error") );
}
Filters::ArticleFilterList list;
@@ -187,14 +187,14 @@ Part::Part( TQWidget *parentWidget, const char * /*widgetName*/,
m_actionManager = new ActionManagerImpl(this);
ActionManager::setInstance(m_actionManager);
- m_view = new Akregator::View(this, parentWidget, m_actionManager, "akregator_view");
+ m_view = new Akregator::View(this, tqparentWidget, m_actionManager, "akregator_view");
m_actionManager->initView(m_view);
m_actionManager->setTagSet(Kernel::self()->tagSet());
m_extension = new BrowserExtension(this, "ak_extension");
connect(m_view, TQT_SIGNAL(setWindowCaption(const TQString&)), this, TQT_SIGNAL(setWindowCaption(const TQString&)));
- connect(m_view, TQT_SIGNAL(setStatusBarText(const TQString&)), this, TQT_SIGNAL(setStatusBarText(const TQString&)));
+ connect(m_view, TQT_SIGNAL(seStatusBarText(const TQString&)), this, TQT_SIGNAL(seStatusBarText(const TQString&)));
connect(m_view, TQT_SIGNAL(setProgress(int)), m_extension, TQT_SIGNAL(loadingProgress(int)));
connect(m_view, TQT_SIGNAL(signalCanceled(const TQString&)), this, TQT_SIGNAL(canceled(const TQString&)));
connect(m_view, TQT_SIGNAL(signalStarted(KIO::Job*)), this, TQT_SIGNAL(started(KIO::Job*)));
@@ -428,7 +428,7 @@ bool Part::openFile()
if (file.size() > 0) // don't backup empty files
{
- TQString backup = m_file + "-backup." + TQString::number(TQDateTime::currentDateTime().toTime_t());
+ TQString backup = m_file + "-backup." + TQString::number(TQDateTime::tqcurrentDateTime().toTime_t());
copyFile(backup);
@@ -444,7 +444,7 @@ bool Part::openFile()
{
if (file.size() > 0) // don't backup empty files
{
- TQString backup = m_file + "-backup." + TQString::number(TQDateTime::currentDateTime().toTime_t());
+ TQString backup = m_file + "-backup." + TQString::number(TQDateTime::tqcurrentDateTime().toTime_t());
copyFile(backup);
KMessageBox::error(m_view, i18n("<qt>The standard feed list is corrupted (no valid OPML). A backup was created:<p><b>%2</b></p></qt>").arg(backup), i18n("OPML Parsing Error") );
@@ -522,7 +522,7 @@ bool Part::mergePart(KParts::Part* part)
{
if (m_mergedPart) {
factory()->removeClient(m_mergedPart);
- if (childClients()->containsRef(m_mergedPart))
+ if (childClients()->tqcontainsRef(m_mergedPart))
removeChildClient(m_mergedPart);
}
if (part)
@@ -538,7 +538,7 @@ TQWidget* Part::getMainWindow()
{
// this is a dirty fix to get the main window used for the tray icon
- TQWidgetList *l = kapp->topLevelWidgets();
+ TQWidgetList *l = kapp->tqtopLevelWidgets();
TQWidgetListIt it( *l );
TQWidget *wid;
@@ -823,7 +823,7 @@ KParts::Part* Part::hitTest(TQWidget *widget, const TQPoint &globalPos)
if (!widget) {
break;
}
- widget = widget->parentWidget();
+ widget = widget->tqparentWidget();
}
if (m_view && m_view->currentFrame() && child) {
return m_view->currentFrame()->part();
@@ -979,8 +979,8 @@ bool Part::tryToLock(const TQString& backendName)
"You should disable the archive for now "
"unless you are sure that %2 is not already running.</qt>")
.arg( programName, programName, backendName );
- // TQString::arg( st ) only replaces the first occurrence of %1
- // with st while TQString::arg( s1, s2 ) replacess all occurrences
+ // TQString::arg( st ) only tqreplaces the first occurrence of %1
+ // with st while TQString::arg( s1, s2 ) tqreplacess all occurrences
// of %1 with s1 and all occurrences of %2 with s2. So don't
// even think about changing the above to .arg( programName ).
else