summaryrefslogtreecommitdiffstats
path: root/kview/kimageviewer/canvas.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kview/kimageviewer/canvas.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kview/kimageviewer/canvas.h')
-rw-r--r--kview/kimageviewer/canvas.h6
1 files changed, 3 insertions, 3 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