summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:16:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:16:17 -0600
commit5f3c4af105444b1cf4ea099910cad0b2c178954c (patch)
tree8b57ce38b5958f642e0a89951647ecd151656b75 /src
parentd012fd9b3d5f0e1553dfa8622e2905aa3e7fa90e (diff)
downloadk3b-5f3c4af105444b1cf4ea099910cad0b2c178954c.tar.gz
k3b-5f3c4af105444b1cf4ea099910cad0b2c178954c.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'src')
-rw-r--r--src/option/k3bmiscoptiontab.cpp2
-rw-r--r--src/projects/k3bprojectburndialog.cpp2
-rw-r--r--src/rip/k3baudioprojectconvertingthread.cpp6
-rw-r--r--src/rip/k3baudioripthread.cpp6
-rw-r--r--src/rip/k3bvideocdrippingdialog.cpp2
5 files changed, 9 insertions, 9 deletions
diff --git a/src/option/k3bmiscoptiontab.cpp b/src/option/k3bmiscoptiontab.cpp
index 1da6f17..af8e141 100644
--- a/src/option/k3bmiscoptiontab.cpp
+++ b/src/option/k3bmiscoptiontab.cpp
@@ -126,7 +126,7 @@ bool K3bMiscOptionTab::saveSettings()
if( !fi.exists() ) {
if( KMessageBox::questionYesNo( this, i18n("Directory (%1) does not exist. Create?").arg(tempDir),
i18n("Create Directory"), i18n("Create"), KStdGuiItem::cancel() ) == KMessageBox::Yes ) {
- if( !KStandardDirs::makeDir( fi.absFilePath() ) ) {
+ if( !TDEStandardDirs::makeDir( fi.absFilePath() ) ) {
KMessageBox::error( this, i18n("Unable to create directory %1").arg(tempDir) );
return false;
}
diff --git a/src/projects/k3bprojectburndialog.cpp b/src/projects/k3bprojectburndialog.cpp
index 2547fef..bd8a16c 100644
--- a/src/projects/k3bprojectburndialog.cpp
+++ b/src/projects/k3bprojectburndialog.cpp
@@ -201,7 +201,7 @@ void K3bProjectBurnDialog::slotStartClicked()
if( !TQFile::exists( tempDir ) ) {
if( KMessageBox::warningYesNo( this, i18n("Image folder '%1' does not exist. Do you want K3b to create it?").arg( tempDir ) )
== KMessageBox::Yes ) {
- if( !KStandardDirs::makeDir( tempDir ) ) {
+ if( !TDEStandardDirs::makeDir( tempDir ) ) {
KMessageBox::error( this, i18n("Failed to create folder '%1'.").arg( tempDir ) );
return;
}
diff --git a/src/rip/k3baudioprojectconvertingthread.cpp b/src/rip/k3baudioprojectconvertingthread.cpp
index fded45d..7e9a4ea 100644
--- a/src/rip/k3baudioprojectconvertingthread.cpp
+++ b/src/rip/k3baudioprojectconvertingthread.cpp
@@ -109,7 +109,7 @@ void K3bAudioProjectConvertingThread::run()
TQString& filename = m_tracks[0].second;
TQString dir = filename.left( filename.findRev("/") );
- if( !KStandardDirs::makeDir( dir ) ) {
+ if( !TDEStandardDirs::makeDir( dir ) ) {
emitInfoMessage( i18n("Unable to create directory %1").arg(dir), K3bJob::ERROR );
emitFinished(false);
return;
@@ -195,7 +195,7 @@ void K3bAudioProjectConvertingThread::run()
bool K3bAudioProjectConvertingThread::convertTrack( K3bAudioTrack* track, const TQString& filename )
{
TQString dir = filename.left( filename.findRev("/") );
- if( !KStandardDirs::makeDir( dir ) ) {
+ if( !TDEStandardDirs::makeDir( dir ) ) {
emitInfoMessage( i18n("Unable to create directory %1").arg(dir), K3bJob::ERROR );
return false;
}
@@ -303,7 +303,7 @@ bool K3bAudioProjectConvertingThread::writePlaylist()
// this is an absolut path so there is always a "/"
TQString playlistDir = m_playlistFilename.left( m_playlistFilename.findRev( "/" ) );
- if( !KStandardDirs::makeDir( playlistDir ) ) {
+ if( !TDEStandardDirs::makeDir( playlistDir ) ) {
emitInfoMessage( i18n("Unable to create directory %1").arg(playlistDir), K3bJob::ERROR );
return false;
}
diff --git a/src/rip/k3baudioripthread.cpp b/src/rip/k3baudioripthread.cpp
index c650755..faf8fcc 100644
--- a/src/rip/k3baudioripthread.cpp
+++ b/src/rip/k3baudioripthread.cpp
@@ -195,7 +195,7 @@ void K3bAudioRipThread::run()
TQString& filename = m_tracks[0].second;
TQString dir = filename.left( filename.findRev("/") );
- if( !KStandardDirs::makeDir( dir, 0777 ) ) {
+ if( !TDEStandardDirs::makeDir( dir, 0777 ) ) {
d->paranoiaLib->close();
emitInfoMessage( i18n("Unable to create directory %1").arg(dir), K3bJob::ERROR );
m_device->block(false);
@@ -299,7 +299,7 @@ bool K3bAudioRipThread::ripTrack( int track, const TQString& filename )
long trackSectorsRead = 0;
TQString dir = filename.left( filename.findRev("/") );
- if( !KStandardDirs::makeDir( dir, 0777 ) ) {
+ if( !TDEStandardDirs::makeDir( dir, 0777 ) ) {
emitInfoMessage( i18n("Unable to create directory %1").arg(dir), K3bJob::ERROR );
return false;
}
@@ -446,7 +446,7 @@ bool K3bAudioRipThread::writePlaylist()
// this is an absolut path so there is always a "/"
TQString playlistDir = m_playlistFilename.left( m_playlistFilename.findRev( "/" ) );
- if( !KStandardDirs::makeDir( playlistDir ) ) {
+ if( !TDEStandardDirs::makeDir( playlistDir ) ) {
emitInfoMessage( i18n("Unable to create directory %1").arg(playlistDir), K3bJob::ERROR );
return false;
}
diff --git a/src/rip/k3bvideocdrippingdialog.cpp b/src/rip/k3bvideocdrippingdialog.cpp
index 8fe85f5..5b6be84 100644
--- a/src/rip/k3bvideocdrippingdialog.cpp
+++ b/src/rip/k3bvideocdrippingdialog.cpp
@@ -159,7 +159,7 @@ void K3bVideoCdRippingDialog::slotStartClicked()
if( !d.exists() ) {
if( KMessageBox::warningYesNo( this, i18n("Image folder '%1' does not exist. Do you want K3b to create it?").arg( m_editDirectory->url() ) )
== KMessageBox::Yes ) {
- if( !KStandardDirs::makeDir( m_editDirectory->url() ) ) {
+ if( !TDEStandardDirs::makeDir( m_editDirectory->url() ) ) {
KMessageBox::error( this, i18n("Failed to create folder '%1'.").arg( m_editDirectory->url() ) );
return;
}