summaryrefslogtreecommitdiffstats
path: root/virt/virt.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:12:12 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:12:12 -0600
commit527c1d6eee022fbe0fed30d64ca6695c48925be2 (patch)
tree0ce098887e1f76dcba419110ebe925c51363604a /virt/virt.cc
parentb8fb4538e9eddfeb9eb0fa8def496f58cb7a9bf1 (diff)
downloadkrusader-527c1d6eee022fbe0fed30d64ca6695c48925be2.tar.gz
krusader-527c1d6eee022fbe0fed30d64ca6695c48925be2.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'virt/virt.cc')
-rw-r--r--virt/virt.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/virt/virt.cc b/virt/virt.cc
index bb71d40..706621f 100644
--- a/virt/virt.cc
+++ b/virt/virt.cc
@@ -30,7 +30,7 @@
#include "virt.h"
-using namespace KIO;
+using namespace TDEIO;
#define VIRT_VFS_DB "virt_vfs.db"
#define VIRT_PROTOCOL "virt"
@@ -48,7 +48,7 @@ extern "C" { int kdemain( int argc, char **argv ); }
}
TQDict<KURL::List> VirtProtocol::kioVirtDict;
-KConfig* VirtProtocol::kio_virt_db;
+TDEConfig* VirtProtocol::kio_virt_db;
int kdemain( int argc, char **argv ) {
TDEInstance instance( "kio_virt" );
@@ -65,7 +65,7 @@ int kdemain( int argc, char **argv ) {
}
VirtProtocol::VirtProtocol( const TQCString &pool, const TQCString &app ) : SlaveBase( "virt", pool, app ) {
- kio_virt_db = new KConfig(VIRT_VFS_DB,false,"data");
+ kio_virt_db = new TDEConfig(VIRT_VFS_DB,false,"data");
}
VirtProtocol::~VirtProtocol() {
@@ -75,7 +75,7 @@ VirtProtocol::~VirtProtocol() {
void VirtProtocol::del(KURL const & /*url */, bool /* isFile */ ){
// KRDEBUG(url.path());
- messageBox(KIO::SlaveBase::QuestionYesNo,
+ messageBox(TDEIO::SlaveBase::QuestionYesNo,
i18n(""),
i18n("Virtulal delete"),
i18n("remove from virtual space"),
@@ -132,7 +132,7 @@ void VirtProtocol::mkdir(const KURL& url,int){
if ( path.isEmpty() ) path = "/";
if( kioVirtDict[ path ] ){
- error( KIO::ERR_DIR_ALREADY_EXIST, url.path() );
+ error( TDEIO::ERR_DIR_ALREADY_EXIST, url.path() );
return;
}
@@ -222,7 +222,7 @@ bool VirtProtocol::rewriteURL(const KURL& /* src */, KURL&){
bool VirtProtocol::save(){
lock();
- KConfig* db = new KConfig(VIRT_VFS_DB,false,"data");;
+ TDEConfig* db = new TDEConfig(VIRT_VFS_DB,false,"data");;
db->setGroup("virt_db");
TQDictIterator<KURL::List> it( kioVirtDict ); // See TQDictIterator
@@ -246,7 +246,7 @@ bool VirtProtocol::save(){
bool VirtProtocol::load(){
lock();
- KConfig* db = new KConfig(VIRT_VFS_DB,false,"data");
+ TDEConfig* db = new TDEConfig(VIRT_VFS_DB,false,"data");
db->setGroup("virt_db");
TQMap<TQString, TQString> map = db->entryMap("virt_db");