diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
commit | cc74f360bb40da3d79f58048f8e8611804980aa6 (patch) | |
tree | c4385d2c16b904757b1c8bb998a4aec6993373f7 /kcontrol/ioslaveinfo | |
parent | 79b21d47bce1ee428affc97534cd8b257232a871 (diff) | |
download | tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kcontrol/ioslaveinfo')
-rw-r--r-- | kcontrol/ioslaveinfo/kcmioslaveinfo.cpp | 16 | ||||
-rw-r--r-- | kcontrol/ioslaveinfo/kcmioslaveinfo.h | 10 |
2 files changed, 13 insertions, 13 deletions
diff --git a/kcontrol/ioslaveinfo/kcmioslaveinfo.cpp b/kcontrol/ioslaveinfo/kcmioslaveinfo.cpp index 6ed69774b..9ee3d93f9 100644 --- a/kcontrol/ioslaveinfo/kcmioslaveinfo.cpp +++ b/kcontrol/ioslaveinfo/kcmioslaveinfo.cpp @@ -49,12 +49,12 @@ typedef KGenericFactory<KCMIOSlaveInfo, TQWidget> SlaveFactory; K_EXPORT_COMPONENT_FACTORY( kcm_ioslaveinfo, SlaveFactory("kcmioslaveinfo") ) KCMIOSlaveInfo::KCMIOSlaveInfo(TQWidget *parent, const char *name, const TQStringList &) - :KCModule(SlaveFactory::instance(), parent,name),m_ioslavesLb(0),m_tfj(0) + :TDECModule(SlaveFactory::instance(), parent,name),m_ioslavesLb(0),m_tfj(0) { TQVBoxLayout *layout=new TQVBoxLayout(this, 0, KDialog::spacingHint()); setQuickHelp( i18n("<h1>IO slaves</h1> Gives you an overview of the installed ioslaves.")); - setButtons( KCModule::Help ); + setButtons( TDECModule::Help ); TQLabel* label=new TQLabel(i18n("Available IO slaves:"),this); TQHBox *hbox=new TQHBox(this); @@ -80,7 +80,7 @@ KCMIOSlaveInfo::KCMIOSlaveInfo(TQWidget *parent, const char *name, const TQStrin m_ioslavesLb->sort(); m_ioslavesLb->setSelected(0, true); - setButtons(KCModule::Help); + setButtons(TDECModule::Help); TDEAboutData *about = new TDEAboutData(I18N_NOOP("kcmioslaveinfo"), @@ -94,7 +94,7 @@ KCMIOSlaveInfo::KCMIOSlaveInfo(TQWidget *parent, const char *name, const TQStrin } -void KCMIOSlaveInfo::slaveHelp( KIO::Job *, const TQByteArray &data) +void KCMIOSlaveInfo::slaveHelp( TDEIO::Job *, const TQByteArray &data) { if ( data.size() == 0 ) { // EOF int index = helpData.find( "<meta http-equiv=\"Content-Type\"" ); @@ -111,7 +111,7 @@ void KCMIOSlaveInfo::slaveHelp( KIO::Job *, const TQByteArray &data) helpData += data; } -void KCMIOSlaveInfo::slotResult(KIO::Job *) +void KCMIOSlaveInfo::slotResult(TDEIO::Job *) { m_tfj = 0; } @@ -129,9 +129,9 @@ void KCMIOSlaveInfo::showInfo(const TQString& protocol) if (!file.isEmpty()) { helpData.truncate( 0 ); - m_tfj = KIO::get( KURL( TQString("help:/kioslave/%1.html").arg( protocol ) ), true, false ); - connect( m_tfj, TQT_SIGNAL( data( KIO::Job *, const TQByteArray &) ), TQT_SLOT( slaveHelp( KIO::Job *, const TQByteArray &) ) ); - connect( m_tfj, TQT_SIGNAL( result( KIO::Job * ) ), TQT_SLOT( slotResult( KIO::Job * ) ) ); + m_tfj = TDEIO::get( KURL( TQString("help:/kioslave/%1.html").arg( protocol ) ), true, false ); + connect( m_tfj, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray &) ), TQT_SLOT( slaveHelp( TDEIO::Job *, const TQByteArray &) ) ); + connect( m_tfj, TQT_SIGNAL( result( TDEIO::Job * ) ), TQT_SLOT( slotResult( TDEIO::Job * ) ) ); return; } m_info->setText(i18n("Some info about protocol %1:/ ...").arg(protocol)); diff --git a/kcontrol/ioslaveinfo/kcmioslaveinfo.h b/kcontrol/ioslaveinfo/kcmioslaveinfo.h index 9537d6cc7..b587c39ec 100644 --- a/kcontrol/ioslaveinfo/kcmioslaveinfo.h +++ b/kcontrol/ioslaveinfo/kcmioslaveinfo.h @@ -36,9 +36,9 @@ class KIOTimeoutControl; class TQTabWidget; class TQSpinBox; -class KConfig; +class TDEConfig; -class KCMIOSlaveInfo : public KCModule +class KCMIOSlaveInfo : public TDECModule { Q_OBJECT public: @@ -48,14 +48,14 @@ protected: KListBox *m_ioslavesLb; KTextBrowser *m_info; TQCString helpData; - KIO::Job *m_tfj; + TDEIO::Job *m_tfj; protected slots: void showInfo(const TQString& protocol); void showInfo(TQListBoxItem *item); - void slaveHelp( KIO::Job *, const TQByteArray &data); - void slotResult( KIO::Job * ); + void slaveHelp( TDEIO::Job *, const TQByteArray &data); + void slotResult( TDEIO::Job * ); }; #endif |