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.
93 lines
2.1 KiB
93 lines
2.1 KiB
3 years ago
|
/****************************************************************************
|
||
|
** Form interface generated from reading ui file 'database.ui'
|
||
|
**
|
||
|
** Created: Sun Mar 20 11:08:01 2005
|
||
|
** by: The User Interface Compiler ($Id: dbviewer.h,v 1.2 2006/04/05 18:03:51 hoganrobert Exp $)
|
||
|
**
|
||
|
** WARNING! All changes made in this file will be lost!
|
||
|
****************************************************************************/
|
||
|
|
||
|
#ifndef KLAMDB_H
|
||
|
#define KLAMDB_H
|
||
|
|
||
|
#include <qvariant.h>
|
||
|
#include <qdialog.h>
|
||
|
|
||
|
#include <kurl.h>
|
||
|
|
||
|
class QVBoxLayout;
|
||
|
class QHBoxLayout;
|
||
|
class QGridLayout;
|
||
|
class QSpacerItem;
|
||
|
class QTabWidget;
|
||
|
class QWidget;
|
||
|
class KListViewSearchLine;
|
||
|
class QListView;
|
||
|
class KListView;
|
||
|
class KListViewItem;
|
||
|
class QListViewItem;
|
||
|
class KProgress;
|
||
|
class KProgressDialog;
|
||
|
class QLabel;
|
||
|
class QPopupMenu;
|
||
|
|
||
|
|
||
|
namespace KlamAV
|
||
|
{
|
||
|
class TabWidget;
|
||
|
class PageViewer;
|
||
|
}
|
||
|
|
||
|
class KlamDB : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
KlamDB( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
|
||
|
~KlamDB();
|
||
|
|
||
|
KlamAV::TabWidget* tabBrowser;
|
||
|
QWidget* tab;
|
||
|
KListViewSearchLine* kLineEdit1;
|
||
|
KListView* VirusList;
|
||
|
void slotExternal(QString name, QString service);
|
||
|
|
||
|
public slots:
|
||
|
void shouldIShow(QWidget * current);
|
||
|
|
||
|
protected:
|
||
|
QGridLayout* dblayout;
|
||
|
|
||
|
private:
|
||
|
int listdir(const char *dirname);
|
||
|
int checkdir(const char *dirname);
|
||
|
int listdb(const char *filename);
|
||
|
unsigned int getSigNos();
|
||
|
KProgress* prog;
|
||
|
KProgressDialog* progress;
|
||
|
void addVirusName(char * start);
|
||
|
int count;
|
||
|
int sigs;
|
||
|
int newsigs;
|
||
|
QLabel* label;
|
||
|
void slotOpenHome();
|
||
|
QPopupMenu* menu;
|
||
|
void slotOpenPrefix(QString prefix, QString title,QString url);
|
||
|
KlamAV::PageViewer* homepage;
|
||
|
bool loadinprogress;
|
||
|
protected slots:
|
||
|
virtual void languageChange();
|
||
|
void slotOpenTab(QListViewItem * item , const QPoint &point, int num );
|
||
|
void slotOpenTabPlain(const KURL& url, bool background = false);
|
||
|
void slotTabCaption(const QString &capt);
|
||
|
void slotRMB( QListViewItem* Item, const QPoint & point, int num);
|
||
|
void slotVirusPool();
|
||
|
void slotVirusList();
|
||
|
void slotGoogle();
|
||
|
void slotTrendMicro();
|
||
|
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // KLAMDB_H
|