Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>pull/18/head
parent
257301adc0
commit
b1d0b204e1
@ -1,15 +1,15 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Icon=configure
|
Icon=kicker
|
||||||
Type=Service
|
Type=Service
|
||||||
X-TDE-ServiceTypes=TDECModule
|
X-TDE-ServiceTypes=TDECModule
|
||||||
|
|
||||||
X-TDE-ModuleType=Library
|
X-TDE-ModuleType=Library
|
||||||
X-TDE-Library=weather
|
X-TDE-Library=weatherapplet
|
||||||
X-TDE-FactoryName=weather
|
X-TDE-FactoryName=weatherapplet
|
||||||
X-TDE-ParentApp=weather_panelapplet
|
X-TDE-ParentApp=weather_panelapplet
|
||||||
X-TDE-ParentComponents=weather_panelapplet
|
X-TDE-ParentComponents=weather_panelapplet
|
||||||
|
|
||||||
Name=Display
|
Name=Applet
|
||||||
Comment=Display Setup
|
Comment=Applet Config
|
||||||
Keywords=kweather; weather; configure; settings; display;
|
Keywords=kweather; weather; configure; settings; display; applet;
|
||||||
X-DocPath=kweather?anchor=configuring-kweather
|
X-DocPath=kweather?anchor=configuring-kweather
|
@ -1,72 +1,136 @@
|
|||||||
/*
|
/*
|
||||||
This file is part of KWeather.
|
This file is part of KWeather.
|
||||||
Copyright (c) 2003 Tobias Koenig <tokoe@kde.org>
|
Copyright (c) 2003 Tobias Koenig <tokoe@kde.org>
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
As a special exception, permission is given to link this program
|
|
||||||
with any edition of TQt, and distribute the resulting executable,
|
|
||||||
without including the source code for TQt in the source distribution.
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
As a special exception, permission is given to link this program
|
||||||
|
with any edition of TQt, and distribute the resulting executable,
|
||||||
|
without including the source code for TQt in the source distribution.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <tqbuttongroup.h>
|
||||||
|
#include <tqcheckbox.h>
|
||||||
|
#include <tqlabel.h>
|
||||||
#include <tqlayout.h>
|
#include <tqlayout.h>
|
||||||
|
|
||||||
#include <tdeaboutdata.h>
|
#include <tdeaboutdata.h>
|
||||||
|
#include <tdeapplication.h>
|
||||||
|
#include <tdeconfig.h>
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
#include <tdelocale.h>
|
#include <tdelocale.h>
|
||||||
|
#include <kurlrequester.h>
|
||||||
|
#include <kcombobox.h>
|
||||||
|
#include <kcolorbutton.h>
|
||||||
|
|
||||||
#include "serviceconfigwidget.h"
|
#include "dockwidget.h"
|
||||||
|
#include "serviceconfig.h"
|
||||||
|
|
||||||
#include "kcmweatherservice.h"
|
#include "kcmweatherservice.h"
|
||||||
|
#include "weatherservice_stub.h"
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
KDE_EXPORT TDECModule *create_weatherservice( TQWidget *parent, const char * ) {
|
KDE_EXPORT TDECModule *create_weatherservice( TQWidget *parent, const char * )
|
||||||
return new KCMWeatherService( parent, "kweather" );
|
{
|
||||||
}
|
return new KCMWeatherService( parent, "kweather" );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
KCMWeatherService::KCMWeatherService( TQWidget *parent, const char *name )
|
KCMWeatherService::KCMWeatherService( TQWidget *parent, const char *name )
|
||||||
: TDECModule( parent, name )
|
: TDECModule( parent, name )
|
||||||
{
|
{
|
||||||
TQVBoxLayout *layout = new TQVBoxLayout( this );
|
mWeatherService = new WeatherService_stub( "KWeatherService",
|
||||||
mWidget = new ServiceConfigWidget( this );
|
"WeatherService" );
|
||||||
|
TQVBoxLayout *layout = new TQVBoxLayout( this );
|
||||||
|
mWidget = new serviceConfig( this );
|
||||||
|
|
||||||
|
layout->addWidget( mWidget );
|
||||||
|
layout->addStretch();
|
||||||
|
|
||||||
|
load();
|
||||||
|
connect( mWidget->m_enableLog, TQT_SIGNAL( toggled( bool ) ),
|
||||||
|
TQT_SLOT( enableLogWidgets( bool ) ) );
|
||||||
|
connect( mWidget->m_iconTheme, TQT_SIGNAL( released( int ) ),
|
||||||
|
TQT_SLOT( changed() ) );
|
||||||
|
|
||||||
// not needed, as a change immediately changes the service
|
TDEAboutData *about = new TDEAboutData(
|
||||||
//connect(mWidget, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool)));
|
I18N_NOOP( "kcmweatherservice" ),
|
||||||
|
I18N_NOOP( "KWeather Configure Dialog" ),
|
||||||
|
0, 0, TDEAboutData::License_GPL,
|
||||||
|
I18N_NOOP( "(c), 2003 Tobias Koenig" ) );
|
||||||
|
|
||||||
|
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
|
||||||
|
setAboutData(about);
|
||||||
|
}
|
||||||
|
|
||||||
|
KCMWeatherService::~KCMWeatherService()
|
||||||
|
{
|
||||||
|
delete mWeatherService;
|
||||||
|
}
|
||||||
|
|
||||||
layout->addWidget( mWidget );
|
void KCMWeatherService::enableLogWidgets( bool value )
|
||||||
TDEAboutData *about = new TDEAboutData( "kcmweatherservice",
|
{
|
||||||
I18N_NOOP( "KWeather Configure Dialog" ),
|
mWidget->m_logFile->setEnabled( value );
|
||||||
0, 0, TDEAboutData::License_GPL,
|
mWidget->m_labelLogFile->setEnabled( value );
|
||||||
I18N_NOOP( "(c), 2003 Tobias Koenig" ) );
|
|
||||||
|
|
||||||
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
|
emit changed( true );
|
||||||
setAboutData(about);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void KCMWeatherService::load()
|
void KCMWeatherService::load()
|
||||||
{
|
{
|
||||||
|
kdDebug() << "Load" << endl;
|
||||||
|
TDEConfig config( "weather_panelappletrc" );
|
||||||
|
|
||||||
|
config.setGroup( "General Options" );
|
||||||
|
bool enabled = config.readBoolEntry( "logging", false );
|
||||||
|
mWidget->m_enableLog->setChecked( enabled );
|
||||||
|
enableLogWidgets( enabled );
|
||||||
|
|
||||||
|
mWidget->m_logFile->setURL( config.readPathEntry( "log_file_name" ) );
|
||||||
|
|
||||||
|
mWidget->m_iconTheme->setButton( config.readBoolEntry("use_icon_theme", true) ? 0 : 1 );
|
||||||
|
|
||||||
|
emit changed( false );
|
||||||
}
|
}
|
||||||
|
|
||||||
void KCMWeatherService::save()
|
void KCMWeatherService::save()
|
||||||
{
|
{
|
||||||
|
kdDebug() << "Save" << endl;
|
||||||
|
TDEConfig config( "weather_panelappletrc" );
|
||||||
|
|
||||||
|
config.setGroup( "General Options" );
|
||||||
|
config.writeEntry( "logging", mWidget->m_enableLog->isChecked() );
|
||||||
|
config.writeEntry( "log_file_name", mWidget->m_logFile->url() );
|
||||||
|
|
||||||
|
config.writeEntry( "use_icon_theme", mWidget->m_iconTheme->selectedId() == 0 );
|
||||||
|
|
||||||
|
config.sync();
|
||||||
|
|
||||||
|
emit changed( false );
|
||||||
}
|
}
|
||||||
|
|
||||||
void KCMWeatherService::defaults()
|
void KCMWeatherService::defaults()
|
||||||
{
|
{
|
||||||
|
mWidget->m_enableLog->setChecked( false );
|
||||||
|
enableLogWidgets( false );
|
||||||
|
mWidget->m_logFile->setURL( "" );
|
||||||
|
|
||||||
|
mWidget->m_iconTheme->setButton(0);
|
||||||
|
|
||||||
|
emit changed( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "kcmweatherservice.moc"
|
#include "kcmweatherservice.moc"
|
||||||
|
@ -0,0 +1,72 @@
|
|||||||
|
/*
|
||||||
|
This file is part of KWeather.
|
||||||
|
Copyright (c) 2003 Tobias Koenig <tokoe@kde.org>
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
As a special exception, permission is given to link this program
|
||||||
|
with any edition of TQt, and distribute the resulting executable,
|
||||||
|
without including the source code for TQt in the source distribution.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <tqlayout.h>
|
||||||
|
|
||||||
|
#include <tdeaboutdata.h>
|
||||||
|
#include <kdebug.h>
|
||||||
|
#include <tdelocale.h>
|
||||||
|
|
||||||
|
#include "stationsconfigwidget.h"
|
||||||
|
|
||||||
|
#include "kcmweatherstations.h"
|
||||||
|
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
KDE_EXPORT TDECModule *create_weatherstations( TQWidget *parent, const char * ) {
|
||||||
|
return new KCMWeatherStations( parent, "kweather" );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
KCMWeatherStations::KCMWeatherStations( TQWidget *parent, const char *name )
|
||||||
|
: TDECModule( parent, name )
|
||||||
|
{
|
||||||
|
TQVBoxLayout *layout = new TQVBoxLayout( this );
|
||||||
|
mWidget = new StationsConfigWidget( this );
|
||||||
|
|
||||||
|
// not needed, as a change immediately changes the service
|
||||||
|
//connect(mWidget, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool)));
|
||||||
|
|
||||||
|
layout->addWidget( mWidget );
|
||||||
|
TDEAboutData *about = new TDEAboutData( "kcmweatherstations",
|
||||||
|
I18N_NOOP( "KWeather Configure Dialog" ),
|
||||||
|
0, 0, TDEAboutData::License_GPL,
|
||||||
|
I18N_NOOP( "(c), 2003 Tobias Koenig" ) );
|
||||||
|
|
||||||
|
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
|
||||||
|
setAboutData(about);
|
||||||
|
}
|
||||||
|
|
||||||
|
void KCMWeatherStations::load()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void KCMWeatherStations::save()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void KCMWeatherStations::defaults()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
#include "kcmweatherstations.moc"
|
@ -0,0 +1,16 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Icon=kweather
|
||||||
|
Type=Service
|
||||||
|
X-TDE-ServiceTypes=TDECModule
|
||||||
|
|
||||||
|
X-TDE-ModuleType=Library
|
||||||
|
X-TDE-Library=weatherstations
|
||||||
|
X-TDE-FactoryName=weatherstations
|
||||||
|
X-TDE-ParentApp=weather_panelapplet
|
||||||
|
X-TDE-ParentComponents=weather_panelapplet,kontact_weatherplugin
|
||||||
|
X-TDE-CfgDlgHierarchy=KontactSummary
|
||||||
|
|
||||||
|
Name=Stations
|
||||||
|
Comment=Weather Stations Config
|
||||||
|
Keywords=kweather; weather service; configure; settings; stations;
|
||||||
|
X-DocPath=kweather?anchor=weather-service
|
@ -0,0 +1,47 @@
|
|||||||
|
/*
|
||||||
|
This file is part of KWeather.
|
||||||
|
Copyright (c) 2003 Tobias Koenig <tokoe@kde.org>
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
As a special exception, permission is given to link this program
|
||||||
|
with any edition of TQt, and distribute the resulting executable,
|
||||||
|
without including the source code for TQt in the source distribution.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef KCMWEATHERSTATIONS_H
|
||||||
|
#define KCMWEATHERSTATIONS_H
|
||||||
|
|
||||||
|
#include <tdecmodule.h>
|
||||||
|
|
||||||
|
class StationsConfigWidget;
|
||||||
|
|
||||||
|
class KCMWeatherStations : public TDECModule
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
|
||||||
|
public:
|
||||||
|
KCMWeatherStations( TQWidget *parent = 0, const char *name = 0 );
|
||||||
|
|
||||||
|
virtual void load();
|
||||||
|
virtual void save();
|
||||||
|
virtual void defaults();
|
||||||
|
|
||||||
|
private:
|
||||||
|
StationsConfigWidget *mWidget;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
@ -0,0 +1,198 @@
|
|||||||
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
||||||
|
<class>serviceConfig</class>
|
||||||
|
<author>ian reinhart geiser <geiseri@kde.org></author>
|
||||||
|
<widget class="TQWidget">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>serviceConfig</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>491</width>
|
||||||
|
<height>194</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>3</hsizetype>
|
||||||
|
<vsizetype>3</vsizetype>
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="caption">
|
||||||
|
<string>serviceConfig</string>
|
||||||
|
</property>
|
||||||
|
<property name="focusPolicy">
|
||||||
|
<enum>TabFocus</enum>
|
||||||
|
</property>
|
||||||
|
<vbox>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>unnamed</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="margin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<widget class="TQButtonGroup">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>m_iconTheme</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="title">
|
||||||
|
<string>Weather Icons</string>
|
||||||
|
</property>
|
||||||
|
<vbox>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>unnamed</cstring>
|
||||||
|
</property>
|
||||||
|
<widget class="TQRadioButton">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>m_systemIcons</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>&Use system theme</string>
|
||||||
|
</property>
|
||||||
|
<property name="checked">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="TQRadioButton">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>m_kweatherIcons</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Use classic &KWeather theme</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</vbox>
|
||||||
|
</widget>
|
||||||
|
<widget class="TQGroupBox">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>GroupBox1</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>1</hsizetype>
|
||||||
|
<vsizetype>1</vsizetype>
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="title">
|
||||||
|
<string>Logging Options</string>
|
||||||
|
</property>
|
||||||
|
<grid>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>unnamed</cstring>
|
||||||
|
</property>
|
||||||
|
<widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="2">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>m_enableLog</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>E&nable logging</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<spacer row="0" column="2">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>Spacer6_2</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeType">
|
||||||
|
<enum>Expanding</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint">
|
||||||
|
<size>
|
||||||
|
<width>294</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
<widget class="TQLabel" row="1" column="0">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>m_labelLogFile</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Log f&ile:</string>
|
||||||
|
</property>
|
||||||
|
<property name="buddy" stdset="0">
|
||||||
|
<cstring>m_logFile</cstring>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="KURLRequester" row="1" column="1" rowspan="1" colspan="2">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>m_logFile</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>252</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip" stdset="0">
|
||||||
|
<string>Enter the logfile name.</string>
|
||||||
|
</property>
|
||||||
|
<property name="whatsThis" stdset="0">
|
||||||
|
<string>Enter the full path and filename to enable logging in KWeather.</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</grid>
|
||||||
|
</widget>
|
||||||
|
<spacer>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>spacer4</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeType">
|
||||||
|
<enum>Expanding</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>111</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</vbox>
|
||||||
|
</widget>
|
||||||
|
<connections>
|
||||||
|
<connection>
|
||||||
|
<sender>m_enableLog</sender>
|
||||||
|
<signal>toggled(bool)</signal>
|
||||||
|
<receiver>m_labelLogFile</receiver>
|
||||||
|
<slot>setEnabled(bool)</slot>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>m_enableLog</sender>
|
||||||
|
<signal>toggled(bool)</signal>
|
||||||
|
<receiver>m_logFile</receiver>
|
||||||
|
<slot>setEnabled(bool)</slot>
|
||||||
|
</connection>
|
||||||
|
</connections>
|
||||||
|
<includes>
|
||||||
|
<include location="global" impldecl="in implementation">kcolorbutton.h</include>
|
||||||
|
<include location="global" impldecl="in implementation">kcombobox.h</include>
|
||||||
|
<include location="global" impldecl="in implementation">kdialog.h</include>
|
||||||
|
<include location="global" impldecl="in implementation">kurlrequester.h</include>
|
||||||
|
<include location="global" impldecl="in implementation">kpushbutton.h</include>
|
||||||
|
<include location="global" impldecl="in implementation">klineedit.h</include>
|
||||||
|
</includes>
|
||||||
|
<layoutdefaults spacing="3" margin="6"/>
|
||||||
|
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
|
||||||
|
</UI>
|
Loading…
Reference in new issue