summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp')
-rw-r--r--languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp b/languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp
index 4286053a..efb41c1d 100644
--- a/languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp
+++ b/languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp
@@ -4,7 +4,7 @@
#include <tqpainter.h>
#include <tqpaintdevicemetrics.h>
#include <tqdragobject.h>
-#include <tqstatusbar.h>
+#include <statusbar.h>
#include <tqtoolbutton.h>
#include <kdebug.h>
@@ -146,7 +146,7 @@ void %{APPNAMELC}kmdi::setupActions()
void %{APPNAMELC}kmdi::showTip()
{
- KTipDialog::showTip(this,TQString::null,true);
+ KTipDialog::showTip(this,TQString(),true);
}
void %{APPNAMELC}kmdi::showTipOnStart()
@@ -204,7 +204,7 @@ void %{APPNAMELC}kmdi::currentChanged( KMdiChildView *current )
}
// switch to the corresponding document
- if ( m_views.contains( (%{APPNAMELC}kmdiView*) current ) )
+ if ( m_views.tqcontains( (%{APPNAMELC}kmdiView*) current ) )
{
%{APPNAMELC}kmdiView *view = (%{APPNAMELC}kmdiView*) current;
//view->updateCaption();
@@ -243,7 +243,7 @@ bool %{APPNAMELC}kmdi::requestClose(KMdiChildView* v)
}
%{APPNAMELC}kmdiView *view = (%{APPNAMELC}kmdiView*) v;
- if ( m_views.contains( view ) )
+ if ( m_views.tqcontains( view ) )
{
m_views.remove( view );
if ( view->part()->queryClose() )