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.
73 lines
1.3 KiB
73 lines
1.3 KiB
15 years ago
|
//
|
||
|
// C++ Interface:
|
||
|
//
|
||
|
// Description:
|
||
|
//
|
||
|
//
|
||
|
// Author: Christian Hubinger <chubinger@irrsinnig.org>, (C) 2007
|
||
|
//
|
||
|
// Copyright: See COPYING file that comes with this distribution
|
||
|
//
|
||
|
//
|
||
|
|
||
|
#ifndef KMFTRANSACTIONLOG_H
|
||
|
#define KMFTRANSACTIONLOG_H
|
||
|
|
||
|
#include "kmyfirewalltransactionlog.h"
|
||
|
|
||
|
class KPopupMenu;
|
||
|
class KProcess;
|
||
|
class KTempFile;
|
||
|
class KListView;
|
||
|
class KListViewItem;
|
||
|
|
||
|
namespace KMF {
|
||
|
class KMFTransaction;
|
||
|
|
||
|
|
||
|
class KMFTransactionLog : public KMyFirewallTransactionLog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public: static KMFTransactionLog* instance();
|
||
|
|
||
|
public:
|
||
|
|
||
|
~KMFTransactionLog();
|
||
|
/*$PUBLIC_FUNCTIONS$*/
|
||
|
|
||
|
public slots:
|
||
|
/*$PUBLIC_SLOTS$*/
|
||
|
void slotUpdateView();
|
||
|
|
||
|
protected:
|
||
|
/*$PROTECTED_FUNCTIONS$*/
|
||
|
|
||
|
protected slots:
|
||
|
/*$PROTECTED_SLOTS$*/
|
||
|
void slotUpdateStatistics();
|
||
|
void slotClearStacks();
|
||
|
void slotClearLog();
|
||
|
void slotLog( const QString& );
|
||
|
void slotZoneRBM( QListViewItem*, const QPoint&, int );
|
||
|
void slotShowDiff();
|
||
|
void slotKompareExited( KProcess* );
|
||
|
private:
|
||
|
KMFTransactionLog ( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||
|
KListViewItem* setupListItem( KMFTransaction*, KListView*, KListViewItem*);
|
||
|
|
||
|
// DATA
|
||
|
private:
|
||
|
KPopupMenu *m_contextMenu;
|
||
|
KMFTransaction* m_currentTransaction;
|
||
|
KTempFile *m_undoXMLFile;
|
||
|
KTempFile *m_redoXMLFile;
|
||
|
|
||
|
static KMFTransactionLog* s_instance;
|
||
|
|
||
|
|
||
|
};
|
||
|
}
|
||
|
#endif
|
||
|
|