summaryrefslogtreecommitdiffstats
path: root/kview/kimageviewer
diff options
context:
space:
mode:
Diffstat (limited to 'kview/kimageviewer')
-rw-r--r--kview/kimageviewer/canvas.h12
-rw-r--r--kview/kimageviewer/viewer.h6
2 files changed, 9 insertions, 9 deletions
diff --git a/kview/kimageviewer/canvas.h b/kview/kimageviewer/canvas.h
index 81417c9f..21dfc23e 100644
--- a/kview/kimageviewer/canvas.h
+++ b/kview/kimageviewer/canvas.h
@@ -29,8 +29,8 @@ class TQPoint;
class TQWidget;
#include <tqstring.h>
-#include <tqobjdefs.h>
-#include <kdemacros.h>
+#include <tqobjectdefs.h>
+#include <tdemacros.h>
namespace KImageViewer
{
@@ -52,11 +52,11 @@ namespace KImageViewer
if( ! ( widget && m_canvas ) )
{
KMessageBox::error( this, "Could not find the Canvas!" );
- kapp->quit();
+ tdeApp->quit();
}
setCentralWidget( widget );
- connect( widget, TQT_SIGNAL( contextPress( const TQPoint & ) ), TQT_SLOT( mySlot( const TQPoint & ) ) );
- connect( m_canvas->widget(), TQT_SIGNAL( contextPress( const TQPoint & ) ), TQT_SLOT( mySlot( const TQPoint & ) ) );
+ connect( widget, TQ_SIGNAL( contextPress( const TQPoint & ) ), TQ_SLOT( mySlot( const TQPoint & ) ) );
+ connect( m_canvas->widget(), TQ_SIGNAL( contextPress( const TQPoint & ) ), TQ_SLOT( mySlot( const TQPoint & ) ) );
</pre>
*
* You can't connect signals or slots using KImageViewer::Canvas, because this interface
@@ -67,7 +67,7 @@ namespace KImageViewer
* until it's finished. So if you're using this interface please get in contact
* with me.
*/
-class KDE_EXPORT Canvas
+class TDE_EXPORT Canvas
{
public:
/**
diff --git a/kview/kimageviewer/viewer.h b/kview/kimageviewer/viewer.h
index 46e1a548..87286fb7 100644
--- a/kview/kimageviewer/viewer.h
+++ b/kview/kimageviewer/viewer.h
@@ -22,7 +22,7 @@
#define KIMAGEVIEWER_VIEWER_H
#include <tdeparts/part.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace KParts
{
class BrowserExtension;
@@ -45,9 +45,9 @@ namespace KImageViewer
* until it's finished. So if you're using this interface please get in contact
* with me.
*/
-class KDE_EXPORT Viewer : public KParts::ReadWritePart
+class TDE_EXPORT Viewer : public KParts::ReadWritePart
{
- Q_OBJECT
+ TQ_OBJECT
public:
Viewer( TQObject * parent = 0, const char * name = 0 );