diff options
Diffstat (limited to 'languages/cpp/app_templates/kofficepart/kopart_view.cpp')
-rw-r--r-- | languages/cpp/app_templates/kofficepart/kopart_view.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/languages/cpp/app_templates/kofficepart/kopart_view.cpp b/languages/cpp/app_templates/kofficepart/kopart_view.cpp index 28c0b42f..f32707a8 100644 --- a/languages/cpp/app_templates/kofficepart/kopart_view.cpp +++ b/languages/cpp/app_templates/kofficepart/kopart_view.cpp @@ -6,27 +6,27 @@ #include "%{APPNAMELC}_factory.h" #include "%{APPNAMELC}_part.h" -#include <qpainter.h> -#include <qiconset.h> +#include <tqpainter.h> +#include <tqiconset.h> #include <kaction.h> #include <kstdaction.h> #include <klocale.h> #include <kdebug.h> -%{APPNAME}View::%{APPNAME}View( %{APPNAME}Part* part, QWidget* parent, const char* name ) +%{APPNAME}View::%{APPNAME}View( %{APPNAME}Part* part, TQWidget* parent, const char* name ) : KoView( part, parent, name ) { setInstance( %{APPNAME}Factory::global() ); setXMLFile( "%{APPNAMELC}.rc" ); - KStdAction::cut(this, SLOT( cut() ), actionCollection(), "cut" ); + KStdAction::cut(this, TQT_SLOT( cut() ), actionCollection(), "cut" ); // Note: Prefer KStdAction::* to any custom action if possible. - //m_cut = new KAction( i18n("&Cut"), "editcut", 0, this, SLOT( cut() ), + //m_cut = new KAction( i18n("&Cut"), "editcut", 0, this, TQT_SLOT( cut() ), // actionCollection(), "cut"); } -void %{APPNAME}View::paintEvent( QPaintEvent* ev ) +void %{APPNAME}View::paintEvent( TQPaintEvent* ev ) { - QPainter painter; + TQPainter painter; painter.begin( this ); /// @todo Scaling |