diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-13 19:30:17 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-13 19:30:17 +0200 |
commit | 357ddeb8afd82d69ef871c146f4fc8f2c67fb17e (patch) | |
tree | dc3ef0e6fedd64f5fb177c114f72e1515a07cd1b /src/arkollon/wizard.h | |
parent | c6cbd71bc169ac0e927e52325dbbbcb506abbc73 (diff) | |
download | klamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.tar.gz klamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.zip |
Conversion Qt3->TQt
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/arkollon/wizard.h')
-rw-r--r-- | src/arkollon/wizard.h | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/src/arkollon/wizard.h b/src/arkollon/wizard.h index 887f68d..6f2fdb7 100644 --- a/src/arkollon/wizard.h +++ b/src/arkollon/wizard.h @@ -21,37 +21,37 @@ #define WIZARD_H #include <wizardbase.h> -#include <qlistview.h> -#include <qprocess.h> -#include <qsettings.h> -#include <qiconview.h> -#include <qregexp.h> +#include <tqlistview.h> +#include <tqprocess.h> +#include <tqsettings.h> +#include <tqiconview.h> +#include <tqregexp.h> #include "logdialog.h" class HeaderListItem; struct Component { - QString name; - QString niceName; - QString subDir; - QString forceDir; + TQString name; + TQString niceName; + TQString subDir; + TQString forceDir; bool optional; bool kdeOnly; bool gnomeOnly; - QString description; - QString confOptions; + TQString description; + TQString confOptions; - QMap<QString, uint> buildTimes; + TQMap<TQString, uint> buildTimes; bool alreadyInstalled; }; -class ComponentListItem : public QCheckListItem +class ComponentListItem : public TQCheckListItem { public: - ComponentListItem(struct Component c, QListView* parent); - int compare(QListViewItem* i, int col, bool ascending) const; + ComponentListItem(struct Component c, TQListView* parent); + int compare(TQListViewItem* i, int col, bool ascending) const; int rtti() const { return 1001; } struct Component component; @@ -62,12 +62,12 @@ class ActionFormat { public: ActionFormat() {} - ActionFormat(QString a, QString t, QString r, int) { action=a; tool=t; regExp=r; } + ActionFormat(TQString a, TQString t, TQString r, int) { action=a; tool=t; regExp=r; } ~ActionFormat() {} - QString action; - QString tool; - QRegExp regExp; + TQString action; + TQString tool; + TQRegExp regExp; }; @@ -79,7 +79,7 @@ class Wizard : public WizardBase Q_OBJECT public: - Wizard(QWidget *parent = 0, const char *name = 0); + Wizard(TQWidget *parent = 0, const char *name = 0); ~Wizard(); @@ -90,16 +90,16 @@ private: void nextStep(); void checkPassword(); - void updateTime(QString key); - QString lastTimeLine; + void updateTime(TQString key); + TQString lastTimeLine; - void logLine(QString line); + void logLine(TQString line); void errorOccured(); - QString makeDirNice(QString name); + TQString makeDirNice(TQString name); - QString sub(QString s); + TQString sub(TQString s); - QString rootPassword; + TQString rootPassword; private slots: void processExited(); @@ -114,8 +114,8 @@ private slots: void previousPressed(); void runPressed(); void logPressed(); - void componentSelected(QListViewItem* item); - void setProgress2Text(QString text); + void componentSelected(TQListViewItem* item); + void setProgress2Text(TQString text); void setup(); void setupFromRc(); @@ -132,34 +132,34 @@ private: WriteUninstallInfo }; - QString dir; - QStringList buildOrder; - QValueList<struct Component> selectedComponents; + TQString dir; + TQStringList buildOrder; + TQValueList<struct Component> selectedComponents; uint totalBTime; uint elapsedBTime; uint elapsedTime; - QTime timer; - QProcess* externalProcess; - QProcess* kdeDirProcess; - QProcess* installedComponentsProcess; - QString commandLine; - bool currentIsQMake; + TQTime timer; + TQProcess* externalProcess; + TQProcess* kdeDirProcess; + TQProcess* installedComponentsProcess; + TQString commandLine; + bool currentIsTQMake; int currentComponent; enum Stage currentStage; bool needRoot; - QString prefix; + TQString prefix; - QStringList installedComponents; - QString exec; - QString desktop; + TQStringList installedComponents; + TQString exec; + TQString desktop; - QString kdeDir; + TQString kdeDir; LogDialog* logDialog; - QMap<int, HeaderListItem*> headers; - QValueList<ActionFormat> actionFormats; - QStringList installedFiles; + TQMap<int, HeaderListItem*> headers; + TQValueList<ActionFormat> actionFormats; + TQStringList installedFiles; }; #endif |