summaryrefslogtreecommitdiffstats
path: root/kpackage/pkgOptions.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
commitaa3a1ca934bc541bddd3fa136a85f106f7da266e (patch)
tree9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /kpackage/pkgOptions.h
parentb10cf7066791a2f362495890cd50c984e8025412 (diff)
downloadtdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz
tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpackage/pkgOptions.h')
-rw-r--r--kpackage/pkgOptions.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/kpackage/pkgOptions.h b/kpackage/pkgOptions.h
index 707c340..1cf8d94 100644
--- a/kpackage/pkgOptions.h
+++ b/kpackage/pkgOptions.h
@@ -33,11 +33,11 @@
#include "../config.h"
// Qt headers
-#include <qframe.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qlabel.h>
-#include <qcheckbox.h>
+#include <tqframe.h>
+#include <tqlayout.h>
+#include <tqpushbutton.h>
+#include <tqlabel.h>
+#include <tqcheckbox.h>
#include <kdialog.h>
@@ -53,20 +53,20 @@ class pkgOptions : public KDialog
{
Q_OBJECT
public:
- pkgOptions( pkgInterface *pki, QWidget *parent=0, const QString &caption=QString::null);
+ pkgOptions( pkgInterface *pki, TQWidget *parent=0, const TQString &caption=TQString::null);
~pkgOptions();
- bool setup(QPtrList<packageInfo> *pl, const QString &type);
- void setup(packageInfo *p, const QString &type);
+ bool setup(TQPtrList<packageInfo> *pl, const TQString &type);
+ void setup(packageInfo *p, const TQString &type);
void reset();
- virtual QString doPackages(int installFlags, QPtrList<packageInfo> *p,
+ virtual TQString doPackages(int installFlags, TQPtrList<packageInfo> *p,
bool &test) = 0;
- QCheckBox **Boxs;
+ TQCheckBox **Boxs;
// options buttons
- QCheckBox *Keep;
+ TQCheckBox *Keep;
// keep window
KListView *packages;
@@ -74,7 +74,7 @@ public:
int bnumber;
// number of option buttons
- QLabel *title;
+ TQLabel *title;
// Widget title
kpTerm *term;
@@ -87,16 +87,16 @@ public:
protected:
// This sets up the sub-widgets
- void setupWidgets(QPtrList<param> &pars);
+ void setupWidgets(TQPtrList<param> &pars);
private slots:
virtual void pkginstallButtonClicked();
virtual void cancelButtonClicked();
- void slotSearch(QListViewItem *item);
+ void slotSearch(TQListViewItem *item);
void keepToggle(bool);
public slots:
- void slotResult(QStringList &rlist, int ret);
+ void slotResult(TQStringList &rlist, int ret);
signals:
// This signal indicates that the widget has finished.
@@ -104,25 +104,25 @@ signals:
protected:
// The layout managers
- QBoxLayout *layout, *hlayout, *vlayout;
+ TQBoxLayout *layout, *hlayout, *vlayout;
// Sub widgets
- QPushButton *installButton;
+ TQPushButton *installButton;
KPushButton *cancelButton;
- QString insType;
+ TQString insType;
bool installer;
// install or uninstall
bool keep;
// keep the window
- QPtrList<packageInfo> *packList;
+ TQPtrList<packageInfo> *packList;
void getKeep();
- void showEvent (QShowEvent *);
- void closeEvent (QCloseEvent * e );
+ void showEvent (TQShowEvent *);
+ void closeEvent (TQCloseEvent * e );
void terminate();
};
@@ -134,8 +134,8 @@ class pkgOptionsI: public pkgOptions
{
Q_OBJECT
public:
- pkgOptionsI(pkgInterface *pkg, QWidget *parent = 0);
- QString doPackages(int installFlags, QPtrList<packageInfo> *p, bool &test);
+ pkgOptionsI(pkgInterface *pkg, TQWidget *parent = 0);
+ TQString doPackages(int installFlags, TQPtrList<packageInfo> *p, bool &test);
};
///////////////////////////////////////////////////////////////////////////
@@ -144,8 +144,8 @@ class pkgOptionsU: public pkgOptions
{
Q_OBJECT
public:
- pkgOptionsU(pkgInterface *pkg, QWidget *parent = 0);
- QString doPackages(int installFlags, QPtrList<packageInfo> *p, bool &test);
+ pkgOptionsU(pkgInterface *pkg, TQWidget *parent = 0);
+ TQString doPackages(int installFlags, TQPtrList<packageInfo> *p, bool &test);
};
#endif