summaryrefslogtreecommitdiffstats
path: root/src/arkollon/wizard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arkollon/wizard.h')
-rw-r--r--src/arkollon/wizard.h104
1 files changed, 52 insertions, 52 deletions
diff --git a/src/arkollon/wizard.h b/src/arkollon/wizard.h
index cf32d9d..09e0ef9 100644
--- a/src/arkollon/wizard.h
+++ b/src/arkollon/wizard.h
@@ -21,13 +21,13 @@
#define WIZARD_H
#include <wizardbase.h>
-#include <qlistview.h>
-#include <qprocess.h>
-#include <qsettings.h>
-#include <qiconview.h>
-#include <qregexp.h>
-#include <qvaluevector.h>
-#include <qstring.h>
+#include <ntqlistview.h>
+#include <ntqprocess.h>
+#include <ntqsettings.h>
+#include <ntqiconview.h>
+#include <ntqregexp.h>
+#include <ntqvaluevector.h>
+#include <ntqstring.h>
#include <stdio.h>
#include "logdialog.h"
@@ -35,26 +35,26 @@ 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;
@@ -65,12 +65,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;
};
@@ -78,15 +78,15 @@ class CompileError
{
public:
CompileError() {}
- CompileError( const QString& type, const QString& message )
+ CompileError( const TQString& type, const TQString& message )
: t( type ), m( message )
{ }
- QString type() const { return t; }
- QString message() const { return m; }
+ TQString type() const { return t; }
+ TQString message() const { return m; }
private:
- QString t;
- QString m;
+ TQString t;
+ TQString m;
};
@@ -96,7 +96,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();
@@ -107,16 +107,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();
@@ -131,8 +131,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();
@@ -149,34 +149,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;
uint 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;
};