diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:10:32 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:10:32 -0600 |
commit | 3fe437def8063926892bddf2dcc733861308836d (patch) | |
tree | 021d66ad023a32bc8ea0074a1ab3d01316aff8b0 /filters/chalk/jpeg | |
parent | 5b8ab149469c8e186ee8b05d90c0103ae722dd85 (diff) | |
download | koffice-3fe437def8063926892bddf2dcc733861308836d.tar.gz koffice-3fe437def8063926892bddf2dcc733861308836d.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'filters/chalk/jpeg')
-rw-r--r-- | filters/chalk/jpeg/kis_jpeg_converter.cc | 10 | ||||
-rw-r--r-- | filters/chalk/jpeg/kis_jpeg_converter.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/filters/chalk/jpeg/kis_jpeg_converter.cc b/filters/chalk/jpeg/kis_jpeg_converter.cc index 190c939b..87289fbf 100644 --- a/filters/chalk/jpeg/kis_jpeg_converter.cc +++ b/filters/chalk/jpeg/kis_jpeg_converter.cc @@ -325,7 +325,7 @@ KisImageBuilder_Result KisJPEGConverter::buildImage(const KURL& uri) if (uri.isEmpty()) return KisImageBuilder_RESULT_NO_URI; - if (!KIO::NetAccess::exists(uri, false, tqApp -> mainWidget())) { + if (!TDEIO::NetAccess::exists(uri, false, tqApp -> mainWidget())) { return KisImageBuilder_RESULT_NOT_EXIST; } @@ -333,11 +333,11 @@ KisImageBuilder_Result KisJPEGConverter::buildImage(const KURL& uri) KisImageBuilder_Result result = KisImageBuilder_RESULT_FAILURE; TQString tmpFile; - if (KIO::NetAccess::download(uri, tmpFile, tqApp -> mainWidget())) { + if (TDEIO::NetAccess::download(uri, tmpFile, tqApp -> mainWidget())) { KURL uriTF; uriTF.setPath( tmpFile ); result = decode(uriTF); - KIO::NetAccess::removeTempFile(tmpFile); + TDEIO::NetAccess::removeTempFile(tmpFile); } return result; @@ -387,7 +387,7 @@ KisImageBuilder_Result KisJPEGConverter::buildFile(const KURL& uri, KisPaintLaye J_COLOR_SPACE color_type = getColorTypeforColorSpace(img->colorSpace()); if(color_type == JCS_UNKNOWN) { - KIO::del(uri); + TDEIO::del(uri); return KisImageBuilder_RESULT_UNSUPPORTED_COLORSPACE; } cinfo.in_color_space = color_type; // colorspace of input image @@ -514,7 +514,7 @@ KisImageBuilder_Result KisJPEGConverter::buildFile(const KURL& uri, KisPaintLaye } break; default: - KIO::del(uri); + TDEIO::del(uri); return KisImageBuilder_RESULT_UNSUPPORTED; } jpeg_write_scanlines(&cinfo, &row_pointer, 1); diff --git a/filters/chalk/jpeg/kis_jpeg_converter.h b/filters/chalk/jpeg/kis_jpeg_converter.h index 248e3653..567204ee 100644 --- a/filters/chalk/jpeg/kis_jpeg_converter.h +++ b/filters/chalk/jpeg/kis_jpeg_converter.h @@ -85,7 +85,7 @@ class KisJPEGConverter : public KisProgressSubject { KisDoc *m_doc; KisUndoAdapter *m_adapter; bool m_stop; - KIO::TransferJob *m_job; + TDEIO::TransferJob *m_job; }; #endif |