summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_clipboard.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:36:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-04 14:19:15 +0900
commitfb6b4d204d1155fa3a1bc7a128873340db1524f7 (patch)
tree58fbd21cd52695207154b1b40d0c9d0f53db19b1 /chalk/ui/kis_clipboard.cpp
parentd7ae9fb514226c126e04cfe4f34800beb9f4ea19 (diff)
downloadkoffice-fb6b4d204d1155fa3a1bc7a128873340db1524f7.tar.gz
koffice-fb6b4d204d1155fa3a1bc7a128873340db1524f7.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'chalk/ui/kis_clipboard.cpp')
-rw-r--r--chalk/ui/kis_clipboard.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/chalk/ui/kis_clipboard.cpp b/chalk/ui/kis_clipboard.cpp
index bb80e75e..1e8040ca 100644
--- a/chalk/ui/kis_clipboard.cpp
+++ b/chalk/ui/kis_clipboard.cpp
@@ -82,7 +82,7 @@ void KisClipboard::setClip(KisPaintDeviceSP selection)
// We'll create a store (ZIP format) in memory
TQBuffer buffer;
TQCString mimeType("application/x-chalk-selection");
- KoStore* store = KoStore::createStore( TQT_TQIODEVICE(&buffer), KoStore::Write, mimeType );
+ KoStore* store = KoStore::createStore( &buffer, KoStore::Write, mimeType );
Q_ASSERT( store );
Q_ASSERT( !store->bad() );
@@ -146,7 +146,7 @@ KisPaintDeviceSP KisClipboard::clip()
if(cbData && cbData->provides(mimeType))
{
TQBuffer buffer(cbData->encodedData(mimeType));
- KoStore* store = KoStore::createStore( TQT_TQIODEVICE(&buffer), KoStore::Read, mimeType );
+ KoStore* store = KoStore::createStore( &buffer, KoStore::Read, mimeType );
KisProfile *profile=0;
if (store->hasFile("profile.icc")) {
@@ -244,7 +244,7 @@ TQSize KisClipboard::clipSize()
if(cbData && cbData->provides(mimeType)) {
TQBuffer buffer(cbData->encodedData(mimeType));
- KoStore* store = KoStore::createStore( TQT_TQIODEVICE(&buffer), KoStore::Read, mimeType );
+ KoStore* store = KoStore::createStore( &buffer, KoStore::Read, mimeType );
KisProfile *profile=0;
if (store->hasFile("profile.icc")) {