diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:35:39 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-05 01:52:57 +0200 |
commit | 5c427ffae97715577a3bdcfdfb715320f5c6d1cb (patch) | |
tree | de12b75a7fc6ee6d413022824d6431a1f2f83303 /src/app | |
parent | 90ed42be7905e495737a4d7af3b9510ade86ea9b (diff) | |
download | gwenview-5c427ffae97715577a3bdcfdfb715320f5c6d1cb.tar.gz gwenview-5c427ffae97715577a3bdcfdfb715320f5c6d1cb.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit eba1d381626d92b860239417f21d813f02ee6394)
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/bookmarkviewcontroller.cpp | 4 | ||||
-rw-r--r-- | src/app/configdialog.cpp | 4 | ||||
-rw-r--r-- | src/app/configimageviewpage.ui | 2 | ||||
-rw-r--r-- | src/app/kipiinterface.cpp | 8 | ||||
-rw-r--r-- | src/app/mainwindow.cpp | 8 | ||||
-rw-r--r-- | src/app/metaedit.cpp | 2 |
6 files changed, 14 insertions, 14 deletions
diff --git a/src/app/bookmarkviewcontroller.cpp b/src/app/bookmarkviewcontroller.cpp index 0da2e3e..5635f25 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 5835228..047bd02 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 f0dfb4c..156bfad 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 8e0897d..ae428b4 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 |