diff options
Diffstat (limited to 'kview/kimageviewer')
-rw-r--r-- | kview/kimageviewer/canvas.h | 6 | ||||
-rw-r--r-- | kview/kimageviewer/viewer.cpp | 4 | ||||
-rw-r--r-- | kview/kimageviewer/viewer.h | 3 |
3 files changed, 7 insertions, 6 deletions
diff --git a/kview/kimageviewer/canvas.h b/kview/kimageviewer/canvas.h index 18aae3be..51736844 100644 --- a/kview/kimageviewer/canvas.h +++ b/kview/kimageviewer/canvas.h @@ -29,7 +29,7 @@ class TQPoint; class TQWidget; #include <tqstring.h> -#include <qobjectdefs.h> +#include <tqobjectdefs.h> #include <kdemacros.h> namespace KImageViewer { @@ -47,7 +47,7 @@ namespace KImageViewer * your program: * * <pre> - TQWidget * widget = KParts::ComponentFactory::createInstanceFromQuery<TQWidget>( "KImageViewer/Canvas", TQString::null, this ); + TQWidget * widget = KParts::ComponentFactory::createInstanceFromQuery<TQWidget>( "KImageViewer/Canvas", TQString(), this ); m_canvas = static_cast<KImageViewer::Canvas *>( widget->qt_cast( "KImageViewer::Canvas" ) ); if( ! ( widget && m_canvas ) ) { @@ -151,7 +151,7 @@ class KDE_EXPORT Canvas /** * @return the description of the blend effect */ - virtual TQString blendEffectDescription( unsigned int ) const { return TQString::null; } + virtual TQString blendEffectDescription( unsigned int ) const { return TQString(); } /** * Sets the blending effect used to create a transition between images diff --git a/kview/kimageviewer/viewer.cpp b/kview/kimageviewer/viewer.cpp index 1a5890d6..445cb6de 100644 --- a/kview/kimageviewer/viewer.cpp +++ b/kview/kimageviewer/viewer.cpp @@ -22,8 +22,8 @@ namespace KImageViewer { - Viewer::Viewer( TQObject * parent, const char * name ) - : KParts::ReadWritePart( parent, name ) + Viewer::Viewer( TQObject * tqparent, const char * name ) + : KParts::ReadWritePart( tqparent, name ) { } diff --git a/kview/kimageviewer/viewer.h b/kview/kimageviewer/viewer.h index 995be8b9..a656f049 100644 --- a/kview/kimageviewer/viewer.h +++ b/kview/kimageviewer/viewer.h @@ -48,8 +48,9 @@ namespace KImageViewer class KDE_EXPORT Viewer : public KParts::ReadWritePart { Q_OBJECT + TQ_OBJECT public: - Viewer( TQObject * parent = 0, const char * name = 0 ); + Viewer( TQObject * tqparent = 0, const char * name = 0 ); virtual ~Viewer(); |