summaryrefslogtreecommitdiffstats
path: root/src/simplemainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simplemainwindow.cpp')
-rw-r--r--src/simplemainwindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/simplemainwindow.cpp b/src/simplemainwindow.cpp
index cbbb1543..1f2c4dd5 100644
--- a/src/simplemainwindow.cpp
+++ b/src/simplemainwindow.cpp
@@ -182,7 +182,7 @@ void SimpleMainWindow::contextMenu(TQPopupMenu *popupMenu, const Context *contex
bool isOpen = true;
for (KURL::List::const_iterator it = m_splitURLs.begin(); it != m_splitURLs.end(); ++it)
{
- if (!PartController::getInstance()->openURLs().tqcontains(*it) && (*it).isValid())
+ if (!PartController::getInstance()->openURLs().contains(*it) && (*it).isValid())
{
isOpen = false;
break;
@@ -217,7 +217,7 @@ void SimpleMainWindow::embedPartView(TQWidget *view, const TQString &title, cons
return;
TQString shortName = title;
- shortName = shortName.right( shortName.length() - (shortName.tqfindRev('/') +1));
+ shortName = shortName.right( shortName.length() - (shortName.findRev('/') +1));
addWidget(view, title);
view->show();
@@ -338,7 +338,7 @@ void SimpleMainWindow::raiseView(TQWidget *view)
DDockWindow *dock = toolWindow(dockWidgetPosition(view));
dock->raiseWidget(view);
}
- else if (m_widgets.tqcontains(view) && m_widgetTabs.tqcontains(view))
+ else if (m_widgets.contains(view) && m_widgetTabs.contains(view))
m_widgetTabs[view]->showPage(view);
}
@@ -943,7 +943,7 @@ void SimpleMainWindow::switchToNextTabWidget()
TQValueList<DTabWidget*>::iterator it = tabWidgets.begin();
while ( it != tabWidgets.end() )
{
- if ( !reduced.tqcontains( *it ) )
+ if ( !reduced.contains( *it ) )
{
reduced << *it;
}
@@ -1008,4 +1008,4 @@ void SimpleMainWindow::projectClosed()
#include "simplemainwindow.moc"
-// kate: space-indent on; indent-width 4; tab-width 4; tqreplace-tabs on
+// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on