1
1
// (c) Torben Weis 1998
2
2
// (c) David Faure 1998
4
* main.cpp for lisa,reslisa,kio_lan and kio_rlan kcm module
4
* main.cpp for creating the konqueror kio kcm modules
6
* Copyright (C) 2000,2001 Alexander Neundorf <neundorf@kde.org>
6
* Copyright (C) 2000,2001,2009 Alexander Neundorf <neundorf@kde.org>
8
8
* This program is free software; you can redistribute it and/or modify
9
9
* it under the terms of the GNU General Public License as published by
57
53
K_EXPORT_PLUGIN(KioConfigFactory("kcmkio"))
59
LanBrowser::LanBrowser(QWidget *parent, const QVariantList &)
60
: KCModule(KioConfigFactory::componentData(), parent)
64
setQuickHelp( i18n("<h1>Local Network Browsing</h1>Here you setup your "
65
"<b>\"Network Neighborhood\"</b>. You "
66
"can use either the LISa daemon and the lan:/ ioslave, or the "
67
"ResLISa daemon and the rlan:/ ioslave.<br /><br />"
68
"About the <b>LAN ioslave</b> configuration:<br /> If you select it, the "
69
"ioslave, <i>if available</i>, will check whether the host "
70
"supports this service when you open this host. Please note "
71
"that paranoid people might consider even this to be an attack.<br />"
72
"<i>Always</i> means that you will always see the links for the "
73
"services, regardless of whether they are actually offered by the host. "
74
"<i>Never</i> means that you will never have the links to the services. "
75
"In both cases you will not contact the host, so nobody will ever regard "
76
"you as an attacker.<br /><br />More information about <b>LISa</b> "
77
"can be found at <a href=\"http://lisa-home.sourceforge.net\">"
78
"the LISa Homepage</a> or contact Alexander Neundorf "
79
"<<a href=\"mailto:neundorf@kde.org\">neundorf@kde.org</a>>."));
82
layout.addWidget(&tabs);
84
smbPage = new SMBRoOptions(&tabs, QVariantList(), componentData());
85
tabs.addTab(smbPage, i18n("&Windows Shares"));
86
connect(smbPage,SIGNAL(changed(bool)), SIGNAL( changed(bool) ));
88
lisaPage = KCModuleLoader::loadModule("kcmlisa", KCModuleLoader::None,&tabs);
91
tabs.addTab(lisaPage,i18n("&LISa Daemon"));
92
connect(lisaPage,SIGNAL(changed()), SLOT( changed() ));
95
// resLisaPage = KCModuleLoader::loadModule("kcmreslisa", KCModuleLoader::None,&tabs);
98
// tabs.addTab(resLisaPage,i18n("R&esLISa Daemon"));
99
// connect(resLisaPage,SIGNAL(changed()), SLOT( changed() ));
102
kioLanPage = KCModuleLoader::loadModule("kcmkiolan", KCModuleLoader::None, &tabs);
105
tabs.addTab(kioLanPage,i18n("lan:/ Iosla&ve"));
106
connect(kioLanPage,SIGNAL(changed()), SLOT( changed() ));
109
setButtons(Apply|Help);
112
void LanBrowser::load()
118
// resLisaPage->load();
124
void LanBrowser::save()
128
// resLisaPage->save();