diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | ff8c66f117613688a0979d2296cbf6c778136419 (patch) | |
tree | e08685a8a074de43b2d5a890eb2038575ddbd119 /src/app | |
parent | 362662842b9a5b2c51d442b69b69c06ddb60994c (diff) | |
download | gwenview-ff8c66f117613688a0979d2296cbf6c778136419.tar.gz gwenview-ff8c66f117613688a0979d2296cbf6c778136419.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/configdialog.cpp | 2 | ||||
-rw-r--r-- | src/app/configdialog.h | 2 | ||||
-rw-r--r-- | src/app/dirviewcontroller.cpp | 2 | ||||
-rw-r--r-- | src/app/dirviewcontroller.h | 2 | ||||
-rw-r--r-- | src/app/kipiinterface.cpp | 4 | ||||
-rw-r--r-- | src/app/main.cpp | 2 | ||||
-rw-r--r-- | src/app/mainwindow.cpp | 6 | ||||
-rw-r--r-- | src/app/mainwindow.h | 2 | ||||
-rw-r--r-- | src/app/testvtabwidget.cpp | 2 | ||||
-rw-r--r-- | src/app/vtabwidget.cpp | 2 | ||||
-rw-r--r-- | src/app/vtabwidget.h | 2 |
11 files changed, 14 insertions, 14 deletions
diff --git a/src/app/configdialog.cpp b/src/app/configdialog.cpp index 9c29f71..7bd9f5e 100644 --- a/src/app/configdialog.cpp +++ b/src/app/configdialog.cpp @@ -1,5 +1,5 @@ // vim: set tabstop=4 shiftwidth=4 noexpandtab -// kate: indent-mode csands; indent-width 4; tqreplace-tabs-save off; tqreplace-tabs off; tqreplace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; +// kate: indent-mode csands; indent-width 4; replace-tabs-save off; replace-tabs off; replace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; /* Gwenview - A simple image viewer for KDE Copyright 2000-2004 Aur�ien G�eau diff --git a/src/app/configdialog.h b/src/app/configdialog.h index 9de2f07..7238f24 100644 --- a/src/app/configdialog.h +++ b/src/app/configdialog.h @@ -1,5 +1,5 @@ // vim: set tabstop=4 shiftwidth=4 noexpandtab -// kate: indent-mode csands; indent-width 4; tqreplace-tabs-save off; tqreplace-tabs off; tqreplace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; +// kate: indent-mode csands; indent-width 4; replace-tabs-save off; replace-tabs off; replace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; /* Gwenview - A simple image viewer for KDE Copyright 2000-2004 Aur�ien G�eau diff --git a/src/app/dirviewcontroller.cpp b/src/app/dirviewcontroller.cpp index 214e807..2826915 100644 --- a/src/app/dirviewcontroller.cpp +++ b/src/app/dirviewcontroller.cpp @@ -1,5 +1,5 @@ // vim: set tabstop=4 shiftwidth=4 noexpandtab: -// kate: indent-mode csands; indent-width 4; tqreplace-tabs-save off; tqreplace-tabs off; tqreplace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; +// kate: indent-mode csands; indent-width 4; replace-tabs-save off; replace-tabs off; replace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; /* Gwenview - A simple image viewer for KDE Copyright 2005 Aurelien Gateau diff --git a/src/app/dirviewcontroller.h b/src/app/dirviewcontroller.h index 28fcc80..9d95c41 100644 --- a/src/app/dirviewcontroller.h +++ b/src/app/dirviewcontroller.h @@ -1,5 +1,5 @@ // vim: set tabstop=4 shiftwidth=4 noexpandtab: -// kate: indent-mode csands; indent-width 4; tqreplace-tabs-save off; tqreplace-tabs off; tqreplace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; +// kate: indent-mode csands; indent-width 4; replace-tabs-save off; replace-tabs off; replace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; /* Gwenview - A simple image viewer for KDE Copyright 2005 Aurelien Gateau diff --git a/src/app/kipiinterface.cpp b/src/app/kipiinterface.cpp index 2afb1b5..bae833f 100644 --- a/src/app/kipiinterface.cpp +++ b/src/app/kipiinterface.cpp @@ -85,8 +85,8 @@ public: TQString title() { TQString txt=_url.fileName(); - txt.tqreplace("_", " "); - txt.tqreplace(sExtensionRE, ""); + txt.replace("_", " "); + txt.replace(sExtensionRE, ""); return txt; } diff --git a/src/app/main.cpp b/src/app/main.cpp index 52f9811..bef08ae 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -60,7 +60,7 @@ void applyFilterArgs(KCmdLineArgs* args, FileViewController* controller) { TQStringList typeList; typeList << "all" << "images" << "videos"; - int mode = typeList.tqfindIndex(filterType); + int mode = typeList.findIndex(filterType); if (mode == -1) { // Default to "all" controller->setFilterMode(0); diff --git a/src/app/mainwindow.cpp b/src/app/mainwindow.cpp index d608dfe..d8da0bb 100644 --- a/src/app/mainwindow.cpp +++ b/src/app/mainwindow.cpp @@ -1,5 +1,5 @@ // vim: set tabstop=4 shiftwidth=4 noexpandtab: -// kate: indent-mode csands; indent-width 4; tqreplace-tabs-save off; tqreplace-tabs off; tqreplace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; +// kate: indent-mode csands; indent-width 4; replace-tabs-save off; replace-tabs off; replace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; /* Gwenview - A simple image viewer for KDE Copyright 2000-2004 Aur�ien G�eau @@ -518,7 +518,7 @@ void MainWindow::openFileViewControllerContextMenu(const TQPoint& pos, bool onIt void MainWindow::slotImageLoading() { if (FullScreenConfig::showBusyPtr() || !mToggleFullScreen->isChecked()) { - kapp->setOverrideCursor(KCursor::workingCursor(), true /* tqreplace */); + kapp->setOverrideCursor(KCursor::workingCursor(), true /* replace */); } } @@ -1309,7 +1309,7 @@ void MainWindow::slotReplug() { for (; actionIt!=end; ++actionIt) { KIPI::Category category = plugin->category(*actionIt); - if (!categoryMap.tqcontains(category)) { + if (!categoryMap.contains(category)) { kdWarning() << "Unknown category '" << category << "'\n"; continue; } diff --git a/src/app/mainwindow.h b/src/app/mainwindow.h index 239eaf3..a1217f8 100644 --- a/src/app/mainwindow.h +++ b/src/app/mainwindow.h @@ -1,5 +1,5 @@ // vim: set tabstop=4 shiftwidth=4 noexpandtab: -// kate: indent-mode csands; indent-width 4; tqreplace-tabs-save off; tqreplace-tabs off; tqreplace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; +// kate: indent-mode csands; indent-width 4; replace-tabs-save off; replace-tabs off; replace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; /* Gwenview - A simple image viewer for KDE Copyright 2000-2004 Aur�ien G�eau diff --git a/src/app/testvtabwidget.cpp b/src/app/testvtabwidget.cpp index d9fccaf..c63668a 100644 --- a/src/app/testvtabwidget.cpp +++ b/src/app/testvtabwidget.cpp @@ -1,5 +1,5 @@ // vim: set tabstop=4 shiftwidth=4 noexpandtab: -// kate: indent-mode csands; indent-width 4; tqreplace-tabs-save off; tqreplace-tabs off; tqreplace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; +// kate: indent-mode csands; indent-width 4; replace-tabs-save off; replace-tabs off; replace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; /* Gwenview - A simple image viewer for KDE Copyright 2005 Aurelien Gateau diff --git a/src/app/vtabwidget.cpp b/src/app/vtabwidget.cpp index 24918f8..190ed47 100644 --- a/src/app/vtabwidget.cpp +++ b/src/app/vtabwidget.cpp @@ -1,5 +1,5 @@ // vim: set tabstop=4 shiftwidth=4 noexpandtab: -// kate: indent-mode csands; indent-width 4; tqreplace-tabs-save off; tqreplace-tabs off; tqreplace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; +// kate: indent-mode csands; indent-width 4; replace-tabs-save off; replace-tabs off; replace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; /* Gwenview - A simple image viewer for KDE Copyright 2005 Aurelien Gateau diff --git a/src/app/vtabwidget.h b/src/app/vtabwidget.h index 85aa4b4..0683258 100644 --- a/src/app/vtabwidget.h +++ b/src/app/vtabwidget.h @@ -1,5 +1,5 @@ // vim: set tabstop=4 shiftwidth=4 noexpandtab: -// kate: indent-mode csands; indent-width 4; tqreplace-tabs-save off; tqreplace-tabs off; tqreplace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; +// kate: indent-mode csands; indent-width 4; replace-tabs-save off; replace-tabs off; replace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; /* Gwenview - A simple image viewer for KDE Copyright 2005 Aurelien Gateau |