summaryrefslogtreecommitdiffstats
path: root/src/k3b.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:48 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-23 15:43:45 +0200
commitfeae001a0240fdca57cc68779f59f88e6af49335 (patch)
treee8c1ef6b2ca3f23c77647b98373ed1750eac267b /src/k3b.cpp
parentbe2dabe8503655c1f6b8049955c499e4f47a51d7 (diff)
downloadk3b-feae001a0240fdca57cc68779f59f88e6af49335.tar.gz
k3b-feae001a0240fdca57cc68779f59f88e6af49335.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 5183781c5dddd8447b308c24b2d7f9257bd0bcad)
Diffstat (limited to 'src/k3b.cpp')
-rw-r--r--src/k3b.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/k3b.cpp b/src/k3b.cpp
index 19c0e32..528c103 100644
--- a/src/k3b.cpp
+++ b/src/k3b.cpp
@@ -288,7 +288,7 @@ void K3bMainWindow::initActions()
actionToolsBlankCdrw = new KAction( i18n("&Erase CD-RW..."), "erasecd", 0, TQT_TQOBJECT(this), TQT_SLOT(slotBlankCdrw()),
actionCollection(), "tools_blank_cdrw" );
- KAction* actionToolsFormatDVD = new KAction( i18n("&Format DVD%1RW...").tqarg("�"), "formatdvd", 0, TQT_TQOBJECT(this),
+ KAction* actionToolsFormatDVD = new KAction( i18n("&Format DVD%1RW...").arg("�"), "formatdvd", 0, TQT_TQOBJECT(this),
TQT_SLOT(slotFormatDvd()), actionCollection(), "tools_format_dvd" );
actionToolsWriteCdImage = new KAction(i18n("&Burn CD Image..."), "burn_cdimage", 0, TQT_TQOBJECT(this), TQT_SLOT(slotWriteCdImage()),
actionCollection(), "tools_write_cd_image" );
@@ -330,7 +330,7 @@ void K3bMainWindow::initActions()
actionFileNewMovix->setToolTip( i18n("Creates a new eMovix CD project") );
actionFileNewVcd->setToolTip( i18n("Creates a new Video CD project") );
actionToolsBlankCdrw->setToolTip( i18n("Open the CD-RW erasing dialog") );
- actionToolsFormatDVD->setToolTip( i18n("Open the DVD%1RW formatting dialog").tqarg("�") );
+ actionToolsFormatDVD->setToolTip( i18n("Open the DVD%1RW formatting dialog").arg("�") );
actionCdCopy->setToolTip( i18n("Open the CD copy dialog") );
actionToolsWriteCdImage->setToolTip( i18n("Write an Iso9660, cue/bin, or cdrecord clone image to CD") );
actionToolsWriteDvdImage->setToolTip( i18n("Write an Iso9660 image to DVD") );
@@ -635,20 +635,20 @@ void K3bMainWindow::saveProperties( KConfig* c )
int cnt = 1;
for( TQPtrListIterator<K3bDoc> it( docs ); *it; ++it ) {
// the "name" of the project (or the original url if isSaved())
- c->writePathEntry( TQString("%1 url").tqarg(cnt), (*it)->URL().url() );
+ c->writePathEntry( TQString("%1 url").arg(cnt), (*it)->URL().url() );
// is the doc modified
- c->writeEntry( TQString("%1 modified").tqarg(cnt), (*it)->isModified() );
+ c->writeEntry( TQString("%1 modified").arg(cnt), (*it)->isModified() );
// has the doc already been saved?
- c->writeEntry( TQString("%1 saved").tqarg(cnt), (*it)->isSaved() );
+ c->writeEntry( TQString("%1 saved").arg(cnt), (*it)->isSaved() );
// where does the session management save it? If it's not modified and saved this is
// the same as the url
KURL saveUrl = (*it)->URL();
if( !(*it)->isSaved() || (*it)->isModified() )
saveUrl = KURL::fromPathOrURL( saveDir + TQString::number(cnt) );
- c->writePathEntry( TQString("%1 saveurl").tqarg(cnt), saveUrl.url() );
+ c->writePathEntry( TQString("%1 saveurl").arg(cnt), saveUrl.url() );
// finally save it
k3bappcore->projectManager()->saveProject( *it, saveUrl );
@@ -690,13 +690,13 @@ void K3bMainWindow::readProperties( KConfig* c )
for( int i = 1; i <= cnt; ++i ) {
// in this case the constructor works since we saved as url()
- KURL url = c->readPathEntry( TQString("%1 url").tqarg(i) );
+ KURL url = c->readPathEntry( TQString("%1 url").arg(i) );
- bool modified = c->readBoolEntry( TQString("%1 modified").tqarg(i) );
+ bool modified = c->readBoolEntry( TQString("%1 modified").arg(i) );
- bool saved = c->readBoolEntry( TQString("%1 saved").tqarg(i) );
+ bool saved = c->readBoolEntry( TQString("%1 saved").arg(i) );
- KURL saveUrl = c->readPathEntry( TQString("%1 saveurl").tqarg(i) );
+ KURL saveUrl = c->readPathEntry( TQString("%1 saveurl").arg(i) );
// now load the project
if( K3bDoc* doc = k3bappcore->projectManager()->openProject( saveUrl ) ) {
@@ -826,7 +826,7 @@ bool K3bMainWindow::canCloseDocument( K3bDoc* doc )
return true;
switch ( KMessageBox::warningYesNoCancel( this,
- i18n("%1 has unsaved data.").tqarg( doc->URL().fileName() ),
+ i18n("%1 has unsaved data.").arg( doc->URL().fileName() ),
i18n("Closing Project"),
KStdGuiItem::save(),
KGuiItem( i18n("&Discard"), "editshred" ) ) )
@@ -940,7 +940,7 @@ void K3bMainWindow::fileSaveAs( K3bDoc* doc )
bool exists = KIO::NetAccess::exists( url, false, 0 );
if( !exists ||
( exists &&
- KMessageBox::warningContinueCancel( this, i18n("Do you want to overwrite %1?").tqarg( url.prettyURL() ),
+ KMessageBox::warningContinueCancel( this, i18n("Do you want to overwrite %1?").arg( url.prettyURL() ),
i18n("File Exists"), i18n("Overwrite") )
== KMessageBox::Continue ) ) {