summaryrefslogtreecommitdiffstats
path: root/kpackage/kpackage.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/kpackage.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/kpackage.h')
-rw-r--r--kpackage/kpackage.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/kpackage/kpackage.h b/kpackage/kpackage.h
index 7fda9bb..dcb55fa 100644
--- a/kpackage/kpackage.h
+++ b/kpackage/kpackage.h
@@ -51,7 +51,7 @@ class Options;
class pkgInterface;
class managementWidget;
class KAccel;
-class QDropEevnt;
+class TQDropEevnt;
class KRecentFilesAction;
class KAction;
class kpRun;
@@ -60,13 +60,14 @@ class kpRun;
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
-class KPACKAGE : public QWidget
+class KPACKAGE : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
///////////// METHODS ------------------------------------------------------
public:
- KPACKAGE(KConfig *_config, TQWidget *parent);
+ KPACKAGE(KConfig *_config, TQWidget *tqparent);
// Constructor
~KPACKAGE();
@@ -76,13 +77,13 @@ public:
OPEN_READONLY = 2,
OPEN_INSERT = 4 };
- void setStatus(const TQString &s);
+ void settqStatus(const TQString &s);
// this sets the status bar's string to s
void setPercent(int x);
// this set the status bar's progress to x
- TQString getStatus();
+ TQString gettqStatus();
// this gets the current status string on the status bar
// void setMode(int newmode, pkgInterface *type, int refresh);
@@ -158,7 +159,7 @@ public slots:
void fileOpenUrl();
// menu item FIle->OpenUrl
- void find();
+ void tqfind();
// search for package
void findf();
@@ -222,13 +223,14 @@ private:
class KPKG : public KMainWindow
{
Q_OBJECT
+ TQ_OBJECT
enum { Tback = 1,
Tforward = 2,
Tfileopen = 3,
Tftout = 4,
Tftin = 5,
- Tfind = 6,
+ Ttqfind = 6,
Tfindf = 7,
Treload = 8
};
@@ -276,7 +278,7 @@ private:
TQStrList recent_files;
KAction *pack_open;
- KAction *pack_find;
+ KAction *pack_tqfind;
KAction *pack_findf;
KAction *kpack_reload;
KAction *pack_prev;