summaryrefslogtreecommitdiffstats
path: root/kpackage/managementWidget.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/managementWidget.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/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;