summaryrefslogtreecommitdiffstats
path: root/kio/kfile/kacleditwidget_p.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-13 08:32:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-13 08:32:36 +0000
commitf7e71d47719ab6094cf4a9fafffa5ea351973522 (patch)
tree30834aa632d442019e14f88685001d94657d060b /kio/kfile/kacleditwidget_p.h
parentb31cfd9a1ee986fe2ae9a693f3afd7f171dd897c (diff)
downloadtdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.tar.gz
tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.zip
Initial conversion for TQt for Qt4 3.4.0 TP2
This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/kfile/kacleditwidget_p.h')
-rw-r--r--kio/kfile/kacleditwidget_p.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/kio/kfile/kacleditwidget_p.h b/kio/kfile/kacleditwidget_p.h
index 8bd0292d3..9b4d9d48e 100644
--- a/kio/kfile/kacleditwidget_p.h
+++ b/kio/kfile/kacleditwidget_p.h
@@ -24,6 +24,10 @@
#include <config.h>
#endif
+#ifdef Q_MOC_RUN
+#define USE_POSIX_ACL
+#endif // Q_MOC_RUN
+
#ifdef USE_POSIX_ACL
#include <klistview.h>
#include <sys/acl.h>
@@ -45,7 +49,8 @@ class TQCheckBox;
*/
class KACLListView : public KListView
{
-Q_OBJECT
+ Q_OBJECT
+ TQ_OBJECT
friend class KACLListViewItem;
public:
enum Types
@@ -129,6 +134,7 @@ private:
class EditACLEntryDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
EditACLEntryDialog( KACLListView *listView, KACLListViewItem *item,
const TQStringList &users,
@@ -180,10 +186,10 @@ public:
void togglePerm( acl_perm_t perm );
virtual void paintCell( TQPainter *p, const TQColorGroup &cg,
- int column, int width, int alignment );
+ int column, int width, int tqalignment );
void updatePermPixmaps();
- void repaint();
+ void tqrepaint();
KACLListView::EntryType type;
unsigned short value;