summaryrefslogtreecommitdiffstats
path: root/src/modules/system/libkvisystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/system/libkvisystem.cpp')
-rw-r--r--src/modules/system/libkvisystem.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/system/libkvisystem.cpp b/src/modules/system/libkvisystem.cpp
index df684023..13e170a2 100644
--- a/src/modules/system/libkvisystem.cpp
+++ b/src/modules/system/libkvisystem.cpp
@@ -35,7 +35,7 @@
#include "kvi_osinfo.h"
#include "kvi_qcstring.h"
-#include <tqclipboard.h>
+#include <clipboard.h>
#ifndef COMPILE_ON_WINDOWS
#include <sys/utsname.h>
@@ -240,7 +240,7 @@ static bool system_kvs_fnc_getenv(KviKvsModuleFunctionCall *c)
static bool system_kvs_fnc_clipboard(KviKvsModuleFunctionCall *c)
{
- c->returnValue()->setString(g_pApp->tqclipboard()->text(TQClipboard::Clipboard));
+ c->returnValue()->setString(g_pApp->clipboard()->text(TQClipboard::Clipboard));
return true;
}
@@ -275,7 +275,7 @@ static bool system_kvs_cmd_setClipboard(KviKvsModuleCommandCall * c)
KVSM_PARAMETERS_BEGIN(c)
KVSM_PARAMETER("data",KVS_PT_STRING,KVS_PF_OPTIONAL,szValue)
KVSM_PARAMETERS_END(c)
- g_pApp->tqclipboard()->setText(szValue,TQClipboard::Clipboard);
+ g_pApp->clipboard()->setText(szValue,TQClipboard::Clipboard);
return true;
}
@@ -307,7 +307,7 @@ static bool system_kvs_cmd_setSelection(KviKvsModuleCommandCall * c)
KVSM_PARAMETERS_BEGIN(c)
KVSM_PARAMETER("data",KVS_PT_STRING,KVS_PF_OPTIONAL,szValue)
KVSM_PARAMETERS_END(c)
- g_pApp->tqclipboard()->setText(szValue,TQClipboard::Selection);
+ g_pApp->clipboard()->setText(szValue,TQClipboard::Selection);
return true;
}
@@ -337,7 +337,7 @@ static bool system_kvs_cmd_setSelection(KviKvsModuleCommandCall * c)
static bool system_kvs_fnc_selection(KviKvsModuleFunctionCall *c)
{
- c->returnValue()->setString(g_pApp->tqclipboard()->text(TQClipboard::Selection));
+ c->returnValue()->setString(g_pApp->clipboard()->text(TQClipboard::Selection));
return true;
}