1
/* This file is part of KNemo
2
Copyright (C) 2010 John Stamp <jstamp@users.sourceforge.net>
4
KNemo is free software; you can redistribute it and/or modify
5
it under the terms of the GNU Library General Public License as
6
published by the Free Software Foundation; either version 2 of
7
the License, or (at your option) any later version.
9
KNemo is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU Library General Public License for more details.
14
You should have received a copy of the GNU Library General Public License
15
along with this library; see the file COPYING.LIB. If not, write to
16
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
Boston, MA 02110-1301, USA.
25
#include "ui_warncfg.h"
27
class WarnConfig : public KDialog
31
WarnConfig( const InterfaceSettings *settings, const WarnRule &warn, bool addRule = true );
35
const InterfaceSettings *mSettings;
37
void setControls( const WarnRule &warn );
40
void thresholdChanged( double );
42
virtual void slotButtonClicked( int button );