/*************************************************************************** Copyright (C) 2004 Christian Hubinger ***************************************************************************/ /*************************************************************************** * * * 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. * * * ***************************************************************************/ // // C++ Interface: kmfruleoptioneditiip // // Description: // // // Author: Christian Hubinger , (C) 2004 // // Copyright: See COPYING file that comes with this distribution // // #ifndef KMFRULEOPTIONEDITTOS_H #define KMFRULEOPTIONEDITTOS_H #include "../../core/kmfruleoptioneditinterface.h" // KDE includes #include #include #include #include class KInstance; namespace KMF { class IPTRule; class KMFRuleEditorTos; /** @author Christian Hubinger */ class KMFRuleOptionEditTos : public KMFRuleOptionEditInterface { Q_OBJECT TQ_OBJECT public: KMFRuleOptionEditTos(TQObject *tqparent = 0, const char *name = 0); ~KMFRuleOptionEditTos(); void loadRule( IPTRule* rule ); TQWidget* editWidget(); const TQString& optionEditName() const; const TQString& description() const; private slots: void slotShowOverview(); private: KMFRuleEditorTos *m_edit; IPTRule *m_rule; }; class KMFRuleOptionEditTosFactory : public KLibFactory { Q_OBJECT TQ_OBJECT public: KMFRuleOptionEditTosFactory( TQObject *tqparent = 0, const char *name = 0 ); virtual ~KMFRuleOptionEditTosFactory() { /* delete s_instance; */ }; virtual TQObject* createObject( TQObject* tqparent = 0, const char* pname = 0, const char* name = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList() ); /* static KInstance* instance(); */ /*private: static KInstance* s_instance;*/ }; } #endif