summaryrefslogtreecommitdiffstats
path: root/kpackage/managementWidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
commitb09bffed6b43262948018dfb0f11890850ddf7c1 (patch)
tree138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /kpackage/managementWidget.h
parent6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff)
downloadtdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.tar.gz
tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.zip
TQt4 port kdeadmin
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpackage/managementWidget.h')
-rw-r--r--kpackage/managementWidget.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/kpackage/managementWidget.h b/kpackage/managementWidget.h
index 6e65372..56fcfb5 100644
--- a/kpackage/managementWidget.h
+++ b/kpackage/managementWidget.h
@@ -42,7 +42,7 @@
#include "../config.h"
// Standard Headers
-// Qt Headers
+// TQt Headers
#include <tqframe.h>
#include <tqpushbutton.h>
#include <tqptrlist.h>
@@ -71,28 +71,30 @@ class managementWidget;
class KpListViewSearchLine : public KListViewSearchLine
{
Q_OBJECT
+ TQ_OBJECT
public:
- KpListViewSearchLine(TQWidget *parent, KpTreeList *listView);
+ KpListViewSearchLine(TQWidget *tqparent, KpTreeList *listView);
~KpListViewSearchLine();
- void updateSearch(const TQString &s = TQString::null);
+ void updateSearch(const TQString &s = TQString());
private:
KpTreeList *list;
};
-class managementWidget : public QFrame
+class managementWidget : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
///////////// METHODS ------------------------------------------------------
public:
- managementWidget(TQWidget *parent);
+ managementWidget(TQWidget *tqparent);
// Constructor
~managementWidget();
@@ -179,10 +181,10 @@ private:
// This widget displays the package info / file-list
TQBoxLayout *top, *leftbox, *rightbox, *lbuttons, *rbuttons;
- // These are the geometry managers
+ // These are the tqgeometry managers
TQFrame *leftpanel, *rightpanel;
- // frame to put QBox in
+ // frame to put TQBox in
TQTabWidget *ltab;
// tab between various treelist displays