summaryrefslogtreecommitdiffstats
path: root/renamedlgplugins
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:24 -0600
commit20de04ce44f63fb911103d7870d39d2782d14cda (patch)
treebddd13cef2fae98892caf538dc64b5357732c517 /renamedlgplugins
parent4c097708c4cc24f3b8e4c21f14644f5715767d47 (diff)
downloadtdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.tar.gz
tdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'renamedlgplugins')
-rw-r--r--renamedlgplugins/audio/audio_plugin.cpp14
-rw-r--r--renamedlgplugins/audio/audiopreview.cpp4
-rw-r--r--renamedlgplugins/images/image_plugin.cpp14
-rw-r--r--renamedlgplugins/images/imagevisualizer.cpp4
4 files changed, 18 insertions, 18 deletions
diff --git a/renamedlgplugins/audio/audio_plugin.cpp b/renamedlgplugins/audio/audio_plugin.cpp
index 1e8ff0a..a1251df 100644
--- a/renamedlgplugins/audio/audio_plugin.cpp
+++ b/renamedlgplugins/audio/audio_plugin.cpp
@@ -37,11 +37,11 @@ class AudioPlugin : public RenameDlgPlugin{
public:
AudioPlugin( TQDialog *dialog, const char *name, const TQStringList & );
~AudioPlugin();
- virtual bool initialize( KIO::RenameDlg_Mode /*mod*/, const TQString &/*_src*/, const TQString &/*_dest*/,
+ virtual bool initialize( TDEIO::RenameDlg_Mode /*mod*/, const TQString &/*_src*/, const TQString &/*_dest*/,
const TQString &/*mimeSrc*/,
const TQString &/*mimeDest*/,
- KIO::filesize_t /*sizeSrc*/,
- KIO::filesize_t /*sizeDest*/,
+ TDEIO::filesize_t /*sizeSrc*/,
+ TDEIO::filesize_t /*sizeDest*/,
time_t /*ctimeSrc*/,
time_t /*ctimeDest*/,
time_t /*mtimeSrc*/,
@@ -54,17 +54,17 @@ AudioPlugin::AudioPlugin( TQDialog *dialog, const char *name, const TQStringList
AudioPlugin::~AudioPlugin()
{
}
-bool AudioPlugin::initialize( KIO::RenameDlg_Mode mode, const TQString &_src, const TQString &_dest,
+bool AudioPlugin::initialize( TDEIO::RenameDlg_Mode mode, const TQString &_src, const TQString &_dest,
const TQString &mimeSrc,
const TQString &mimeDest,
- KIO::filesize_t /*sizeSrc*/,
- KIO::filesize_t /*sizeDest*/,
+ TDEIO::filesize_t /*sizeSrc*/,
+ TDEIO::filesize_t /*sizeDest*/,
time_t /*ctimeSrc*/,
time_t /*ctimeDest*/,
time_t mtimeSrc,
time_t mtimeDest ) {
TQGridLayout *lay = new TQGridLayout(this, 4, 3, 5);
- if( mode & KIO::M_OVERWRITE ){
+ if( mode & TDEIO::M_OVERWRITE ){
TQLabel *label_head = new TQLabel(this);
TQLabel *label_src = new TQLabel(this);
TQLabel *label_dst = new TQLabel(this);
diff --git a/renamedlgplugins/audio/audiopreview.cpp b/renamedlgplugins/audio/audiopreview.cpp
index 4f2936a..d1e1174 100644
--- a/renamedlgplugins/audio/audiopreview.cpp
+++ b/renamedlgplugins/audio/audiopreview.cpp
@@ -64,7 +64,7 @@ AudioPreview::AudioPreview( TQWidget *parent, const char *name, const TQString &
AudioPreview::~AudioPreview()
{
if ( m_isTempFile )
- KIO::NetAccess::removeTempFile( m_localFile );
+ TDEIO::NetAccess::removeTempFile( m_localFile );
delete m_player;
}
@@ -125,7 +125,7 @@ void AudioPreview::initView( const TQString& mimeType )
void AudioPreview::downloadFile( const TQString& url )
{
- if( KIO::NetAccess::download( KURL::fromPathOrURL( url ), m_localFile , topLevelWidget()) )
+ if( TDEIO::NetAccess::download( KURL::fromPathOrURL( url ), m_localFile , topLevelWidget()) )
{
m_isTempFile = true;
initView( KMimeType::findByPath( m_localFile )->name() );
diff --git a/renamedlgplugins/images/image_plugin.cpp b/renamedlgplugins/images/image_plugin.cpp
index 65023f7..ef3b715 100644
--- a/renamedlgplugins/images/image_plugin.cpp
+++ b/renamedlgplugins/images/image_plugin.cpp
@@ -38,11 +38,11 @@
class ImagePlugin : public RenameDlgPlugin{
public:
ImagePlugin( TQDialog *dialog, const char *name, const TQStringList & );
- virtual bool initialize( KIO::RenameDlg_Mode /*mod*/, const TQString &/*_src*/, const TQString &/*_dest*/,
+ virtual bool initialize( TDEIO::RenameDlg_Mode /*mod*/, const TQString &/*_src*/, const TQString &/*_dest*/,
const TQString &/*mimeSrc*/,
const TQString &/*mimeDest*/,
- KIO::filesize_t /*sizeSrc*/,
- KIO::filesize_t /*sizeDest*/,
+ TDEIO::filesize_t /*sizeSrc*/,
+ TDEIO::filesize_t /*sizeDest*/,
time_t /*ctimeSrc*/,
time_t /*ctimeDest*/,
time_t /*mtimeSrc*/,
@@ -54,18 +54,18 @@ ImagePlugin::ImagePlugin( TQDialog *dialog, const char *name, const TQStringList
{
}
-bool ImagePlugin::initialize( KIO::RenameDlg_Mode mode, const TQString &_src, const TQString &_dest,
+bool ImagePlugin::initialize( TDEIO::RenameDlg_Mode mode, const TQString &_src, const TQString &_dest,
const TQString &/*mimeSrc*/,
const TQString &/*mimeDest*/,
- KIO::filesize_t /*sizeSrc*/,
- KIO::filesize_t /*sizeDest*/,
+ TDEIO::filesize_t /*sizeSrc*/,
+ TDEIO::filesize_t /*sizeDest*/,
time_t /*ctimeSrc*/,
time_t /*ctimeDest*/,
time_t /*mtimeSrc*/,
time_t /*mtimeDest*/ )
{
TQGridLayout *lay = new TQGridLayout(this, 2, 3, 5 );
- if( mode & KIO::M_OVERWRITE )
+ if( mode & TDEIO::M_OVERWRITE )
{
TQLabel *label = new TQLabel(this );
label->setText(i18n("You want to overwrite the left picture with the one on the right.") );
diff --git a/renamedlgplugins/images/imagevisualizer.cpp b/renamedlgplugins/images/imagevisualizer.cpp
index 009eb8b..1ef7cd5 100644
--- a/renamedlgplugins/images/imagevisualizer.cpp
+++ b/renamedlgplugins/images/imagevisualizer.cpp
@@ -73,10 +73,10 @@ void ImageVisualizer::loadImage( const TQString& path )
void ImageVisualizer::downloadImage(const TQString& url)
{
TQString tmpFile;
- if( KIO::NetAccess::download( KURL::fromPathOrURL( url ), tmpFile , topLevelWidget()) )
+ if( TDEIO::NetAccess::download( KURL::fromPathOrURL( url ), tmpFile , topLevelWidget()) )
{
loadImage( tmpFile );
- KIO::NetAccess::removeTempFile( tmpFile );
+ TDEIO::NetAccess::removeTempFile( tmpFile );
}
}