summaryrefslogtreecommitdiffstats
path: root/kpackage/updateLoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/updateLoc.h')
-rw-r--r--kpackage/updateLoc.h134
1 files changed, 67 insertions, 67 deletions
diff --git a/kpackage/updateLoc.h b/kpackage/updateLoc.h
index 269bf74..d9879f3 100644
--- a/kpackage/updateLoc.h
+++ b/kpackage/updateLoc.h
@@ -35,15 +35,15 @@
#include <stdio.h>
// Qt Headers
-#include <qdir.h>
-#include <qwidget.h>
-#include <qframe.h>
-#include <qlabel.h>
-#include <qfiledialog.h>
-#include <qgroupbox.h>
-#include <qcheckbox.h>
-#include <qlayout.h>
-#include <qlineedit.h>
+#include <tqdir.h>
+#include <tqwidget.h>
+#include <tqframe.h>
+#include <tqlabel.h>
+#include <tqfiledialog.h>
+#include <tqgroupbox.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
+#include <tqlineedit.h>
// KDE headers
#include <kbuttonbox.h>
@@ -62,14 +62,14 @@ class dpanel : public QWidget
Q_OBJECT
public:
- dpanel(QWidget *parent, const char * name = 0);
- dpanel(dpanel *basep, const QString &Pfilter, bool bsubdirs,
- QWidget *parent, const char * name = 0);
+ dpanel(TQWidget *parent, const char * name = 0);
+ dpanel(dpanel *basep, const TQString &Pfilter, bool bsubdirs,
+ TQWidget *parent, const char * name = 0);
~dpanel();
- QString getText() const;
- void setText(const QString &s);
+ TQString getText() const;
+ void setText(const TQString &s);
bool getUse() const;
void setUse(int n);
bool getSubdirs() const;
@@ -77,14 +77,14 @@ public:
private:
- QCheckBox *psubdirs;
- QCheckBox *puse;
- QHBoxLayout* pack;
- QLineEdit *pent;
- QPushButton *pbut;
+ TQCheckBox *psubdirs;
+ TQCheckBox *puse;
+ TQHBoxLayout* pack;
+ TQLineEdit *pent;
+ TQPushButton *pbut;
dpanel *base;
- QString filter;
+ TQString filter;
public slots:
void fileOpen();
@@ -99,21 +99,21 @@ class apanel : public QWidget
Q_OBJECT
public:
- apanel( QWidget *parent, const char * name = 0 );
+ apanel( TQWidget *parent, const char * name = 0 );
~apanel();
- QString getText() const;
- void setText(const QString &s);
+ TQString getText() const;
+ void setText(const TQString &s);
bool getUse();
void setUse(int n);
void clear();
private:
- QCheckBox *puse;
- QHBoxLayout* pack;
- QLineEdit *pent;
+ TQCheckBox *puse;
+ TQHBoxLayout* pack;
+ TQLineEdit *pent;
@@ -129,7 +129,7 @@ class updateLoc : public QWidget
public:
- updateLoc (QWidget *p, int panelNumber, pkgInterface *inter, const QString &iname);
+ updateLoc (TQWidget *p, int panelNumber, pkgInterface *inter, const TQString &iname);
~updateLoc();
virtual void readSettings() = 0;
@@ -137,20 +137,20 @@ public:
virtual void applyS(LcacheObj *slist) = 0;
- void doBase(const QString &bmsg);
+ void doBase(const TQString &bmsg);
- QString interName;
+ TQString interName;
int panNumber;
bool haveBase;
pkgInterface *interface;
- QVBoxLayout *vf;
+ TQVBoxLayout *vf;
dpanel *base;
- QGroupBox *fbase;
- QVBoxLayout* vbase;
+ TQGroupBox *fbase;
+ TQVBoxLayout* vbase;
};
//////////////////////////////////////////////////////////////////////////////
@@ -161,8 +161,8 @@ class aUpdateLoc : public updateLoc
public:
- aUpdateLoc (QWidget *p, int panelNumber, pkgInterface *inter, const QString &iname,
- int numberLines, const QString &label);
+ aUpdateLoc (TQWidget *p, int panelNumber, pkgInterface *inter, const TQString &iname,
+ int numberLines, const TQString &label);
~aUpdateLoc();
@@ -173,21 +173,21 @@ public:
private:
- QString packL, packU, packS, availB;
+ TQString packL, packU, packS, availB;
int wdth;
- QPushButton *butloc;
+ TQPushButton *butloc;
- QHBoxLayout* hloc;
+ TQHBoxLayout* hloc;
int numLines;
enum { PNUM = 100 };
apanel *ap[PNUM];
- QVBoxLayout* vl;
- QVBoxLayout* vtop;
- QGroupBox *frame1;
+ TQVBoxLayout* vl;
+ TQVBoxLayout* vtop;
+ TQGroupBox *frame1;
KButtonBox* hb;
};
@@ -200,9 +200,9 @@ class pdUpdateLoc : public updateLoc
public:
- pdUpdateLoc (QWidget *p, int panelNumber, pkgInterface *inter,
- const QString &iname, int numberLines, const QString &filter,
- const QString &lmsg, QString bmsg = 0,
+ pdUpdateLoc (TQWidget *p, int panelNumber, pkgInterface *inter,
+ const TQString &iname, int numberLines, const TQString &filter,
+ const TQString &lmsg, TQString bmsg = 0,
bool subdirs = FALSE);
~pdUpdateLoc();
@@ -214,21 +214,21 @@ public:
private:
- QString packL, packU, packS, availB;
+ TQString packL, packU, packS, availB;
int wdth;
- QPushButton *butloc;
+ TQPushButton *butloc;
- QHBoxLayout* hloc;
+ TQHBoxLayout* hloc;
int numLines;
enum { PNUM = 40 };
dpanel *dp[PNUM];
- QVBoxLayout* vl;
- QVBoxLayout* vtop;
- QGroupBox *frame1;
+ TQVBoxLayout* vl;
+ TQVBoxLayout* vtop;
+ TQGroupBox *frame1;
KButtonBox* hb;
};
@@ -241,9 +241,9 @@ class cUpdateLoc : public updateLoc
public:
- cUpdateLoc (QWidget *p, int panelNumber, pkgInterface *inter,
- const QString &iname, int numberLines, const QString &baseMsg,
- const QString &boxLabels, const QString &boxValues);
+ cUpdateLoc (TQWidget *p, int panelNumber, pkgInterface *inter,
+ const TQString &iname, int numberLines, const TQString &baseMsg,
+ const TQString &boxLabels, const TQString &boxValues);
~cUpdateLoc();
@@ -254,19 +254,19 @@ public:
private:
- QString packC, availB;
+ TQString packC, availB;
- QPushButton *butloc;
+ TQPushButton *butloc;
- QHBoxLayout* hloc;
+ TQHBoxLayout* hloc;
int numLines;
enum { PNUM = 40 };
KComboBox *combo[PNUM];
- QVBoxLayout* vl;
- QVBoxLayout* vtop;
- QGroupBox *frame1;
+ TQVBoxLayout* vl;
+ TQVBoxLayout* vtop;
+ TQGroupBox *frame1;
KButtonBox* hb;
@@ -281,26 +281,26 @@ class Locations : public KDialogBase
Q_OBJECT
public:
- Locations( const QString &msg);
+ Locations( const TQString &msg);
~Locations();
void dLocations(int numberDirs, int numberLines,
- pkgInterface *inter, const QString &iname,
- const QString &label, const QString &filter, const QString &dirMsg,
+ pkgInterface *inter, const TQString &iname,
+ const TQString &label, const TQString &filter, const TQString &dirMsg,
bool subdirs=TRUE );
void pLocations(int numberDirs, int numberLines,
- pkgInterface *inter, const QString &iname,
- const QString &label, const QString &filter,
- const QString &packMsg, QString baseMsg = 0,
+ pkgInterface *inter, const TQString &iname,
+ const TQString &label, const TQString &filter,
+ const TQString &packMsg, TQString baseMsg = 0,
bool subdirs=FALSE);
void cLocations(int numberDirs, int numberLines,
- pkgInterface *inter, const QString &iname, const QString &label,
- const QString &boxLabels, const QString &baseMsg, const QString &boxValues);
+ pkgInterface *inter, const TQString &iname, const TQString &label,
+ const TQString &boxLabels, const TQString &baseMsg, const TQString &boxValues);
void aLocations(int numberDirs, int numberLines,
- pkgInterface *inter, const QString &iname, const QString &label);
+ pkgInterface *inter, const TQString &iname, const TQString &label);