diff options
Diffstat (limited to 'kview/kimageviewer/canvas.h')
-rw-r--r-- | kview/kimageviewer/canvas.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/kview/kimageviewer/canvas.h b/kview/kimageviewer/canvas.h index 2495f372..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: /** @@ -342,7 +342,4 @@ class KDE_EXPORT Canvas }; //class Canvas } //namespace KImageViewer - -// vim:sw=4:ts=4 - #endif // KIMAGEVIEWER_CANVAS_H |