summaryrefslogtreecommitdiffstats
path: root/src/k3btempdirselectionwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:06:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:06:28 -0600
commit83b79bb29aaa412caec6abcdb42ca21d248b3b3a (patch)
treef48e8ae855d4a0be0c3ecf912a92168a829ff8c5 /src/k3btempdirselectionwidget.cpp
parent2a3ced9fbd85b4fdbfa9b0a91f8d22e35ceaf6b5 (diff)
downloadk3b-83b79bb29aaa412caec6abcdb42ca21d248b3b3a.tar.gz
k3b-83b79bb29aaa412caec6abcdb42ca21d248b3b3a.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/k3btempdirselectionwidget.cpp')
-rw-r--r--src/k3btempdirselectionwidget.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/k3btempdirselectionwidget.cpp b/src/k3btempdirselectionwidget.cpp
index fb69b34..5ba3879 100644
--- a/src/k3btempdirselectionwidget.cpp
+++ b/src/k3btempdirselectionwidget.cpp
@@ -107,7 +107,7 @@ void K3bTempDirSelectionWidget::slotUpdateFreeTempSpace()
// update the temp space
freeTempSpace();
- m_labelFreeSpace->setText( KIO::convertSizeFromKB(m_freeTempSpace) );
+ m_labelFreeSpace->setText( TDEIO::convertSizeFromKB(m_freeTempSpace) );
if( m_labelCdSize ) {
if( m_freeTempSpace < m_requestedSize/1024 )
@@ -204,34 +204,34 @@ void K3bTempDirSelectionWidget::setSelectionMode( int mode )
}
-void K3bTempDirSelectionWidget::setNeededSize( KIO::filesize_t bytes )
+void K3bTempDirSelectionWidget::setNeededSize( TDEIO::filesize_t bytes )
{
m_requestedSize = bytes;
if( !m_labelCdSize ) {
TQHBox* cdSizeBox = new TQHBox( this );
cdSizeBox->setSpacing( KDialog::spacingHint() );
(void)new TQLabel( i18n( "Size of project:" ), cdSizeBox, "TextLabel4" );
- m_labelCdSize = new TQLabel( KIO::convertSize(bytes), cdSizeBox, "m_labelCdSize" );
+ m_labelCdSize = new TQLabel( TDEIO::convertSize(bytes), cdSizeBox, "m_labelCdSize" );
m_labelCdSize->setAlignment( int( TQLabel::AlignVCenter | TQLabel::AlignRight ) );
}
- m_labelCdSize->setText( KIO::convertSize(bytes) );
+ m_labelCdSize->setText( TDEIO::convertSize(bytes) );
}
void K3bTempDirSelectionWidget::saveConfig()
{
- KConfigGroup grp( k3bcore->config(), "General Options" );
+ TDEConfigGroup grp( k3bcore->config(), "General Options" );
grp.writePathEntry( "Temp Dir", tempDirectory() );
}
-void K3bTempDirSelectionWidget::readConfig( KConfigBase* c )
+void K3bTempDirSelectionWidget::readConfig( TDEConfigBase* c )
{
setTempPath( c->readPathEntry( "image path", K3b::defaultTempPath() ) );
}
-void K3bTempDirSelectionWidget::saveConfig( KConfigBase* c )
+void K3bTempDirSelectionWidget::saveConfig( TDEConfigBase* c )
{
c->writePathEntry( "image path", tempPath() );
}