summaryrefslogtreecommitdiffstats
path: root/krdc
diff options
context:
space:
mode:
Diffstat (limited to 'krdc')
-rw-r--r--krdc/main.cpp4
-rw-r--r--krdc/main.h6
-rw-r--r--krdc/vnc/kvncview.cpp6
3 files changed, 8 insertions, 8 deletions
diff --git a/krdc/main.cpp b/krdc/main.cpp
index daf6d38d..e21c0dfa 100644
--- a/krdc/main.cpp
+++ b/krdc/main.cpp
@@ -95,7 +95,7 @@ int main(int argc, char *argv[])
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
- KApplication a;
+ TDEApplication a;
TQString host = TQString();
Quality quality = QUALITY_UNKNOWN;
@@ -158,7 +158,7 @@ int main(int argc, char *argv[])
return mc.main();
}
-MainController::MainController(KApplication *app, WindowMode wm,
+MainController::MainController(TDEApplication *app, WindowMode wm,
const TQString &host,
Quality quality,
const TQString &encodings,
diff --git a/krdc/main.h b/krdc/main.h
index 95593651..39aa7690 100644
--- a/krdc/main.h
+++ b/krdc/main.h
@@ -23,7 +23,7 @@
#include "kremoteview.h"
#include "smartptr.h"
-class KApplication;
+class TDEApplication;
class MainController : public TQObject {
Q_OBJECT
@@ -38,10 +38,10 @@ private:
TQString m_keymap;
Quality m_quality;
- KApplication *m_app;
+ TDEApplication *m_app;
public:
- MainController(KApplication *app, WindowMode wm,
+ MainController(TDEApplication *app, WindowMode wm,
const TQString &host,
Quality quality,
const TQString &encodings,
diff --git a/krdc/vnc/kvncview.cpp b/krdc/vnc/kvncview.cpp
index 5337e16a..9763b351 100644
--- a/krdc/vnc/kvncview.cpp
+++ b/krdc/vnc/kvncview.cpp
@@ -200,7 +200,7 @@ void KVncView::configureApp(Quality q, const TQString specialEncodings) {
bool KVncView::checkLocalKRfb() {
if ( m_host != "localhost" && !m_host.isEmpty() )
return true;
- DCOPClient *d = KApplication::dcopClient();
+ DCOPClient *d = TDEApplication::dcopClient();
int portNum;
TQByteArray sdata, rdata;
@@ -803,9 +803,9 @@ extern int isQuitFlagSet() {
}
extern void DrawScreenRegion(int x, int y, int width, int height) {
-/* KApplication::kApplication()->lock();
+/* TDEApplication::kApplication()->lock();
kvncview->drawRegion(x, y, width, height);
- KApplication::kApplication()->unlock();
+ TDEApplication::kApplication()->unlock();
*/
TQApplication::postEvent(kvncview, new ScreenRepaintEvent(x, y, width, height));
}