summaryrefslogtreecommitdiffstats
path: root/kpackage/kplview.h
diff options
context:
space:
mode:
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;