diff options
Diffstat (limited to 'languages/cpp/app_templates/kscons_kmdi')
-rw-r--r-- | languages/cpp/app_templates/kscons_kmdi/app_part.cpp | 2 | ||||
-rw-r--r-- | languages/cpp/app_templates/kscons_kmdi/appkmdiView.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/languages/cpp/app_templates/kscons_kmdi/app_part.cpp b/languages/cpp/app_templates/kscons_kmdi/app_part.cpp index 06a6409c..0094f5dd 100644 --- a/languages/cpp/app_templates/kscons_kmdi/app_part.cpp +++ b/languages/cpp/app_templates/kscons_kmdi/app_part.cpp @@ -11,7 +11,7 @@ #include <klocale.h> #include <tqfile.h> -#include <tqtextstream.h> +#include <textstream.h> #include <tqmultilineedit.h> typedef KParts::GenericFactory<%{APPNAMELC}Part> %{APPNAMELC}PartFactory; diff --git a/languages/cpp/app_templates/kscons_kmdi/appkmdiView.cpp b/languages/cpp/app_templates/kscons_kmdi/appkmdiView.cpp index 006b844e..a1cfb9f0 100644 --- a/languages/cpp/app_templates/kscons_kmdi/appkmdiView.cpp +++ b/languages/cpp/app_templates/kscons_kmdi/appkmdiView.cpp @@ -1,7 +1,7 @@ %{CPP_TEMPLATE} #include <tqpixmap.h> -#include <tqlayout.h> +#include <layout.h> #include <kiconloader.h> #include <klocale.h> @@ -35,9 +35,9 @@ part()->widget()->setFocus(); setFocusProxy(part()->widget()); - TQBoxLayout* tqlayout = new TQHBoxLayout(this, 0, -1, "kdissertviewtqlayout" ); + TQBoxLayout* layout = new TQHBoxLayout(this, 0, -1, "kdissertviewlayout" ); part()->widget()->reparent( this, TQPoint(0, 0) ); - tqlayout->addWidget( part()->widget() ); + layout->addWidget( part()->widget() ); // connect( m_part, TQT_SIGNAL(stateChanged()), this, TQT_SLOT(updateCaption()) ); } |