summaryrefslogtreecommitdiffstats
path: root/kcontrol/ioslaveinfo
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/ioslaveinfo')
-rw-r--r--kcontrol/ioslaveinfo/CMakeLists.txt34
-rw-r--r--kcontrol/ioslaveinfo/Makefile.am21
-rw-r--r--kcontrol/ioslaveinfo/ioslaveinfo.desktop237
-rw-r--r--kcontrol/ioslaveinfo/kcmioslaveinfo.cpp159
-rw-r--r--kcontrol/ioslaveinfo/kcmioslaveinfo.h61
-rw-r--r--kcontrol/ioslaveinfo/uninstall.desktop2
6 files changed, 0 insertions, 514 deletions
diff --git a/kcontrol/ioslaveinfo/CMakeLists.txt b/kcontrol/ioslaveinfo/CMakeLists.txt
deleted file mode 100644
index 5a8a72d59..000000000
--- a/kcontrol/ioslaveinfo/CMakeLists.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-##### other data ################################
-
-install( FILES ioslaveinfo.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-tde_install_empty_directory( ${DATA_INSTALL_DIR}/Settings/Information )
-
-
-##### kcm_ioslaveinfo (module) ##################
-
-tde_add_kpart( kcm_ioslaveinfo AUTOMOC
- SOURCES kcmioslaveinfo.cpp
- LINK tdeio-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
diff --git a/kcontrol/ioslaveinfo/Makefile.am b/kcontrol/ioslaveinfo/Makefile.am
deleted file mode 100644
index 598f193f1..000000000
--- a/kcontrol/ioslaveinfo/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-kde_module_LTLIBRARIES = kcm_ioslaveinfo.la
-
-kcm_ioslaveinfo_la_SOURCES = kcmioslaveinfo.cpp
-
-kcm_ioslaveinfo_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
-kcm_ioslaveinfo_la_LIBADD = -ltdeui $(LIB_TDEIO)
-
-AM_CPPFLAGS= $(all_includes)
-
-METASOURCES = AUTO
-
-messages:
- $(XGETTEXT) *.cpp -o $(podir)/kcmioslaveinfo.pot
-
-xdg_apps_DATA = ioslaveinfo.desktop
-
-install-data-local: uninstall.desktop
- $(mkinstalldirs) $(DESTDIR)$(kde_appsdir)/Settings/Information
-
-# $(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_appsdir)/Settings/Network/ioslaveinfo.desktop
-
diff --git a/kcontrol/ioslaveinfo/ioslaveinfo.desktop b/kcontrol/ioslaveinfo/ioslaveinfo.desktop
deleted file mode 100644
index 3701f1a8c..000000000
--- a/kcontrol/ioslaveinfo/ioslaveinfo.desktop
+++ /dev/null
@@ -1,237 +0,0 @@
-[Desktop Entry]
-Comment=Information about the available protocols
-Comment[af]=Informasie aangaande die beskikbaar protokolle
-Comment[ar]=معلومات عن الموافيق المتوفرة
-Comment[az]=Mövcud protokollar haqqında mə'lumat
-Comment[be]=Інфармацыя аб наяўных пратаколах
-Comment[bg]=Информация за поддържаните протоколи
-Comment[bn]=বিভিন্ন প্রোটোকল সম্বন্ধে তথ্য
-Comment[bs]=Informacije o dostupnim protokolima
-Comment[ca]=Informació sobre els protocols disponibles
-Comment[cs]=Informace o dostupných protokolech
-Comment[csb]=Wëdowiédzô ò przistãpnëch protokòłach
-Comment[cy]=Gwybodaeth am y protocolau sydd ar gael
-Comment[da]=Information om de tilgængelige protokoller
-Comment[de]=Information zu den verfügbaren Ein-/Ausgabemodulen
-Comment[el]=Πληροφορίες για τα διαθέσιμα πρωτόκολλα
-Comment[eo]=Informo pri la uzeblaj protokoloj
-Comment[es]=Información sobre los protocolos disponibles
-Comment[et]=Olemasolevate IO moodulite (ioslave) info
-Comment[eu]=Produktu eskuragarriei buruzko informazioa
-Comment[fa]=اطلاعاتی دربارۀ قراردادهای قابل دسترس
-Comment[fi]=Tietoja saatavilla olevista yhteyskäytännöistä
-Comment[fr]=Informations sur les protocoles disponibles
-Comment[fy]=Ynformaasje oer de beskikbere protokollen
-Comment[ga]=Eolas faoi na bprótacail atá ar fáil
-Comment[gl]=Información acerca dos protocolos diponíbeis
-Comment[he]=מידע על הפרוטוקולים הזמינים
-Comment[hi]=उपलब्ध प्रोटोकॉल्स के बारे में जानकारी
-Comment[hr]=Podaci o raspoloživim protokolima
-Comment[hu]=A rendelkezésre álló protokollok jellemzői
-Comment[id]=Informasi tentang protokol yang tersedia
-Comment[is]=Upplýsingar um nothæfar samskiptareglur
-Comment[it]=Informazioni sui protocolli disponibili
-Comment[ja]=利用可能なプロトコルの情報
-Comment[ka]=ინფორმაცია ხელმისაწვდომი პროტოკოების შესახებ
-Comment[kk]=Енгізу-шығару протоколдар туралы мәлімет
-Comment[km]=ព័ត៌មាន​អំពី​ពិធីការ​ដែល​អាច​រក​បាន
-Comment[ko]=사용 가능한 프로토콜 정보
-Comment[lo]=ຂໍ້ມູນກ່ງວກັບໂປຣໂຕຄອນທີ່ມີຢູ່
-Comment[lt]=Informacija apie esamus protokolus
-Comment[lv]=Informācija par pieejamajiem protokoliem
-Comment[mk]=Информации за достапните протоколи
-Comment[mn]=Бэлэн байгаа оролт/гаралтын-модулын мэдээлэл
-Comment[ms]=Maklumat tentang protokol yang boleh didapatkan
-Comment[mt]=Informazzjoni dwar il-protokolli li hawn
-Comment[nb]=Informasjon om de tilgjengelige protokollene
-Comment[nds]=Informatschoon över de verföögboren Protokollen
-Comment[ne]=उपलब्ध प्रोटोकलका बारेमा सूचना
-Comment[nl]=Informatie over de beschikbare protocollen
-Comment[nn]=Informasjon om dei tilgjengelege protokollane
-Comment[nso]=Tshedimoso kaga melao yeo elego gona
-Comment[pa]=ਉਪਲੱਬਧ ਪਰੋਟੋਕਾਲ ਬਾਰੇ ਜਾਣਕਾਰੀ
-Comment[pl]=Informacje o dostępnych protokołach
-Comment[pt]=Informações sobre os protocolos disponíveis
-Comment[pt_BR]=Informações sobre os protocolos disponíveis
-Comment[ro]=Informații despre protocoalele disponibile
-Comment[ru]=Сведения о протоколах ввода-вывода
-Comment[rw]=Ibisobanuro birebana na porotokole ziboneka
-Comment[se]=Dieđut olamuttus protokollaid birra
-Comment[sk]=Informácia o dostupných protokoloch
-Comment[sl]=Podatki o razpoložljivih protokolih
-Comment[sr]=Информације о доступним протоколима
-Comment[sr@Latn]=Informacije o dostupnim protokolima
-Comment[sv]=Information om tillgängliga protokoll
-Comment[ta]=கிடைக்கக்கூடிய நெறிமுறைகள் பற்றிய தகவல்
-Comment[tg]=Иттилооти дар мавриди қарордодҳои мавҷуд буда
-Comment[th]=ข้อมูลเกี่ยวกับโปรโตคอลที่มีอยู่
-Comment[tr]=Mevcut protokoller hakkında bilgi
-Comment[tt]=Bar bulğan protokollar turında
-Comment[uk]=Інформація про наявні протоколи
-Comment[uz]=Mavjud protokollar haqida maʼlumot
-Comment[uz@cyrillic]=Мавжуд протоколлар ҳақида маълумот
-Comment[ven]=Mafhungo ngaha purotokolo ire hone
-Comment[vi]=Thông tin về các giao thức có thể dùng
-Comment[wa]=Informåcion so les protocoles k' i gn a
-Comment[xh]=Ulwazi malunga nemithetho elandelwayo ekhoyo
-Comment[zh_CN]=可用协议的信息
-Comment[zh_TW]=可用協定的資訊
-Comment[zu]=Ulwazi mayelana nemithetho elandelwayo ekhona
-DocPath=kcontrol/protocols/index.html
-Exec=tdecmshell ioslaveinfo
-Icon=history
-Keywords=Protocol,IO slaves,Slaves,Network,Information,Timeout
-Keywords[ar]=الميفاق,IO Slaves,Slaves,الشبكة,معلومات نفاذ الوقت
-Keywords[az]=Protokol, IO Kölələri, Kölələr, Şəbəkə,Mə'lumat, Vaxt Dolması
-Keywords[be]=Пратакол,Сетка,Інфармацыя,Тэрмін чакання,Protocol,IO slaves,Slaves,Network,Information,Timeout
-Keywords[bg]=информация, система, системна, протокол, протоколи, наличен, поддържан, Protocol, IO slaves, Slaves, Network, Information, Timeout
-Keywords[ca]=Protocol,esclaus IO,Esclaus,Xarxa,Informació,Temps d'expiració
-Keywords[cs]=Protokol,Vstupně/výstupní moduly,Síť,Informace,Časový limit
-Keywords[csb]=Protokół,procedurë wé/wi,wëkonëjący dzéjaniô wé/wi,Séc,wëdowiédzô,Limit czasu
-Keywords[cy]=Protocol,Gweision IO,Gweision,Rhwydwaith,Gwybodaeth,Goramser
-Keywords[da]=Protokol,IO-slaver,Slaver,Netværk,Information,Tid,Udløb,Timeout
-Keywords[de]=Protokolle,Information,Ein/Ausgabe,Ein-/Ausgabemodule,IO-Slaves,Netzwerk,Zeitlimit,Timeout
-Keywords[el]=Πρωτόκολλο,slaves ΕΕ,Slaves,Δίκτυο,Πληροφορίες,Χρονικό όριο
-Keywords[eo]=Protokolo,Enel-sklavoj,sklavoj,reto,informo,tempolimo
-Keywords[es]=Protocolo,Slaves de E/S,Slaves,Red,Información,Tiempo de expiración
-Keywords[et]=protokoll,IO moodulid,moodulid,võrk,info,taimaut,aegumine
-Keywords[eu]=Protocol,IO morroiak,Morroiak,Sarea,Informazioa,Denbora-muga
-Keywords[fa]=قرارداد، IO slaves، Slaves، شبکه، اطلاعات، اتمام وقت
-Keywords[fi]=Protokolla,Yhteyskäytäntö,TDEIO,TDEIO-palvelu,Verkko,Aikavalvonta,aikakatkaisu
-Keywords[fr]=protocole,modules,entrées/sorties,réseau,informations,délai
-Keywords[fy]=protocol,IO slaves,slaves,network,ynformaasje,timeout,netwurk,tiidslimyt
-Keywords[gl]=Protocolo,escravos IO,Escravos,Rede,Información,Tempo de agarda,Timeout
-Keywords[he]=פרוטוקול,עבדי קלט־פלט,רשת,מידע,זמן מוקצב, Protocol,IO slaves,Slaves,Network,Information,Timeout
-Keywords[hi]=प्रोटोकॉल,आईओ स्लैव्स,स्लैव्स,नेटवर्क,जानकारी,टाइमआउट
-Keywords[hr]=Protocol,IO slaves,Slaves,Network,Information,Timeout,Protokol,IO podčinjeni,Podčinjeni,Mreža,Podaci,Istek
-Keywords[hu]=protokoll,TDE protokollok,protokoll,hálózat,információ,időtúllépés
-Keywords[is]=Samskiptareglur,IO þrælar,þrælar,staðarnet,net,upplýsingar,útrunninn tími
-Keywords[it]=protocollo,IO slave,slave,rete,informazioni,tempo massimo
-Keywords[ja]=プロトコル,IO,スレイブ,スレーブ,ネットワーク,情報,タイムアウト
-Keywords[km]=ពិធីការ,IO កូនចៅ,កូនចៅ,បណ្ដាញ,ព័ត៌មាន,អស់​ពេល
-Keywords[lo]=ໂປຣໂຕຄອນ,IO slaves,Slaves,ລະບົບເຄືອຂ່າຍ,ຂໍ້ມູນ,ຫມົດເວລາ
-Keywords[lt]=Protocol,IO slaves,Slaves,Network,Information,Timeout,protokolas,tinklas,informacija,laiko pasibaigimas
-Keywords[lv]=Protokols,IO vergi,Vergi,Tīkls,Informācija,Noildze
-Keywords[mk]=Protocol,IO slaves,Slaves,Network,Information,Timeout,Протокол,Мрежа,Информации,Истек на време
-Keywords[mn]=Протокол,Мэдээлэл,Оролт/Гаралт,IO-Slaves,Сүлжээ, Хугацааны хязгаар,Хугацаа хэтрэлт
-Keywords[nb]=Protokoll,IO-slaver,Slaver,Nettverk,Informasjon,Ventetid
-Keywords[nds]=Protokoll,In-/Utgaavdeensten,IO,Deensten,Nettwark,Informatschoon,Timeout,Tietgrenz
-Keywords[ne]=प्रोटोकल, IO स्लेभ, स्लेभहरू, सञ्जाल, सूचना, समय समाप्त
-Keywords[nl]=protocol,IO slaves,slaves,network,informatie,timeout,netwerk,tijdslimiet
-Keywords[nn]=protokoll,IU-slavar,slavar,nettverk,informasjon,tidsgrense
-Keywords[nso]=Molao,Makgoba a IO,Makgoba,Kgokagano,Tshedimoso, Nako e fedile
-Keywords[pa]=Protocol,IO slaves,Slaves,Network,Information,Timeout,ਪਰੋਟੋਕਾਲ,ਨੈਟਵਰਕ
-Keywords[pl]=Protokół,procedury we/wy,wykonujący operacje we/wy,Sieć,Informacje,Limit czasu
-Keywords[pt]=Protocolo,IO slaves,Slaves,Rede,Informações,Timeout,Tempo-limite
-Keywords[pt_BR]=Protocolos,escravos de ES,Escravos,Rede,Informações,Timeout
-Keywords[ro]=samba,dispozitive I/O,sclavi,rețea,informații
-Keywords[rw]=Porotokole,Abagaragu IO,Abagaragu,Urusobemiyoboro,Amakuru, Igihecyarenze
-Keywords[se]=protokolla,SO-slávat,slávat,fierbmi,diehtu,dieđut,áigemearri
-Keywords[sk]=Protokol,Klienti IO,klienti,Sieť,Informácie
-Keywords[sl]=protokol,podrejeni V/I,podrejeni,omrežje,podatki,zakasnitev
-Keywords[sr]=Protocol,IO slaves,Slaves,Network,Information,Timeout,протокол,мрежа,информације,прекорачење времена
-Keywords[sr@Latn]=Protocol,IO slaves,Slaves,Network,Information,Timeout,protokol,mreža,informacije,prekoračenje vremena
-Keywords[sv]=Protokoll,I/O-slavar,Slavar,Nätverk,Information,Timeout,Tidsgräns
-Keywords[ta]=நெறிமுறை,IO சேவகன்,சேவகன்கள்,வலைப்பின்னல்,தகவல்,நேரம் முடிந்தது
-Keywords[th]=โปรโตคอล,IO slaves,Slaves,ระบบเครือข่าย,ข้อมูล,หมดเวลา
-Keywords[tr]=protokol,G/Ç aracısı,aracı,Ağ,Bilgi,zaman aşımı
-Keywords[uk]=протокол,підлеглі В/В,підлеглі,мережа,інформація,тайм-аут
-Keywords[uz]=Protokol,KCH-sleyvlar,Sleyvlar,Tarmoq,Maʼlumot,Taymaut
-Keywords[uz@cyrillic]=Протокол,КЧ-слейвлар,Слейвлар,Тармоқ,Маълумот,Таймаут
-Keywords[ven]=Purotokolo,dziphuli dza IO,Dziphuli,Vhudavhidzani,mafhungo,u fhela ha tshifhinga
-Keywords[vi]=Giao thức,Đầy tớ Vào ra (VR),Đầy tớ,Mạng,Thông tin,Hạn định thời gian
-Keywords[wa]=Protocole,IO slaves,Slaves,rantoele,Informåcion,Timeout
-Keywords[xh]=Imithetho elandelwayo,IO izicaka,Izicaka,Umsebenzi womtya,Ulwazi, Ixesha lokuphuma
-Keywords[zh_CN]=Protocol,IO slaves,Slaves,Network,Information,Timeout,协议,网络,信息,超时
-Keywords[zh_TW]=Protocol,IO slaves,Slaves,Network,Information,Timeout,協定,網路,資訊,作業逾時
-Keywords[zu]=Umthetho olandelwayo,IO slaves,Izigqila,Uxhumano olusakazekile, Ulwazi,Isikhathi sokuphuma
-Name=Protocols
-Name[af]=Protokolle
-Name[ar]=الموافيق
-Name[az]=Protokollar
-Name[be]=Пратаколы
-Name[bg]=Протоколи
-Name[bn]=প্রোটোকল
-Name[br]=Komenadoù
-Name[bs]=Protokoli
-Name[cs]=Protokoly
-Name[csb]=Protokòłë
-Name[cy]=Protocolau
-Name[da]=Protokoller
-Name[de]=Ein-/Ausgabemodule
-Name[el]=Πρωτόκολλα
-Name[eo]=Protokoloj
-Name[es]=Protocolos
-Name[et]=IO moodulid
-Name[eu]=Protokoloak
-Name[fa]=قراردادها
-Name[fi]=Yhteyskäytännöt
-Name[fr]=Protocoles
-Name[fy]=Protokollen
-Name[ga]=Prótacail
-Name[gl]=Protocolos
-Name[he]=פרוטוקולים
-Name[hi]=प्रोटोकॉल्स
-Name[hr]=Protokoli
-Name[hu]=Protokollok
-Name[id]=Protokol
-Name[is]=Samskiptareglur
-Name[it]=Protocolli
-Name[ja]=プロトコル
-Name[ka]=პროტოკოლები
-Name[kk]=Протоколдар
-Name[km]=ពិធីការ
-Name[ko]=프로토콜
-Name[lo]=ໂປຣໂຕຄອລ
-Name[lt]=Protokolai
-Name[lv]=Protokoli
-Name[mk]=Протоколи
-Name[mn]=Оролт/Гаралт-модул
-Name[ms]=Protokol
-Name[mt]=Protokolli
-Name[nb]=Protokoller
-Name[nds]=Protokollen
-Name[ne]=प्रोटोकल
-Name[nl]=Protocollen
-Name[nn]=Protokollar
-Name[nso]=Melao
-Name[pa]=ਪਰੋਟੋਕਾਲ
-Name[pl]=Protokoły
-Name[pt]=Protocolos
-Name[pt_BR]=Protocolos
-Name[ro]=Protocoale
-Name[ru]=Протоколы
-Name[rw]=Amaporotocole
-Name[se]=Protokollat
-Name[sk]=Protokoly
-Name[sl]=Protokoli
-Name[sr]=Протоколи
-Name[sr@Latn]=Protokoli
-Name[ss]=Imitsetfo yekutfumela
-Name[sv]=Protokoll
-Name[ta]=நெறிமுறைகள்
-Name[te]=ప్రొటొకాల్లు
-Name[tg]=Қарордодҳо
-Name[th]=โปรโตคอล
-Name[tr]=Protokoller
-Name[tt]=Protokollar
-Name[uk]=Протоколи
-Name[uz]=Protokollar
-Name[uz@cyrillic]=Протоколлар
-Name[ven]=Purotokolo
-Name[vi]=Giao thức
-Name[wa]=Protocoles
-Name[xh]=Umthetho olandelwayo
-Name[zh_CN]=协议
-Name[zh_TW]=協定
-Name[zu]=Imithetho elandelwayo
-SwallowExec=
-SwallowTitle=
-Terminal=false
-Type=Application
-X-TDE-FactoryName=ioslaveinfo
-X-TDE-Library=ioslaveinfo
-
-X-TDE-ParentApp=kcontrol
-
-Categories=Qt;TDE;X-TDE-settings-network;
diff --git a/kcontrol/ioslaveinfo/kcmioslaveinfo.cpp b/kcontrol/ioslaveinfo/kcmioslaveinfo.cpp
deleted file mode 100644
index e1cdc10d2..000000000
--- a/kcontrol/ioslaveinfo/kcmioslaveinfo.cpp
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
- * kcmioslaveinfo.cpp
- *
- * Copyright 2001 Alexander Neundorf <neundorf@kde.org>
- * Copyright 2001 George Staikos <staikos@kde.org>
- *
- * Requires the Qt widget libraries, available at no cost at
- * http://www.troll.no/
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#include <tqfile.h>
-#include <tqhbox.h>
-#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqspinbox.h>
-#include <tqtabwidget.h>
-#include <tqtextcodec.h>
-#include <tqvbox.h>
-#include <tqwhatsthis.h>
-
-#include <tdeconfig.h>
-#include <kdebug.h>
-#include <kdialog.h>
-#include <kgenericfactory.h>
-#include <tdeglobal.h>
-#include <kiconloader.h>
-#include <tdeio/job.h>
-#include <tdelocale.h>
-#include <kprotocolinfo.h>
-#include <kstandarddirs.h>
-
-#include "kcmioslaveinfo.h"
-
-typedef KGenericFactory<KCMIOSlaveInfo, TQWidget> SlaveFactory;
-K_EXPORT_COMPONENT_FACTORY( kcm_ioslaveinfo, SlaveFactory("kcmioslaveinfo") )
-
-KCMIOSlaveInfo::KCMIOSlaveInfo(TQWidget *parent, const char *name, const TQStringList &)
- :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( TDECModule::Help );
-
- TQLabel* label=new TQLabel(i18n("Available IO slaves:"),this);
- TQHBox *hbox=new TQHBox(this);
- m_ioslavesLb=new TDEListBox(hbox);
- m_ioslavesLb->setMinimumSize(fontMetrics().width("blahfaselwhatever----"),10);
- connect( m_ioslavesLb, TQT_SIGNAL( selectionChanged( TQListBoxItem * ) ), TQT_SLOT( showInfo( TQListBoxItem * ) ) );
- //TODO make something useful after 2.1 is released
- m_info=new KTextBrowser(hbox);
- hbox->setSpacing(KDialog::spacingHint());
-
- layout->addWidget(label);
- layout->addWidget(hbox);
- hbox->setStretchFactor(m_ioslavesLb,1);
- hbox->setStretchFactor(m_info,5);
-
- TQStringList protocols=KProtocolInfo::protocols();
- for (TQStringList::Iterator it=protocols.begin(); it!=protocols.end(); ++it)
- {
- TQString proto = *it;
- m_ioslavesLb->insertItem( SmallIcon( KProtocolInfo::icon( proto )),
- proto );
- };
- m_ioslavesLb->sort();
- m_ioslavesLb->setSelected(0, true);
-
- setButtons(TDECModule::Help);
-
- TDEAboutData *about =
- new TDEAboutData(I18N_NOOP("kcmioslaveinfo"),
- I18N_NOOP("TDE Panel System Information Control Module"),
- 0, 0, TDEAboutData::License_GPL,
- I18N_NOOP("(c) 2001 - 2002 Alexander Neundorf"));
-
- about->addAuthor("Alexander Neundorf", 0, "neundorf@kde.org");
- about->addAuthor("George Staikos", 0, "staikos@kde.org");
- setAboutData( about );
-
-}
-
-void KCMIOSlaveInfo::slaveHelp( TDEIO::Job *, const TQByteArray &data)
-{
- if ( data.size() == 0 ) { // EOF
- int index = helpData.find( "<meta http-equiv=\"Content-Type\"" );
- index = helpData.find( "charset=", index ) + 8;
- TQString charset = helpData.mid( index, helpData.find( '\"', index ) - index );
- TQString text = TQTextCodec::codecForName(charset.latin1())->toUnicode( helpData );
- index = text.find( "<div class=\"titlepage\">" );
- text = text.mid( index );
- index = text.find( "<table width=\"100%\" class=\"bottom-nav\"" );
- text = text.left( index );
- m_info->setText(text);
- return;
- }
- helpData += data;
-}
-
-void KCMIOSlaveInfo::slotResult(TDEIO::Job *)
-{
- m_tfj = 0;
-}
-
-void KCMIOSlaveInfo::showInfo(const TQString& protocol)
-{
- TQString file = TQString("tdeioslave/%1/index.docbook").arg( protocol );
- file = TDEGlobal::locale()->langLookup( file );
- if (m_tfj)
- {
- m_tfj->kill();
- m_tfj = 0;
- }
-
- if (!file.isEmpty())
- {
- helpData.truncate( 0 );
- m_tfj = TDEIO::get( KURL( TQString("help:/tdeioslave/%1/index.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;
- }
- else if (file.isEmpty())
- {
- helpData.truncate( 0 );
- m_tfj = TDEIO::get( KURL( TQString("help:/khelpcenter/helpnotfound/index.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;
- }
- else
- {
- m_info->setText(i18n("There is no documentation available for %1:/ ...").arg(protocol));
- }
-}
-
-void KCMIOSlaveInfo::showInfo(TQListBoxItem *item)
-{
- if (item==0)
- return;
- showInfo( item->text() );
-}
-
-#include "kcmioslaveinfo.moc"
-
diff --git a/kcontrol/ioslaveinfo/kcmioslaveinfo.h b/kcontrol/ioslaveinfo/kcmioslaveinfo.h
deleted file mode 100644
index e233b9463..000000000
--- a/kcontrol/ioslaveinfo/kcmioslaveinfo.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * kcmioslaveinfo.h
- *
- * Copyright 2001 Alexander Neundorf <alexander.neundorf@rz.tu-ilmenau.de>
- * Copyright 2001 George Staikos <staikos@kde.org>
- *
- * Requires the Qt widget libraries, available at no cost at
- * http://www.troll.no/
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-#ifndef kcmioslaveinfo_h_included
-#define kcmioslaveinfo_h_included
-
-#include <tqlistbox.h>
-#include <tqstring.h>
-
-#include <tdeaboutdata.h>
-#include <tdecmodule.h>
-#include <tdeio/job.h>
-#include <tdelistbox.h>
-#include <ktextbrowser.h>
-
-class KIOTimeoutControl;
-class TQTabWidget;
-class TQSpinBox;
-class TDEConfig;
-
-class KCMIOSlaveInfo : public TDECModule
-{
- Q_OBJECT
-public:
- KCMIOSlaveInfo(TQWidget *parent = 0L, const char *name = 0L, const TQStringList &lits=TQStringList() );
-
-protected:
- TDEListBox *m_ioslavesLb;
- KTextBrowser *m_info;
- TQCString helpData;
- TDEIO::Job *m_tfj;
-
-protected slots:
-
- void showInfo(const TQString& protocol);
- void showInfo(TQListBoxItem *item);
- void slaveHelp( TDEIO::Job *, const TQByteArray &data);
- void slotResult( TDEIO::Job * );
-
-};
-#endif
diff --git a/kcontrol/ioslaveinfo/uninstall.desktop b/kcontrol/ioslaveinfo/uninstall.desktop
deleted file mode 100644
index e1e3e1732..000000000
--- a/kcontrol/ioslaveinfo/uninstall.desktop
+++ /dev/null
@@ -1,2 +0,0 @@
-[Desktop Entry]
-Hidden=true