summaryrefslogtreecommitdiffstats
path: root/knewsticker
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-20 17:31:48 +0900
committerMichele Calgaro <[email protected]>2025-01-20 17:31:48 +0900
commit1517a05d2ffe7a33e1fe18a2dae540ae1c3d6694 (patch)
treee6967aa8aacf5e5fca64c6b69f3a0ddc528a5640 /knewsticker
parent50da92376284f30d95e18960d2b24c49901fb10d (diff)
downloadtdenetwork-1517a05d2ffe7a33e1fe18a2dae540ae1c3d6694.tar.gz
tdenetwork-1517a05d2ffe7a33e1fe18a2dae540ae1c3d6694.zip
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'knewsticker')
-rw-r--r--knewsticker/common/newsiconmgr.cpp4
-rw-r--r--knewsticker/knewsticker.cpp2
-rw-r--r--knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp2
-rw-r--r--knewsticker/newsscroller.cpp6
4 files changed, 7 insertions, 7 deletions
diff --git a/knewsticker/common/newsiconmgr.cpp b/knewsticker/common/newsiconmgr.cpp
index 22525bc3..8f4334ea 100644
--- a/knewsticker/common/newsiconmgr.cpp
+++ b/knewsticker/common/newsiconmgr.cpp
@@ -82,7 +82,7 @@ void NewsIconMgr::getIcon(const KURL &url)
TQByteArray data;
TQDataStream ds(data, IO_WriteOnly);
ds << url;
- kapp->dcopClient()->send("kded", "favicons", "downloadHostIcon(KURL)", data);
+ tdeApp->dcopClient()->send("kded", "favicons", "downloadHostIcon(KURL)", data);
} else {
emit gotIcon(url, TQPixmap(TDEGlobal::dirs()->findResource("cache",
TQString::fromLatin1("favicons/%1.png").arg(url.host()))));
@@ -144,7 +144,7 @@ TQString NewsIconMgr::favicon(const KURL &url) const
ds << url;
- kapp->dcopClient()->call("kded", "favicons", "iconForURL(KURL)", data, replyType, reply);
+ tdeApp->dcopClient()->call("kded", "favicons", "iconForURL(KURL)", data, replyType, reply);
if (replyType == "TQString") {
TQDataStream replyStream(reply, IO_ReadOnly);
diff --git a/knewsticker/knewsticker.cpp b/knewsticker/knewsticker.cpp
index a7e2ecfa..ccb5fb6a 100644
--- a/knewsticker/knewsticker.cpp
+++ b/knewsticker/knewsticker.cpp
@@ -119,7 +119,7 @@ void KNewsTicker::about()
void KNewsTicker::help()
{
- kapp->invokeHelp(TQString(), TQString::fromLatin1("knewsticker"));
+ tdeApp->invokeHelp(TQString(), TQString::fromLatin1("knewsticker"));
}
void KNewsTicker::reportBug()
diff --git a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp
index 4db586e3..0c10ecc5 100644
--- a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp
+++ b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp
@@ -90,7 +90,7 @@ void KntSrcFilePropsDlg::slotConstructUI(Loader *, Document doc, Status status)
void KntSrcFilePropsDlg::slotOpenURL(const TQString &url)
{
- kapp->invokeBrowser(url);
+ tdeApp->invokeBrowser(url);
}
void KntSrcFilePropsDlg::slotGotIcon(const KURL &, const TQPixmap &pixmap)
diff --git a/knewsticker/newsscroller.cpp b/knewsticker/newsscroller.cpp
index 5da27a1c..10f65964 100644
--- a/knewsticker/newsscroller.cpp
+++ b/knewsticker/newsscroller.cpp
@@ -136,8 +136,8 @@ NewsScroller::NewsScroller(TQWidget *parent, ConfigAccess *cfg, const char *name
m_mouseDrag(false),
m_totalStepping(0.0)
{
- if (!kapp->dcopClient()->isAttached())
- kapp->dcopClient()->attach();
+ if (!tdeApp->dcopClient()->isAttached())
+ tdeApp->dcopClient()->attach();
setFrameStyle(StyledPanel | Sunken);
@@ -202,7 +202,7 @@ void NewsScroller::dropEvent(TQDropEvent* event)
configFrontend.setNewsSources(newsSources);
TQByteArray data;
- kapp->dcopClient()->send("knewsticker", "KNewsTicker", "reparseConfig()", data);
+ tdeApp->dcopClient()->send("knewsticker", "KNewsTicker", "reparseConfig()", data);
}
}
}