diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 16:23:58 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 16:23:58 -0600 |
commit | 1a9478c6e1b77b05814af8fa02cd563a5da8946b (patch) | |
tree | 9923e3bdc030bd502a6bb0783b6c651e719dbce8 /kioslave/media/tdecmodule/notifiermodule.h | |
parent | 8084850061bd3560b73e6663a3f5c1dfbf0c0bed (diff) | |
download | tdebase-1a9478c6e1b77b05814af8fa02cd563a5da8946b.tar.gz tdebase-1a9478c6e1b77b05814af8fa02cd563a5da8946b.zip |
Fix FTBFS resulting from KCModule rename
Diffstat (limited to 'kioslave/media/tdecmodule/notifiermodule.h')
-rw-r--r-- | kioslave/media/tdecmodule/notifiermodule.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/kioslave/media/tdecmodule/notifiermodule.h b/kioslave/media/tdecmodule/notifiermodule.h new file mode 100644 index 000000000..d5d97a96d --- /dev/null +++ b/kioslave/media/tdecmodule/notifiermodule.h @@ -0,0 +1,58 @@ +/* This file is part of the KDE Project + Copyright (c) 2005 Jean-Remy Falleri <[email protected]> + Copyright (c) 2005 K�vin Ottens <ervin ipsquad net> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License version 2 as published by the Free Software Foundation. + + This library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#ifndef _NOTIFIERMODULE_H_ +#define _NOTIFIERMODULE_H_ + +#include <tdecmodule.h> +#include <tqlistbox.h> + +#include "notifiersettings.h" +#include "notifiermoduleview.h" + +class NotifierModule : public TDECModule +{ + Q_OBJECT + +public: + NotifierModule( TQWidget* parent = 0, const char* name = 0); + ~NotifierModule(); + + void load(); + void save(); + void defaults(); + +private slots: + void slotAdd(); + void slotDelete(); + void slotEdit(); + void slotToggleAuto(); + + void slotActionSelected( TQListBoxItem * item ); + void slotMimeTypeChanged( int index ); + +private: + void updateListBox(); + + TQString m_mimetype; + NotifierSettings m_settings; + NotifierModuleView *m_view; +}; + +#endif |