summaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:39 -0600
commiteba1d381626d92b860239417f21d813f02ee6394 (patch)
treea1d29560015d98b2ad5aa047f919b8a81e0e9c4b /src/app
parentd0bdd0d7a768f9935b521f3bd12a4cd72739b96f (diff)
downloadgwenview-eba1d381626d92b860239417f21d813f02ee6394.tar.gz
gwenview-eba1d381626d92b860239417f21d813f02ee6394.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/app')
-rw-r--r--src/app/bookmarkviewcontroller.cpp4
-rw-r--r--src/app/configdialog.cpp4
-rw-r--r--src/app/configimageviewpage.ui2
-rw-r--r--src/app/kipiinterface.cpp8
-rw-r--r--src/app/mainwindow.cpp8
-rw-r--r--src/app/metaedit.cpp2
6 files changed, 14 insertions, 14 deletions
diff --git a/src/app/bookmarkviewcontroller.cpp b/src/app/bookmarkviewcontroller.cpp
index 68ee9f0..d09156a 100644
--- a/src/app/bookmarkviewcontroller.cpp
+++ b/src/app/bookmarkviewcontroller.cpp
@@ -392,11 +392,11 @@ void BookmarkViewController::deleteCurrentBookmark() {
TQString title;
if (bookmark.isGroup()) {
msg=i18n("Are you sure you want to delete the bookmark folder <b>%1</b>?<br>This will delete the folder and all the bookmarks in it.")
- .tqarg(bookmark.text());
+ .arg(bookmark.text());
title=i18n("Delete Bookmark &Folder");
} else {
msg=i18n("Are you sure you want to delete the bookmark <b>%1</b>?")
- .tqarg(bookmark.text());
+ .arg(bookmark.text());
title=i18n("Delete &Bookmark");
}
diff --git a/src/app/configdialog.cpp b/src/app/configdialog.cpp
index d274188..a429095 100644
--- a/src/app/configdialog.cpp
+++ b/src/app/configdialog.cpp
@@ -247,7 +247,7 @@ void ConfigDialog::calculateCacheSize() {
KURL url;
url.setPath(ThumbnailLoadJob::thumbnailBaseDir());
unsigned long size=KDirSize::dirSize(url);
- KMessageBox::information( this,i18n("Cache size is %1").tqarg(KIO::convertSize(size)) );
+ KMessageBox::information( this,i18n("Cache size is %1").arg(KIO::convertSize(size)) );
}
@@ -281,7 +281,7 @@ void ConfigDialog::emptyCache() {
int response=KMessageBox::warningContinueCancel(this,
"<qt>" + i18n("Are you sure you want to empty the thumbnail cache?"
- " This will delete the folder <b>%1</b>.").tqarg(TQStyleSheet::escape(dir)) + "</qt>",
+ " This will delete the folder <b>%1</b>.").arg(TQStyleSheet::escape(dir)) + "</qt>",
TQString(),
KStdGuiItem::del());
diff --git a/src/app/configimageviewpage.ui b/src/app/configimageviewpage.ui
index 32fb346..2f816c0 100644
--- a/src/app/configimageviewpage.ui
+++ b/src/app/configimageviewpage.ui
@@ -217,7 +217,7 @@
<string>Using this option, Gwenview will display the image as fast as possible, and smooth it after a short delay.
Use this option if your computer is not very fast.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
<property name="buddy" stdset="0">
diff --git a/src/app/kipiinterface.cpp b/src/app/kipiinterface.cpp
index 9a35ef3..f95fe54 100644
--- a/src/app/kipiinterface.cpp
+++ b/src/app/kipiinterface.cpp
@@ -163,7 +163,7 @@ KIPI::ImageCollection KIPIInterface::currentSelection() {
LOG("");
KURL::List list=d->mFileView->selectedImageURLs();
KURL url=d->mFileView->dirURL();
- return KIPI::ImageCollection(new ImageCollection(url, i18n("%1 (Selected Images)").tqarg(url.fileName()), list));
+ return KIPI::ImageCollection(new ImageCollection(url, i18n("%1 (Selected Images)").arg(url.fileName()), list));
}
@@ -189,12 +189,12 @@ int KIPIInterface::features() const {
* here, it is however necessary to discard caches if the plugin preserves timestamp
*/
bool KIPIInterface::addImage(const KURL& url, TQString&) {
- Cache::instance()->tqinvalidate( url );
+ Cache::instance()->invalidate( url );
return true;
}
void KIPIInterface::delImage(const KURL& url) {
- Cache::instance()->tqinvalidate( url );
+ Cache::instance()->invalidate( url );
}
// TODO currently KDirWatch doesn't have watching of files in a directory
@@ -203,7 +203,7 @@ void KIPIInterface::refreshImages( const KURL::List& urls ) {
for( KURL::List::ConstIterator it = urls.begin();
it != urls.end();
++it ) {
- Cache::instance()->tqinvalidate( *it );
+ Cache::instance()->invalidate( *it );
}
d->mFileView->refreshItems( urls );
}
diff --git a/src/app/mainwindow.cpp b/src/app/mainwindow.cpp
index f9acc9b..2f2275b 100644
--- a/src/app/mainwindow.cpp
+++ b/src/app/mainwindow.cpp
@@ -806,7 +806,7 @@ void MainWindow::updateStatusInfo() {
int pos = mFileViewController->shownFilePosition();
uint count = mFileViewController->fileCount();
if (count > 0) {
- tokens << i18n("%1/%2").tqarg(pos+1).tqarg(count);
+ tokens << i18n("%1/%2").arg(pos+1).arg(count);
} else {
tokens << i18n("No images");
}
@@ -816,7 +816,7 @@ void MainWindow::updateStatusInfo() {
TQSize size = mDocument->image().size();
if (!size.isEmpty()) {
- tokens << i18n("%1 x %2 pixels").tqarg(size.width()).tqarg(size.height());
+ tokens << i18n("%1 x %2 pixels").arg(size.width()).arg(size.height());
}
mSBDetailLabel->setText(tokens.join(" - "));
@@ -1094,9 +1094,9 @@ void MainWindow::createObjectInteractions() {
void MainWindow::createHideShowAction(KDockWidget* dock) {
TQString caption;
if (dock->mayBeHide()) {
- caption=i18n("Hide %1").tqarg(dock->caption());
+ caption=i18n("Hide %1").arg(dock->caption());
} else {
- caption=i18n("Show %1").tqarg(dock->caption());
+ caption=i18n("Show %1").arg(dock->caption());
}
KAction* action=new KAction(caption, 0, TQT_TQOBJECT(dock), TQT_SLOT(changeHideShowState()), (TQObject*)0 );
diff --git a/src/app/metaedit.cpp b/src/app/metaedit.cpp
index 3fa9e19..7aa3ced 100644
--- a/src/app/metaedit.cpp
+++ b/src/app/metaedit.cpp
@@ -132,7 +132,7 @@ void MetaEdit::setComment(const TQString& comment) {
void MetaEdit::setMessage(const TQString& msg) {
mCommentEdit->setTextFormat(TQTextEdit::RichText);
mCommentEdit->setReadOnly(true);
- mCommentEdit->setText(TQString("<i>%1</i>").tqarg(msg));
+ mCommentEdit->setText(TQString("<i>%1</i>").arg(msg));
}
} // namespace