mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-20 08:51:24 +00:00
removing the name argument everywhere
svn path=/trunk/kdebase/kcontrol/kio/; revision=187833
This commit is contained in:
parent
0efca6106b
commit
f0c9b36da6
|
@ -44,13 +44,13 @@ KCookiesMain::KCookiesMain(QWidget *parent, const char *name)
|
|||
tab = new QTabWidget(this);
|
||||
layout->addWidget(tab);
|
||||
|
||||
policies = new KCookiesPolicies(this, "cookies_policies");
|
||||
policies = new KCookiesPolicies(this);
|
||||
tab->addTab(policies, i18n("&Policy"));
|
||||
connect(policies, SIGNAL(changed(bool)), this, SLOT(moduleChanged()));
|
||||
|
||||
if(managerOK)
|
||||
{
|
||||
management = new KCookiesManagement(this, "cookies_management");
|
||||
management = new KCookiesManagement(this);
|
||||
tab->addTab(management, i18n("&Management"));
|
||||
connect(management, SIGNAL(changed(bool)), this, SLOT(moduleChanged()));
|
||||
}
|
||||
|
|
|
@ -90,8 +90,8 @@ QString CookieListViewItem::text(int f) const
|
|||
return f == 0 ? mDomain : QString::null;
|
||||
}
|
||||
|
||||
KCookiesManagement::KCookiesManagement(QWidget *parent, const char *name)
|
||||
: KCModule(parent, name)
|
||||
KCookiesManagement::KCookiesManagement(QWidget *parent)
|
||||
: KCModule(parent, "kcmkio")
|
||||
{
|
||||
// Toplevel layout
|
||||
QVBoxLayout *layout = new QVBoxLayout( this, 2*KDialog::marginHint(),
|
||||
|
|
|
@ -64,7 +64,7 @@ class KCookiesManagement : public KCModule
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
KCookiesManagement(QWidget *parent = 0L, const char *name = 0L);
|
||||
KCookiesManagement(QWidget *parent = 0 );
|
||||
~KCookiesManagement();
|
||||
|
||||
virtual void load();
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
#include "ksaveioconfig.h"
|
||||
#include "kcookiespolicies.h"
|
||||
|
||||
KCookiesPolicies::KCookiesPolicies(QWidget *parent, const char *name)
|
||||
:KCModule(parent, name)
|
||||
KCookiesPolicies::KCookiesPolicies(QWidget *parent)
|
||||
:KCModule(parent, "kcmkio")
|
||||
{
|
||||
QVBoxLayout *mainLayout = new QVBoxLayout( this, KDialog::marginHint(),
|
||||
KDialog::spacingHint() );
|
||||
|
@ -57,12 +57,12 @@ KCookiesPolicies::KCookiesPolicies(QWidget *parent, const char *name)
|
|||
QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding,
|
||||
QSizePolicy::Minimum );
|
||||
hlay->addItem( spacer );
|
||||
|
||||
|
||||
m_bgPreferences = new QVButtonGroup( this );
|
||||
m_cbRejectCrossDomainCookies = new QCheckBox ( i18n("Only accept cookies from "
|
||||
"originating server"),
|
||||
m_bgPreferences );
|
||||
QWhatsThis::add( m_cbRejectCrossDomainCookies,
|
||||
"originating server"),
|
||||
m_bgPreferences );
|
||||
QWhatsThis::add( m_cbRejectCrossDomainCookies,
|
||||
i18n("Check this option to reject all cookies that "
|
||||
"originate from sites other than the one you "
|
||||
"requested. If you, for example, visit www.foobar.com "
|
||||
|
@ -72,11 +72,11 @@ KCookiesPolicies::KCookiesPolicies(QWidget *parent, const char *name)
|
|||
"rejected. This reduces the chances of site operators "
|
||||
"compiling a profile about your daily browsing habits.") );
|
||||
m_bgPreferences->insert( m_cbRejectCrossDomainCookies );
|
||||
|
||||
|
||||
m_cbAutoAcceptSessionCookies = new QCheckBox ( i18n("Automatically accept "
|
||||
"session cookies"),
|
||||
m_bgPreferences );
|
||||
QWhatsThis::add( m_cbAutoAcceptSessionCookies,
|
||||
QWhatsThis::add( m_cbAutoAcceptSessionCookies,
|
||||
i18n("Check this option to automatically accept temporary "
|
||||
"cookies meant to expire at the end of the current "
|
||||
"session. Such cookies will not be stored in your "
|
||||
|
@ -89,11 +89,11 @@ KCookiesPolicies::KCookiesPolicies(QWidget *parent, const char *name)
|
|||
"increases your privacy since all cookies will be "
|
||||
"removed when the current session ends.") );
|
||||
m_bgPreferences->insert( m_cbAutoAcceptSessionCookies );
|
||||
|
||||
|
||||
m_cbIgnoreCookieExpirationDate = new QCheckBox ( i18n("Treat all cookies as "
|
||||
"session cookies"),
|
||||
m_bgPreferences );
|
||||
QWhatsThis::add( m_cbIgnoreCookieExpirationDate,
|
||||
QWhatsThis::add( m_cbIgnoreCookieExpirationDate,
|
||||
i18n("Check this option to treat all cookies as "
|
||||
"session cookies. Session cookies are small "
|
||||
"pieces of data that are temporarily stored "
|
||||
|
@ -109,9 +109,9 @@ KCookiesPolicies::KCookiesPolicies(QWidget *parent, const char *name)
|
|||
"will be removed when the current session ends.") );
|
||||
m_bgPreferences->insert( m_cbAutoAcceptSessionCookies );
|
||||
mainLayout->addWidget( m_bgPreferences );
|
||||
|
||||
|
||||
m_bgDefault = new QVButtonGroup( i18n("Default Policy"), this );
|
||||
QWhatsThis::add( m_bgDefault,
|
||||
QWhatsThis::add( m_bgDefault,
|
||||
i18n("The default policy determines how cookies received "
|
||||
"from a remote machine, which is not associated with "
|
||||
"a specific policy (see below), will be handled: "
|
||||
|
@ -247,16 +247,16 @@ void KCookiesPolicies::ignoreCookieExpirationDate ( bool enable )
|
|||
{
|
||||
bool isAutoAcceptChecked = m_cbAutoAcceptSessionCookies->isChecked();
|
||||
enable = (enable && isAutoAcceptChecked);
|
||||
|
||||
|
||||
m_bgDefault->setEnabled( !enable );
|
||||
m_gbDomainSpecific->setEnabled( !enable );
|
||||
m_gbDomainSpecific->setEnabled( !enable );
|
||||
}
|
||||
|
||||
void KCookiesPolicies::autoAcceptSessionCookies ( bool enable )
|
||||
{
|
||||
bool isIgnoreExpirationChecked = m_cbIgnoreCookieExpirationDate->isChecked();
|
||||
enable = (enable && isIgnoreExpirationChecked);
|
||||
|
||||
|
||||
m_bgDefault->setEnabled( !enable );
|
||||
m_gbDomainSpecific->setEnabled( !enable );
|
||||
}
|
||||
|
@ -359,7 +359,7 @@ void KCookiesPolicies::deletePressed()
|
|||
{
|
||||
QListViewItem* nextItem = 0L;
|
||||
QListViewItem* item = m_lvDomainPolicy->firstChild ();
|
||||
|
||||
|
||||
while (item != 0L)
|
||||
{
|
||||
if (m_lvDomainPolicy->isSelected (item))
|
||||
|
@ -432,9 +432,9 @@ void KCookiesPolicies::updateDomainList(const QStringList &domainConfig)
|
|||
void KCookiesPolicies::selectionChanged ()
|
||||
{
|
||||
QListViewItem* item = m_lvDomainPolicy->firstChild ();
|
||||
|
||||
|
||||
d_itemsSelected = 0;
|
||||
|
||||
|
||||
while (item != 0L)
|
||||
{
|
||||
if (m_lvDomainPolicy->isSelected (item))
|
||||
|
@ -451,13 +451,13 @@ void KCookiesPolicies::load()
|
|||
|
||||
KConfig *cfg = new KConfig ("kcookiejarrc");
|
||||
cfg->setGroup ("Cookie Policy");
|
||||
|
||||
|
||||
bool enableCookies = cfg->readBoolEntry("Cookies", true);
|
||||
m_cbEnableCookies->setChecked (enableCookies);
|
||||
cookiesEnabled( enableCookies );
|
||||
|
||||
m_cbEnableCookies->setChecked (enableCookies);
|
||||
cookiesEnabled( enableCookies );
|
||||
|
||||
KCookieAdvice::Value advice = KCookieAdvice::strToAdvice (cfg->readEntry(
|
||||
"CookieGlobalAdvice", "Ask"));
|
||||
"CookieGlobalAdvice", "Ask"));
|
||||
switch (advice)
|
||||
{
|
||||
case KCookieAdvice::Accept:
|
||||
|
@ -471,15 +471,15 @@ void KCookiesPolicies::load()
|
|||
default:
|
||||
m_rbPolicyAsk->setChecked (true);
|
||||
}
|
||||
|
||||
|
||||
bool enable = cfg->readBoolEntry("RejectCrossDomainCookies", true);
|
||||
m_cbRejectCrossDomainCookies->setChecked (enable);
|
||||
|
||||
|
||||
bool sessionCookies = cfg->readBoolEntry("AcceptSessionCookies", true);
|
||||
m_cbAutoAcceptSessionCookies->setChecked (sessionCookies);
|
||||
bool cookieExpiration = cfg->readBoolEntry("IgnoreExpirationDate", false);
|
||||
m_cbIgnoreCookieExpirationDate->setChecked (cookieExpiration);
|
||||
|
||||
|
||||
if (enableCookies)
|
||||
{
|
||||
ignoreCookieExpirationDate( cookieExpiration );
|
||||
|
@ -487,14 +487,14 @@ void KCookiesPolicies::load()
|
|||
updateDomainList(cfg->readListEntry("CookieDomainAdvice"));
|
||||
updateButtons();
|
||||
}
|
||||
|
||||
|
||||
delete cfg;
|
||||
|
||||
|
||||
// Connect the main swicth :) Enable/disable cookie support
|
||||
connect( m_cbEnableCookies, SIGNAL( toggled(bool) ),
|
||||
SLOT( cookiesEnabled(bool) ) );
|
||||
connect( m_cbEnableCookies, SIGNAL( toggled(bool) ),
|
||||
SLOT( cookiesEnabled(bool) ) );
|
||||
connect( m_cbEnableCookies, SIGNAL( clicked() ), SLOT( emitChanged() ) );
|
||||
|
||||
|
||||
// Connect the preference check boxes...
|
||||
connect( m_cbRejectCrossDomainCookies, SIGNAL( clicked() ),
|
||||
SLOT( emitChanged() ) );
|
||||
|
@ -503,10 +503,10 @@ void KCookiesPolicies::load()
|
|||
connect( m_cbIgnoreCookieExpirationDate, SIGNAL( clicked() ),
|
||||
SLOT( emitChanged() ) );
|
||||
connect ( m_cbAutoAcceptSessionCookies, SIGNAL(toggled(bool)),
|
||||
SLOT(autoAcceptSessionCookies(bool)));
|
||||
SLOT(autoAcceptSessionCookies(bool)));
|
||||
connect ( m_cbIgnoreCookieExpirationDate, SIGNAL(toggled(bool)),
|
||||
SLOT(ignoreCookieExpirationDate(bool)));
|
||||
|
||||
|
||||
// Connect the default cookie policy radio buttons...
|
||||
connect(m_bgDefault, SIGNAL(clicked(int)), SLOT(emitChanged()));
|
||||
|
||||
|
@ -516,11 +516,11 @@ void KCookiesPolicies::load()
|
|||
connect( m_lvDomainPolicy, SIGNAL(doubleClicked (QListViewItem *)),
|
||||
SLOT(changePressed() ) );
|
||||
connect( m_lvDomainPolicy, SIGNAL(returnPressed ( QListViewItem * )),
|
||||
SLOT(changePressed() ) );
|
||||
SLOT(changePressed() ) );
|
||||
}
|
||||
|
||||
void KCookiesPolicies::save()
|
||||
{
|
||||
{
|
||||
QString advice;
|
||||
QStringList domainConfig;
|
||||
|
||||
|
@ -535,7 +535,7 @@ void KCookiesPolicies::save()
|
|||
cfg->writeEntry( "AcceptSessionCookies", state );
|
||||
state = m_cbIgnoreCookieExpirationDate->isChecked();
|
||||
cfg->writeEntry( "IgnoreExpirationDate", state );
|
||||
|
||||
|
||||
|
||||
if (m_rbPolicyAccept->isChecked())
|
||||
advice = KCookieAdvice::adviceToStr(KCookieAdvice::Accept);
|
||||
|
@ -577,9 +577,9 @@ void KCookiesPolicies::save()
|
|||
}
|
||||
}
|
||||
delete m_dcopClient;
|
||||
|
||||
KSaveIOConfig::updateRunningIOSlaves (this);
|
||||
|
||||
|
||||
KSaveIOConfig::updateRunningIOSlaves (this);
|
||||
|
||||
emit changed( false );
|
||||
}
|
||||
|
||||
|
@ -594,7 +594,7 @@ void KCookiesPolicies::defaults()
|
|||
m_cbAutoAcceptSessionCookies->setChecked( true );
|
||||
m_cbIgnoreCookieExpirationDate->setChecked( false );
|
||||
m_lvDomainPolicy->clear();
|
||||
|
||||
|
||||
cookiesEnabled( m_cbEnableCookies->isChecked() );
|
||||
updateButtons();
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ class KCookiesPolicies : public KCModule
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
KCookiesPolicies(QWidget *parent = 0L, const char *name = 0L);
|
||||
KCookiesPolicies(QWidget *parent = 0);
|
||||
~KCookiesPolicies();
|
||||
|
||||
virtual void load();
|
||||
|
|
|
@ -42,15 +42,15 @@
|
|||
#include "socks.h"
|
||||
#include "kproxydlg.h"
|
||||
|
||||
KProxyOptions::KProxyOptions (QWidget* parent, const char* name)
|
||||
:KCModule (parent, name)
|
||||
KProxyOptions::KProxyOptions (QWidget* parent )
|
||||
:KCModule (parent, "kcmkio")
|
||||
{
|
||||
QVBoxLayout *layout = new QVBoxLayout(this);
|
||||
QTabWidget *tab = new QTabWidget(this);
|
||||
layout->addWidget(tab);
|
||||
|
||||
proxy = new KProxyDialog(tab, "proxydlg");
|
||||
socks = new KSocksConfig(tab, "socks_config");
|
||||
proxy = new KProxyDialog(tab);
|
||||
socks = new KSocksConfig(tab);
|
||||
|
||||
tab->addTab(proxy, i18n("&Proxy"));
|
||||
tab->addTab(socks, i18n("&SOCKS"));
|
||||
|
@ -97,7 +97,7 @@ QString KProxyOptions::quickHelp() const
|
|||
}
|
||||
|
||||
|
||||
KProxyDialog::KProxyDialog( QWidget* parent, const char* name )
|
||||
KProxyDialog::KProxyDialog( QWidget* parent)
|
||||
:KCModule( parent, "kcmkio" )
|
||||
{
|
||||
QVBoxLayout* mainLayout = new QVBoxLayout( this,
|
||||
|
@ -343,9 +343,9 @@ KProxyDialog::~KProxyDialog()
|
|||
void KProxyDialog::load()
|
||||
{
|
||||
m_data = new KProxyData;
|
||||
|
||||
|
||||
KProtocolManager proto;
|
||||
bool useProxy = proto.useProxy();
|
||||
bool useProxy = proto.useProxy();
|
||||
m_data->type = proto.proxyType();
|
||||
m_data->httpProxy = proto.proxyFor( "http" );
|
||||
m_data->httpsProxy = proto.proxyFor( "https" );
|
||||
|
@ -354,14 +354,14 @@ void KProxyDialog::load()
|
|||
m_data->useReverseProxy = proto.useReverseProxy();
|
||||
m_data->noProxyFor = QStringList::split( QRegExp("[',''\t'' ']"),
|
||||
proto.noProxyFor() );
|
||||
|
||||
|
||||
m_cbUseProxy->setChecked( useProxy );
|
||||
m_gbConfigure->setEnabled( useProxy );
|
||||
m_gbAuth->setEnabled( useProxy );
|
||||
|
||||
|
||||
if ( !m_data->scriptProxy.isEmpty() )
|
||||
m_location->lineEdit()->setText( m_data->scriptProxy );
|
||||
|
||||
|
||||
switch ( m_data->type )
|
||||
{
|
||||
case KProtocolManager::WPADProxy:
|
||||
|
@ -379,7 +379,7 @@ void KProxyDialog::load()
|
|||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
switch( proto.proxyAuthMode() )
|
||||
{
|
||||
case KProtocolManager::Prompt:
|
||||
|
|
|
@ -40,7 +40,7 @@ class KProxyOptions : public KCModule
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
KProxyOptions( QWidget* parent = 0, const char* name = 0 );
|
||||
KProxyOptions( QWidget* parent = 0 );
|
||||
~KProxyOptions();
|
||||
|
||||
virtual void load();
|
||||
|
@ -59,7 +59,7 @@ class KProxyDialog : public KCModule
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
KProxyDialog( QWidget* parent = 0, const char* name = 0 );
|
||||
KProxyDialog( QWidget* parent = 0 );
|
||||
~KProxyDialog();
|
||||
|
||||
virtual void load();
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
#endif
|
||||
|
||||
|
||||
KSMBOptions::KSMBOptions(QWidget *parent, const char *name)
|
||||
: KCModule(parent, name)
|
||||
KSMBOptions::KSMBOptions(QWidget *parent, const char *)
|
||||
: KCModule(parent, "kcmkio")
|
||||
{
|
||||
QGridLayout *topLayout = new QGridLayout(this,1,1,10,0,"smbOptTopLayout");
|
||||
labelInfo1 = new QLabel(i18n("Note: kio_smb is a SMB client only. The server, if any, cannot be configured from here."), this);
|
||||
|
|
|
@ -19,7 +19,7 @@ class KSMBOptions : public KCModule
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
KSMBOptions(QWidget *parent = 0L, const char *name = 0L);
|
||||
KSMBOptions(QWidget *parent = 0);
|
||||
~KSMBOptions();
|
||||
|
||||
virtual void load();
|
||||
|
|
|
@ -42,38 +42,37 @@ extern "C"
|
|||
|
||||
KCModule *create_cookie(QWidget *parent, const char /**name*/)
|
||||
{
|
||||
return new KCookiesMain(parent, "kcmkio");
|
||||
return new KCookiesMain(parent);
|
||||
};
|
||||
|
||||
KCModule *create_smb(QWidget *parent, const char /**name*/)
|
||||
{
|
||||
return new SMBRoOptions(parent, "kcmkio");
|
||||
//return new KSMBOptions(parent, name);
|
||||
return new SMBRoOptions(parent);
|
||||
};
|
||||
|
||||
KCModule *create_useragent(QWidget *parent, const char /**name*/)
|
||||
{
|
||||
return new UserAgentOptions(parent, "kcmkio");
|
||||
return new UserAgentOptions(parent);
|
||||
};
|
||||
|
||||
KCModule *create_proxy(QWidget *parent, const char /**name*/)
|
||||
{
|
||||
return new KProxyOptions(parent, "kcmkio");
|
||||
return new KProxyOptions(parent);
|
||||
};
|
||||
|
||||
KCModule *create_cache(QWidget *parent, const char /**name*/)
|
||||
{
|
||||
return new KCacheConfigDialog( parent, "kcmkio" );
|
||||
return new KCacheConfigDialog( parent );
|
||||
};
|
||||
|
||||
KCModule *create_netpref(QWidget *parent, const char /**name*/)
|
||||
{
|
||||
return new KIOPreferences(parent, "kcmkio");
|
||||
return new KIOPreferences(parent);
|
||||
};
|
||||
|
||||
|
||||
KCModule *create_lanbrowser(QWidget *parent, const char *)
|
||||
{
|
||||
return new LanBrowser(parent, "kcmlanbrowser");
|
||||
return new LanBrowser(parent);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -101,11 +100,11 @@ static KCModule *load(QWidget *parent, const QString &libname, const QString &li
|
|||
return module;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// get the create_ function
|
||||
QString factory("create_%1");
|
||||
void *create = lib->symbol(QFile::encodeName(factory.arg(handle)));
|
||||
|
||||
|
||||
if (create)
|
||||
{
|
||||
// create the module
|
||||
|
@ -125,7 +124,7 @@ static KCModule *loadModule(QWidget *parent, const QString &module)
|
|||
if (!service)
|
||||
return 0;
|
||||
QString library = service->library();
|
||||
|
||||
|
||||
if (library.isEmpty())
|
||||
return 0;
|
||||
|
||||
|
@ -141,8 +140,8 @@ static KCModule *loadModule(QWidget *parent, const QString &module)
|
|||
|
||||
|
||||
|
||||
LanBrowser::LanBrowser(QWidget *parent, const char* name)
|
||||
:KCModule(parent,name)
|
||||
LanBrowser::LanBrowser(QWidget *parent)
|
||||
:KCModule(parent,"kcmkio")
|
||||
,layout(this)
|
||||
,tabs(this)
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@ class LanBrowser:public KCModule
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
LanBrowser(QWidget *parent=0, const char * name=0);
|
||||
LanBrowser(QWidget *parent=0);
|
||||
virtual ~LanBrowser() {};
|
||||
virtual void load();
|
||||
virtual void save();
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#define MAX_TIMEOUT_VALUE 3600
|
||||
|
||||
KIOPreferences::KIOPreferences( QWidget* parent, const char* )
|
||||
KIOPreferences::KIOPreferences( QWidget* parent )
|
||||
:KCModule( parent, "kcmkio" )
|
||||
{
|
||||
QVBoxLayout* mainLayout = new QVBoxLayout( this, KDialog::marginHint(),
|
||||
|
@ -35,21 +35,21 @@ KIOPreferences::KIOPreferences( QWidget* parent, const char* )
|
|||
connect(sb_socketRead, SIGNAL(valueChanged ( int )),
|
||||
this, SLOT(timeoutChanged(int)));
|
||||
|
||||
sb_proxyConnect = new KIntNumInput( sb_socketRead, 0, gb_Timeout,
|
||||
sb_proxyConnect = new KIntNumInput( sb_socketRead, 0, gb_Timeout,
|
||||
10, "sb_proxyConnect" );
|
||||
sb_proxyConnect->setSuffix( i18n( " sec" ) );
|
||||
sb_proxyConnect->setLabel( i18n( "Pro&xy connect:" ), AlignVCenter);
|
||||
connect(sb_proxyConnect, SIGNAL(valueChanged ( int )),
|
||||
this, SLOT(timeoutChanged(int)));
|
||||
|
||||
sb_serverConnect = new KIntNumInput( sb_proxyConnect, 0, gb_Timeout,
|
||||
sb_serverConnect = new KIntNumInput( sb_proxyConnect, 0, gb_Timeout,
|
||||
10, "sb_serverConnect" );
|
||||
sb_serverConnect->setSuffix( i18n( " sec" ) );
|
||||
sb_serverConnect->setLabel( i18n("Server co&nnect:"), AlignVCenter);
|
||||
connect(sb_serverConnect, SIGNAL(valueChanged ( int )),
|
||||
this, SLOT(timeoutChanged(int)));
|
||||
|
||||
sb_serverResponse = new KIntNumInput( sb_serverConnect, 0, gb_Timeout,
|
||||
sb_serverResponse = new KIntNumInput( sb_serverConnect, 0, gb_Timeout,
|
||||
10, "sb_serverResponse" );
|
||||
sb_serverResponse->setSuffix( i18n( " sec" ) );
|
||||
sb_serverResponse->setLabel( i18n("Server &response:"), AlignVCenter);
|
||||
|
@ -109,10 +109,10 @@ void KIOPreferences::save()
|
|||
config.writeEntry( "DisablePassiveMode", !cb_ftpEnablePasv->isChecked() );
|
||||
config.writeEntry( "MarkPartial", cb_ftpMarkPartial->isChecked() );
|
||||
config.sync();
|
||||
|
||||
|
||||
KSaveIOConfig::updateRunningIOSlaves (this);
|
||||
|
||||
emit changed( false );
|
||||
|
||||
emit changed( false );
|
||||
}
|
||||
|
||||
void KIOPreferences::defaults()
|
||||
|
|
|
@ -17,7 +17,7 @@ class KIOPreferences : public KCModule
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
KIOPreferences( QWidget* parent = 0, const char* name = 0 );
|
||||
KIOPreferences( QWidget* parent = 0);
|
||||
~KIOPreferences();
|
||||
|
||||
void load();
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#endif
|
||||
|
||||
|
||||
SMBRoOptions::SMBRoOptions(QWidget *parent, const char *)
|
||||
SMBRoOptions::SMBRoOptions(QWidget *parent)
|
||||
: KCModule(parent, "kcmkio")
|
||||
{
|
||||
QGridLayout *layout = new QGridLayout(this,2,-1,10,10);
|
||||
|
|
|
@ -33,7 +33,7 @@ class SMBRoOptions : public KCModule
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
SMBRoOptions(QWidget *parent = 0L, const char *name = 0L);
|
||||
SMBRoOptions(QWidget *parent = 0);
|
||||
~SMBRoOptions();
|
||||
|
||||
virtual void load();
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include "socks.h"
|
||||
#include <kaboutdata.h>
|
||||
|
||||
KSocksConfig::KSocksConfig(QWidget *parent, const char *, const QStringList &)
|
||||
KSocksConfig::KSocksConfig(QWidget *parent)
|
||||
: KCModule(parent, "kcmkio")
|
||||
{
|
||||
|
||||
|
@ -269,14 +269,14 @@ QString KSocksConfig::quickHelp() const
|
|||
|
||||
const KAboutData* KSocksConfig::aboutData() const
|
||||
{
|
||||
|
||||
|
||||
KAboutData *about =
|
||||
new KAboutData(I18N_NOOP("kcmsocks"), I18N_NOOP("KDE SOCKS Control Module"),
|
||||
0, 0, KAboutData::License_GPL,
|
||||
I18N_NOOP("(c) 2001 George Staikos"));
|
||||
|
||||
|
||||
about->addAuthor("George Staikos", 0, "staikos@kde.org");
|
||||
|
||||
|
||||
return about;
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ class KSocksConfig : public KCModule
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
KSocksConfig(QWidget *parent = 0L, const char *name = 0L, const QStringList &list= QStringList() );
|
||||
KSocksConfig(QWidget *parent);
|
||||
virtual ~KSocksConfig();
|
||||
|
||||
SocksBase *base;
|
||||
|
|
|
@ -43,8 +43,8 @@
|
|||
#include "fakeuaprovider.h"
|
||||
#include "uagentproviderdlg.h"
|
||||
|
||||
UserAgentOptions::UserAgentOptions( QWidget * parent, const char * name )
|
||||
:KCModule( parent, name )
|
||||
UserAgentOptions::UserAgentOptions( QWidget * parent )
|
||||
:KCModule( parent, "kcmkio" )
|
||||
{
|
||||
QVBoxLayout *mainLayout = new QVBoxLayout( this, KDialog::marginHint(),
|
||||
KDialog::spacingHint() );
|
||||
|
|
|
@ -43,7 +43,7 @@ class UserAgentOptions : public KCModule
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
UserAgentOptions ( QWidget * parent = 0L, const char * name = 0L) ;
|
||||
UserAgentOptions ( QWidget * parent = 0) ;
|
||||
~UserAgentOptions();
|
||||
|
||||
virtual void load();
|
||||
|
|
Loading…
Reference in a new issue