diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:05:29 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:05:29 -0600 |
commit | e54e867af243223a620f12bf260e1af9ac9f6dc5 (patch) | |
tree | 0e741cd6800d16c390671051ae525f760d87cdb5 /src/htmlexporter.cpp | |
parent | 934db26c3f8efe148a5680c22f965ee10f818a61 (diff) | |
download | basket-e54e867af243223a620f12bf260e1af9ac9f6dc5.tar.gz basket-e54e867af243223a620f12bf260e1af9ac9f6dc5.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/htmlexporter.cpp')
-rw-r--r-- | src/htmlexporter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/htmlexporter.cpp b/src/htmlexporter.cpp index f9ef3d3..70e0f59 100644 --- a/src/htmlexporter.cpp +++ b/src/htmlexporter.cpp @@ -44,7 +44,7 @@ HTMLExporter::HTMLExporter(Basket *basket) TQDir dir; // Compute a default file name & path: - KConfig *config = TDEGlobal::config(); + TDEConfig *config = TDEGlobal::config(); config->setGroup("Export to HTML"); TQString folder = config->readEntry("lastFolder", TQDir::homeDirPath()) + "/"; TQString url = folder + TQString(basket->basketName()).replace("/", "_") + ".html"; @@ -550,11 +550,11 @@ TQString HTMLExporter::copyFile(const TQString &srcPath, bool createIt) if (file.open(IO_WriteOnly)) file.close(); // And then we copy the file AND overwriting the file we juste created: - new KIO::FileCopyJob( + new TDEIO::FileCopyJob( KURL(srcPath), KURL(fullPath), 0666, /*move=*/false, /*overwrite=*/true, /*resume=*/true, /*showProgress=*/false ); } else - /*KIO::CopyJob *copyJob = */KIO::copy(KURL(srcPath), KURL(fullPath)); // Do it as before + /*TDEIO::CopyJob *copyJob = */TDEIO::copy(KURL(srcPath), KURL(fullPath)); // Do it as before return fileName; } |