summaryrefslogtreecommitdiffstats
path: root/ark/mainwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:13 -0600
commit4bb787f41f7cdefac2aac33ef59317b7157302c1 (patch)
treec9726401d4eeb6fff8e78c4e35facb644c417e77 /ark/mainwindow.cpp
parentaef5eada7f51ee48f3d21448db290bd8f06953a8 (diff)
downloadtdeutils-4bb787f41f7cdefac2aac33ef59317b7157302c1.tar.gz
tdeutils-4bb787f41f7cdefac2aac33ef59317b7157302c1.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'ark/mainwindow.cpp')
-rw-r--r--ark/mainwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ark/mainwindow.cpp b/ark/mainwindow.cpp
index 7096833..2c9a957 100644
--- a/ark/mainwindow.cpp
+++ b/ark/mainwindow.cpp
@@ -344,7 +344,7 @@ MainWindow::slotSaveProperties()
}
void
-MainWindow::saveProperties( KConfig* config )
+MainWindow::saveProperties( TDEConfig* config )
{
//TODO: make it work for URLS
config->writePathEntry( "SMOpenedFile",m_widget->getArchName() );
@@ -353,10 +353,10 @@ MainWindow::saveProperties( KConfig* config )
void
-MainWindow::readProperties( KConfig* config )
+MainWindow::readProperties( TDEConfig* config )
{
TQString file = config->readPathEntry("SMOpenedFile");
- kdDebug(1601) << "ArkWidget::readProperties( KConfig* config ) file=" << file << endl;
+ kdDebug(1601) << "ArkWidget::readProperties( TDEConfig* config ) file=" << file << endl;
if ( !file.isEmpty() )
openURL( KURL::fromPathOrURL( file ) );
}
@@ -433,7 +433,7 @@ MainWindow::addToArchive( const KURL::List & filesToAdd, const TQString & /*cwd*
startProgressDialog( i18n( "Compressing..." ) );
- bool exists = KIO::NetAccess::exists( archiveFile, false, m_widget );
+ bool exists = TDEIO::NetAccess::exists( archiveFile, false, m_widget );
kdDebug( 1601 ) << archiveFile << endl;
if ( !m_widget->addToArchive( filesToAdd, archiveFile ) )