00001 /* This file is part of the KDE Project 00002 Copyright (c) 2005 Jean-Remy Falleri <jr.falleri@laposte.net> 00003 Copyright (c) 2005 Kévin Ottens <ervin ipsquad net> 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License version 2 as published by the Free Software Foundation. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 Library General Public License for more details. 00013 00014 You should have received a copy of the GNU Library General Public License 00015 along with this library; see the file COPYING.LIB. If not, write to 00016 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00017 Boston, MA 02110-1301, USA. 00018 */ 00019 00020 #ifndef _SERVICECONFIGDIALOG_H_ 00021 #define _SERVICECONFIGDIALOG_H_ 00022 00023 #include <kdialogbase.h> 00024 00025 #include "notifierserviceaction.h" 00026 #include "serviceview.h" 00027 00028 class ServiceConfigDialog : public KDialogBase 00029 { 00030 Q_OBJECT 00031 00032 public: 00033 ServiceConfigDialog(NotifierServiceAction *action, 00034 const TQStringList &mimetypesList, 00035 TQWidget* parent = 0, const char* name = 0); 00036 00037 public slots: 00038 void slotOk(); 00039 void slotIconChanged(); 00040 void slotCommand(); 00041 00042 private: 00043 ServiceView *m_view; 00044 NotifierServiceAction *m_action; 00045 bool m_iconChanged; 00046 }; 00047 00048 #endif
1.6.1