You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
929 B
57 lines
929 B
//
|
|
// C++ Interface: kmfplugin
|
|
//
|
|
// Description:
|
|
//
|
|
//
|
|
// Author: Christian Hubinger <chubinger@irrsinnig.org>, (C) 2003
|
|
//
|
|
// Copyright: See COPYING file that comes with this distribution
|
|
//
|
|
//
|
|
#ifndef KMFPLUGIN_H
|
|
#define KMFPLUGIN_H
|
|
|
|
// QT includes
|
|
class TQWidget;
|
|
|
|
#include <tqobject.h>
|
|
|
|
// KDE includes
|
|
#include <tdeparts/plugin.h>
|
|
|
|
// Project includes
|
|
|
|
namespace KMF {
|
|
|
|
class KMFNetwork;
|
|
class KMFRulesetDoc;
|
|
class KMFGenericDoc;
|
|
class KMFIPTDoc;
|
|
class KMFDoc;
|
|
class KMFError;
|
|
|
|
/**
|
|
@author Christian Hubinger
|
|
*/
|
|
|
|
class KDE_EXPORT KMFPlugin : public KParts::Plugin {
|
|
public:
|
|
KMFPlugin( TQObject* parent , const char* name );
|
|
virtual ~KMFPlugin();
|
|
void setOutputWidget( TQWidget* wid );
|
|
void showEditor();
|
|
void showOutput();
|
|
void checkStatus();
|
|
|
|
protected:
|
|
KMFRulesetDoc* rulesetDoc();
|
|
KMFGenericDoc* genericDoc();
|
|
KMFIPTDoc* iptablesDoc();
|
|
KMFNetwork* network();
|
|
KMFDoc* doc();
|
|
KMFError* m_err;
|
|
};
|
|
}
|
|
#endif
|