summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--yakuake/src/skin_settings.cpp6
-rw-r--r--yakuake/src/tabbed_widget.cpp10
2 files changed, 8 insertions, 8 deletions
diff --git a/yakuake/src/skin_settings.cpp b/yakuake/src/skin_settings.cpp
index 79d8875..8b76e3a 100644
--- a/yakuake/src/skin_settings.cpp
+++ b/yakuake/src/skin_settings.cpp
@@ -94,7 +94,7 @@ void SkinSettings::slotPopulate()
for (TQStringList::Iterator it = titles_dirs.begin(); it != titles_dirs.end(); ++it)
{
- if (tabs_dirs.tqcontains((*it).section('/', 0, -2) + "/tabs.skin"))
+ if (tabs_dirs.contains((*it).section('/', 0, -2) + "/tabs.skin"))
skins_dirs << (*it).section('/', 0, -2);
}
@@ -230,8 +230,8 @@ void SkinSettings::slotValidateSkinArchive(KIO::Job* job)
{
install_skin_name = install_skin_file_list.first();
- if (install_skin_file_list.tqcontains(TQString(install_skin_name + "/title.skin"))
- && install_skin_file_list.tqcontains(TQString(install_skin_name + "/tabs.skin")))
+ if (install_skin_file_list.contains(TQString(install_skin_name + "/title.skin"))
+ && install_skin_file_list.contains(TQString(install_skin_name + "/tabs.skin")))
{
checkForExistingSkin();
}
diff --git a/yakuake/src/tabbed_widget.cpp b/yakuake/src/tabbed_widget.cpp
index 0c65bf8..9e01e00 100644
--- a/yakuake/src/tabbed_widget.cpp
+++ b/yakuake/src/tabbed_widget.cpp
@@ -141,7 +141,7 @@ TQString TabbedWidget::lowestAvailableCaption()
int TabbedWidget::removeItem(int session_id)
{
- uint position = items.tqfindIndex(session_id);
+ uint position = items.findIndex(session_id);
items.remove(items.at(position));
areas.remove(areas.at(position));
@@ -164,7 +164,7 @@ int TabbedWidget::removeItem(int session_id)
const TQString TabbedWidget::itemName(int session_id)
{
- int position = items.tqfindIndex(session_id);
+ int position = items.findIndex(session_id);
if (position == -1) return 0;
@@ -173,7 +173,7 @@ const TQString TabbedWidget::itemName(int session_id)
void TabbedWidget::renameItem(int session_id, const TQString& namep)
{
- int position = items.tqfindIndex(session_id);
+ int position = items.findIndex(session_id);
if (position == -1) return;
@@ -240,7 +240,7 @@ void TabbedWidget::slotResetEditedPosition()
int TabbedWidget::tabPositionForSessionId(int session_id)
{
- return items.tqfindIndex(session_id);
+ return items.findIndex(session_id);
}
int TabbedWidget::sessionIdForTabPosition(int position)
@@ -253,7 +253,7 @@ int TabbedWidget::sessionIdForTabPosition(int position)
void TabbedWidget::selectItem(int session_id)
{
- int new_position = items.tqfindIndex(session_id);
+ int new_position = items.findIndex(session_id);
if (new_position != -1)
{