summaryrefslogtreecommitdiffstats
path: root/src/notefactory.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-22 17:46:54 +0900
committerMichele Calgaro <[email protected]>2025-02-03 22:38:49 +0900
commit4a47c1bfffffad7094f0b5c7cef532069e088ec3 (patch)
tree31b86dd0d87816e4b31e8bc2aa7687b2e85c2e82 /src/notefactory.cpp
parent7975b08418486c2793bd61c32ee347ce6b81c687 (diff)
downloadbasket-4a47c1bfffffad7094f0b5c7cef532069e088ec3.tar.gz
basket-4a47c1bfffffad7094f0b5c7cef532069e088ec3.zip
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/notefactory.cpp')
-rw-r--r--src/notefactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notefactory.cpp b/src/notefactory.cpp
index 350c9a0..cefb3a4 100644
--- a/src/notefactory.cpp
+++ b/src/notefactory.cpp
@@ -447,7 +447,7 @@ Note* NoteFactory::dropNote(TQMimeSource *source, Basket *parent, bool fromDrop,
/* Unsucceful drop */
note = createNoteUnknown(source, parent);
TQString message = i18n("<p>%1 doesn't support the data you've dropped.<br>"
- "It however created a generic note, allowing you to drag or copy it to an application that understand it.</p>").arg(kapp->aboutData()->programName());
+ "It however created a generic note, allowing you to drag or copy it to an application that understand it.</p>").arg(tdeApp->aboutData()->programName());
KMessageBox::information(parent, message, i18n("Unsupported MIME Type(s)"),
"unsupportedDropInfo", KMessageBox::AllowLink);
return note;
@@ -939,7 +939,7 @@ TQString NoteFactory::iconForCommand(const TQString &command)
bool NoteFactory::isIconExist(const TQString &icon)
{
- return ! kapp->iconLoader()->loadIcon(icon, TDEIcon::NoGroup, 16, TDEIcon::DefaultState, 0L, true).isNull();
+ return ! tdeApp->iconLoader()->loadIcon(icon, TDEIcon::NoGroup, 16, TDEIcon::DefaultState, 0L, true).isNull();
}
Note* NoteFactory::createEmptyNote(NoteType::Id type, Basket *parent)