summaryrefslogtreecommitdiffstats
path: root/kpackage/managementWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/managementWidget.h')
-rw-r--r--kpackage/managementWidget.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/kpackage/managementWidget.h b/kpackage/managementWidget.h
index bf1c6d1..eefc4c7 100644
--- a/kpackage/managementWidget.h
+++ b/kpackage/managementWidget.h
@@ -43,14 +43,14 @@
// Standard Headers
// Qt Headers
-#include <qframe.h>
-#include <qpushbutton.h>
-#include <qptrlist.h>
-#include <qstring.h>
-#include <qlayout.h>
-#include <qtabwidget.h>
-#include <qlabel.h>
-#include <qhbox.h>
+#include <tqframe.h>
+#include <tqpushbutton.h>
+#include <tqptrlist.h>
+#include <tqstring.h>
+#include <tqlayout.h>
+#include <tqtabwidget.h>
+#include <tqlabel.h>
+#include <tqhbox.h>
// KDE headers
#include <kaction.h>
@@ -74,12 +74,12 @@ class KpListViewSearchLine : public KListViewSearchLine
public:
- KpListViewSearchLine(QWidget *parent, KpTreeList *listView);
+ KpListViewSearchLine(TQWidget *parent, KpTreeList *listView);
~KpListViewSearchLine();
- void updateSearch(const QString &s = QString::null);
+ void updateSearch(const TQString &s = TQString::null);
private:
KpTreeList *list;
@@ -92,7 +92,7 @@ class managementWidget : public QFrame
///////////// METHODS ------------------------------------------------------
public:
- managementWidget(QWidget *parent);
+ managementWidget(TQWidget *parent);
// Constructor
~managementWidget();
@@ -108,10 +108,10 @@ public:
void doChangePackage(packageInfo *p);
// emit change package
- KpTreeListItem *search(QString str, bool subStr, bool wrap,
+ KpTreeListItem *search(TQString str, bool subStr, bool wrap,
bool start=FALSE);
protected:
- void resizeEvent(QResizeEvent *re);
+ void resizeEvent(TQResizeEvent *re);
// This is called when the widget is resized
private:
@@ -157,7 +157,7 @@ private:
void setInstallAction(KAction *a) { install_action = a; }
void setUninstallAction(KAction *a) { uninstall_action = a; }
- void packageHighlighted(QListViewItem *);
+ void packageHighlighted(TQListViewItem *);
// This is called when a package has been highlighted in the list tree
void tabChanged(int);
@@ -172,43 +172,43 @@ private:
///////////// DATA ---------------------------------------------------------
private:
- QPushButton *linstButton,*luinstButton,*instButton,*uinstButton;
+ TQPushButton *linstButton,*luinstButton,*instButton,*uinstButton;
// This button is used to (un)install the selected package
packageDisplayWidget *packageDisplay;
// This widget displays the package info / file-list
- QBoxLayout *top, *leftbox, *rightbox, *lbuttons, *rbuttons;
+ TQBoxLayout *top, *leftbox, *rightbox, *lbuttons, *rbuttons;
// These are the geometry managers
- QFrame *leftpanel, *rightpanel;
+ TQFrame *leftpanel, *rightpanel;
// frame to put QBox in
- QTabWidget *ltab;
+ TQTabWidget *ltab;
// tab between various treelist displays
- QSplitter *vPan;
+ TQSplitter *vPan;
// veritcal panner between panels
KToolBar *searchToolBar;
- QPtrList<KpTreeListItem> selList;
+ TQPtrList<KpTreeListItem> selList;
// list for selected packages
- QString tType[4];
+ TQString tType[4];
// identifiers for tree display
public:
- QPtrList<packageInfo> *allPackages;
+ TQPtrList<packageInfo> *allPackages;
// The list of packages
- QDict<packageInfo> *dirInstPackages;
+ TQDict<packageInfo> *dirInstPackages;
// maps installed package name to package
- QDict<packageInfo> *dirUninstPackages;
+ TQDict<packageInfo> *dirUninstPackages;
// maps uninstalled package name to package
- QDict<packageInfo> *dirInfoPackages;
+ TQDict<packageInfo> *dirInfoPackages;
// maps Info package name to package
KpTreeList *treeList;