summaryrefslogtreecommitdiffstats
path: root/src/freshklam.h
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-01-13 19:30:17 +0200
committerMavridis Philippe <[email protected]>2021-01-13 19:30:17 +0200
commit357ddeb8afd82d69ef871c146f4fc8f2c67fb17e (patch)
treedc3ef0e6fedd64f5fb177c114f72e1515a07cd1b /src/freshklam.h
parentc6cbd71bc169ac0e927e52325dbbbcb506abbc73 (diff)
downloadklamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.tar.gz
klamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.zip
Conversion Qt3->TQt
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/freshklam.h')
-rw-r--r--src/freshklam.h78
1 files changed, 39 insertions, 39 deletions
diff --git a/src/freshklam.h b/src/freshklam.h
index 1ee716d..96e1f99 100644
--- a/src/freshklam.h
+++ b/src/freshklam.h
@@ -27,12 +27,12 @@ using namespace KNetwork;
class KPrinter;
class KToggleAction;
class KURL;
-class QLineEdit;
-class QComboBox;
-class QCheckBox;
-class QListBox;
-class QPushButton;
-class QLabel;
+class TQLineEdit;
+class TQComboBox;
+class TQCheckBox;
+class TQListBox;
+class TQPushButton;
+class TQLabel;
class KProcess;
class KConfig;
class KURLRequester;
@@ -50,14 +50,14 @@ class KlamavUpdate;
* @author $AUTHOR <$EMAIL>
* @version $APP_VERSION
*/
-class Freshklam : public QWidget
+class Freshklam : public TQWidget
{
Q_OBJECT
public:
/**
* Default Constructor
*/
- Freshklam(QWidget *parent, const char *name=0);
+ Freshklam(TQWidget *parent, const char *name=0);
/**
* Default Destructor
@@ -67,18 +67,18 @@ public:
/**
* Use this method to load whatever file/URL you have
*/
- void setDirName(QString);
- QString getCurrentDBDir();
+ void setDirName(TQString);
+ TQString getCurrentDBDir();
bool isFreshklamAlive();
- QPushButton *search_button, *cancel_button;
+ TQPushButton *search_button, *cancel_button;
void enableAutoUpdates();
protected:
/**
- * Overridden virtuals for Qt drag 'n drop (XDND)
+ * Overridden virtuals for TQt drag 'n drop (XDND)
*/
- /*virtual void dragEnterEvent(QDragEnterEvent *event);
- virtual void dropEvent(QDropEvent *event);*/
+ /*virtual void dragEnterEvent(TQDragEnterEvent *event);
+ virtual void dropEvent(TQDropEvent *event);*/
protected:
/**
@@ -106,7 +106,7 @@ private:
signals:
- void itemSelected(QString abs_filename, int line);
+ void itemSelected(TQString abs_filename, int line);
public slots:
@@ -145,52 +145,52 @@ private:
void disableInputs();
bool killPID();
void createDBDir();
-/* void downloadComponent(QString component, QString version, QString extension);*/
- void startProgressDialog( const QString & text );
+/* void downloadComponent(TQString component, TQString version, TQString extension);*/
+ void startProgressDialog( const TQString & text );
void checkInternet();
void connectToHost();
/* void checkForNewKlamAV();*/
void initCheckBoxes();
/* void getVersionFromLink( const DOM::Node &n );
- void completedSearchForUpdates(const QString &component, const QString &extension);*/
+ void completedSearchForUpdates(const TQString &component, const TQString &extension);*/
void updateMetaDB();
-/* QString getMirror();*/
- QLineEdit *template_edit;
- QComboBox *check_combo;
+/* TQString getMirror();*/
+ TQLineEdit *template_edit;
+ TQComboBox *check_combo;
KURLRequester *dir_combo;
KURLRequester *proxy_dir_combo;
- QCheckBox *daemon_box;
- QCheckBox* clamav_box;
- QCheckBox* klamav_box;
- QCheckBox *recursive_box;
- QListBox *resultbox;
- QLabel *status_label, *matches_label;
+ TQCheckBox *daemon_box;
+ TQCheckBox* clamav_box;
+ TQCheckBox* klamav_box;
+ TQCheckBox *recursive_box;
+ TQListBox *resultbox;
+ TQLabel *status_label, *matches_label;
KProcess *childproc;
KProcIO *versionproc;
- QString buf;
+ TQString buf;
KConfig* config;
- QStringList lastSearchItems;
- QStringList lastDownloadPaths;
+ TQStringList lastSearchItems;
+ TQStringList lastDownloadPaths;
KLineEdit *proxyIP;
KLineEdit *proxyPort;
KLineEdit *proxyUser;
KLineEdit *proxyPass;
- QString tempFileName;
- QString errorMessage;
- QString pidFileName;
+ TQString tempFileName;
+ TQString errorMessage;
+ TQString pidFileName;
bool freshklamAlive;
KProgressDialog *progressDialog;
- QTimer *timer;
+ TQTimer *timer;
/* bool upgradeinprogress;*/
bool checkingDirectly;
/* double highestsofarnumeric;
- QString highestsofarraw;
- QString highestsofarfilename;*/
+ TQString highestsofarraw;
+ TQString highestsofarfilename;*/
KResolver m_resolver;
-/* QString currentClamAVVersion;
+/* TQString currentClamAVVersion;
KHTMLPart *filelist;*/
- QPushButton *clamav_options;
- QPushButton *klamav_options;
+ TQPushButton *clamav_options;
+ TQPushButton *klamav_options;
// private:
// KDirLister clamav_lister;