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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp b/languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp
index efb41c1d..7cc0f221 100644
--- a/languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp
+++ b/languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp
@@ -204,7 +204,7 @@ void %{APPNAMELC}kmdi::currentChanged( KMdiChildView *current )
}
// switch to the corresponding document
- if ( m_views.tqcontains( (%{APPNAMELC}kmdiView*) current ) )
+ if ( m_views.contains( (%{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.tqcontains( view ) )
+ if ( m_views.contains( view ) )
{
m_views.remove( view );
if ( view->part()->queryClose() )