From 357ddeb8afd82d69ef871c146f4fc8f2c67fb17e Mon Sep 17 00:00:00 2001
From: Mavridis Philippe <mavridisf@gmail.com>
Date: Wed, 13 Jan 2021 19:30:17 +0200
Subject: Conversion Qt3->TQt

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
---
 src/klamscan.hpre | 84 +++++++++++++++++++++++++++----------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

(limited to 'src/klamscan.hpre')

diff --git a/src/klamscan.hpre b/src/klamscan.hpre
index e1166f8..994328a 100644
--- a/src/klamscan.hpre
+++ b/src/klamscan.hpre
@@ -17,14 +17,14 @@
 class KPrinter;
 class KToggleAction;
 class KURL;
-class QLineEdit;
-class QComboBox;
-class QCheckBox;
-class QListBox;
-class QListView;
-class QListViewItem;
-class QPushButton;
-class QLabel;
+class TQLineEdit;
+class TQComboBox;
+class TQCheckBox;
+class TQListBox;
+class TQListView;
+class TQListViewItem;
+class TQPushButton;
+class TQLabel;
 class KProcess;
 class KConfig;
 class KURLRequester;
@@ -38,14 +38,14 @@ class KURLRequester;
  * @author $AUTHOR <$EMAIL>
  * @version $APP_VERSION
  */
-class Klamscan  : public QWidget, virtual public DCOPKlamscan
+class Klamscan  : public TQWidget, virtual public DCOPKlamscan
 {
     Q_OBJECT
 public:
     /**
      * Default Constructor
      */
-    Klamscan(QWidget *parent, const char *name=0);
+    Klamscan(TQWidget *parent, const char *name=0);
 
     /**
      * Default Destructor
@@ -56,14 +56,14 @@ public:
      * Use this method to load whatever file/URL you have
      */
     
-    void  setDirName(QString);
+    void  setDirName(TQString);
     bool isMultiScan();
 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:
     /**
@@ -93,8 +93,8 @@ private slots:
     void optionsPreferences();
     void newToolbarConfig();
 */
-    //void changeStatusbar(const QString& text);
-    //void changeCaption(const QString& text);
+    //void changeStatusbar(const TQString& text);
+    //void changeCaption(const TQString& text);
 
 private:
     void setupAccel();
@@ -108,27 +108,27 @@ private:
     KToggleAction *m_statusbarAction;*/
 
 signals:
-    void itemSelected(QString abs_filename, int line);
+    void itemSelected(TQString abs_filename, int line);
 
 public slots:
-    void scanURLs(const QString &urls);
-    void resetMultiScan( QMouseEvent * e);
+    void scanURLs(const TQString &urls);
+    void resetMultiScan( TQMouseEvent * e);
 private slots:
     //void dirButtonClicked();
     //void templateActivated(int index);
     void childExited();
     void receivedOutput(KProcess *proc, char *buffer, int buflen);
-    //void itemSelected(const QString&);
+    //void itemSelected(const TQString&);
     void slotSearch();
     void slotCancel();
     void slotClear();
-    void slotRMB( QListViewItem *, const QPoint &, int );
+    void slotRMB( TQListViewItem *, const TQPoint &, int );
     void slotQuarantineSelected();
     void slotAdvOptions();
     void slotSchedule();
     void slotVirusPool();
     void slotGoogle();
-    //void patternTextChanged( const QString &);
+    //void patternTextChanged( const TQString &);
 private:
     void processOutput();
     void finish();
@@ -136,32 +136,32 @@ private:
     void Quarantine();
     void askUser();
     void setDefaults();
-    QLineEdit *template_edit;
-    QComboBox *files_combo, *pattern_combo, *check_combo;
+    TQLineEdit *template_edit;
+    TQComboBox *files_combo, *pattern_combo, *check_combo;
     KComboBox *dir_combo;
-    QCheckBox *recursive_box;
-    QCheckBox *recursive_box2;
-    QListView *resultview;
-    QPushButton *search_button, *cancel_button;
-    QLabel *status_label, *status2_label,*matches_label,*matches2_label;
+    TQCheckBox *recursive_box;
+    TQCheckBox *recursive_box2;
+    TQListView *resultview;
+    TQPushButton *search_button, *cancel_button;
+    TQLabel *status_label, *status2_label,*matches_label,*matches2_label;
     KProcess *childproc;
-    QString buf;
+    TQString buf;
     KConfig* config;
-    QStringList lastSearchItems;
-    QStringList lastScanPaths;
-    QStringList lastQuarItems;
-    QStringList QuarantineList;
+    TQStringList lastSearchItems;
+    TQStringList lastScanPaths;
+    TQStringList lastQuarItems;
+    TQStringList QuarantineList;
     bool errorsEncountered;
-    QPopupMenu* menu;
-    QPushButton* adv_options;
-    QPushButton* schedule;
-    QString selectedVirus;
+    TQPopupMenu* menu;
+    TQPushButton* adv_options;
+    TQPushButton* schedule;
+    TQString selectedVirus;
     bool multiScan;
-    QString urlsToScan;
+    TQString urlsToScan;
     bool scanInProgress;
-    QString prevdir;
-    QStringList listOfUrlsToScan;
-    void updateScanPaths(const QStringList &paths);
+    TQString prevdir;
+    TQStringList listOfUrlsToScan;
+    void updateScanPaths(const TQStringList &paths);
     bool multi_recursive;
 };
 
-- 
cgit v1.2.1