summaryrefslogtreecommitdiffstats
path: root/kpackage/kplview.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/kplview.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/kplview.h')
-rw-r--r--kpackage/kplview.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/kpackage/kplview.h b/kpackage/kplview.h
index 7931c99..1bbd08f 100644
--- a/kpackage/kplview.h
+++ b/kpackage/kplview.h
@@ -32,11 +32,11 @@
// Standard Headers
// Qt Headers
-#include <qframe.h>
-#include <qpushbutton.h>
-#include <qptrlist.h>
-#include <qstring.h>
-#include <qlayout.h>
+#include <tqframe.h>
+#include <tqpushbutton.h>
+#include <tqptrlist.h>
+#include <tqstring.h>
+#include <tqlayout.h>
// KDE headers
#include "klistview.h"
@@ -52,9 +52,9 @@ class KpTreeList: public KListView
Q_OBJECT
public:
- KpTreeList ( QWidget * parent = 0);
+ KpTreeList ( TQWidget * parent = 0);
- void contentsMousePressEvent ( QMouseEvent * e );
+ void contentsMousePressEvent ( TQMouseEvent * e );
bool inMark(int x);
@@ -64,7 +64,7 @@ public:
KpTreeListItem *markPkg;
- QPtrList<KpTreeListItem> stack;
+ TQPtrList<KpTreeListItem> stack;
// Stack of jumped to packages
void sweep(bool init);
@@ -72,7 +72,7 @@ public:
void expand();
// sweep tree expanding everything
- void findMarked(KpTreeListItem *item, QPtrList<KpTreeListItem> &selList);
+ void findMarked(KpTreeListItem *item, TQPtrList<KpTreeListItem> &selList);
// generate list of marked tree items
void clearMarked(KpTreeListItem *item);
// unmark marked tree items
@@ -95,12 +95,12 @@ public:
void countMarked(KpTreeListItem *, int &cntInstall, int &cntUnInstall);
// Count marked packages that can be installed/uninstalled
- void packageHighlighted(QListViewItem *item, packageDisplayWidget *packageDisplay);
+ void packageHighlighted(TQListViewItem *item, packageDisplayWidget *packageDisplay);
// A package has been highlighted in the list tree
- KpTreeListItem *search(const QString &str, const QString &head,
+ KpTreeListItem *search(const TQString &str, const TQString &head,
KpTreeListItem *start = 0);
- KpTreeListItem *search(const QString &str, bool subStr, bool wrap, bool start);
+ KpTreeListItem *search(const TQString &str, bool subStr, bool wrap, bool start);
// search for a package in tree
KpTreeListItem *changePack(KpTreeListItem *searchResult, bool push = true);
// Change to other package
@@ -137,7 +137,7 @@ private:
KpTreeListItem *searchCitem;
bool searchSkip, searchSubstr;
- QString searchStr;
+ TQString searchStr;
KpTreeListItem *searchResult;
// globals used by searchChild for start from current position,
// skip to current item before search flag, substring search flag,
@@ -155,20 +155,20 @@ signals:
class KpTreeListItem : public QListViewItem
{
public:
- KpTreeListItem( QListViewItem *parent, packageInfo* pinfo,
- const QPixmap& thePixmap,
- QString label1 = 0, QString label2 = 0,
- QString label3 = 0, QString label4 = 0,
- QString label5 = 0, QString label6 = 0,
- QString label7 = 0, QString label8 = 0);
+ KpTreeListItem( TQListViewItem *parent, packageInfo* pinfo,
+ const TQPixmap& thePixmap,
+ TQString label1 = 0, TQString label2 = 0,
+ TQString label3 = 0, TQString label4 = 0,
+ TQString label5 = 0, TQString label6 = 0,
+ TQString label7 = 0, TQString label8 = 0);
KpTreeListItem( KListView *parent, packageInfo* pinfo,
- const QPixmap& thePixmap,
- QString label1 = 0, QString label2 = 0,
- QString label3 = 0, QString label4 = 0,
- QString label5 = 0, QString label6 = 0,
- QString label7 = 0, QString label8 = 0);
+ const TQPixmap& thePixmap,
+ TQString label1 = 0, TQString label2 = 0,
+ TQString label3 = 0, TQString label4 = 0,
+ TQString label5 = 0, TQString label6 = 0,
+ TQString label7 = 0, TQString label8 = 0);
KpTreeListItem *firstChild();
@@ -181,7 +181,7 @@ public:
void hide();
void show();
- virtual int compare( QListViewItem *i, int col, bool ascending ) const;
+ virtual int compare( TQListViewItem *i, int col, bool ascending ) const;
packageInfo *info;
bool marked;