summaryrefslogtreecommitdiffstats
path: root/secpolicy
diff options
context:
space:
mode:
Diffstat (limited to 'secpolicy')
-rw-r--r--secpolicy/pamview.cpp8
-rw-r--r--secpolicy/pamview.h5
-rw-r--r--secpolicy/ppitem.cpp4
-rw-r--r--secpolicy/ppitem.h4
-rw-r--r--secpolicy/secpolicywin.cpp2
5 files changed, 12 insertions, 11 deletions
diff --git a/secpolicy/pamview.cpp b/secpolicy/pamview.cpp
index 90a804a..895ecd1 100644
--- a/secpolicy/pamview.cpp
+++ b/secpolicy/pamview.cpp
@@ -40,8 +40,8 @@
#include <stdlib.h>
-PamView::PamView(TQWidget *parent, const char *name)
- : TQWidget(parent, name)
+PamView::PamView(TQWidget *tqparent, const char *name)
+ : TQWidget(tqparent, name)
{
TQHBoxLayout *topl = new TQHBoxLayout(this);
@@ -85,8 +85,8 @@ void PamView::initServices()
exit(1);
}
- const QFileInfoList *list = d.entryInfoList();
- QFileInfoListIterator it(*list);
+ const TQFileInfoList *list = d.entryInfoList();
+ TQFileInfoListIterator it(*list);
TQFileInfo *fi;
while ((fi = it.current()) != 0) {
servicesLB->insertItem(fi->fileName());
diff --git a/secpolicy/pamview.h b/secpolicy/pamview.h
index 2ebd31c..2ce5ddc 100644
--- a/secpolicy/pamview.h
+++ b/secpolicy/pamview.h
@@ -30,11 +30,12 @@
class TQListBox;
class TQListView;
-class PamView : public QWidget
+class PamView : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- PamView(TQWidget *parent = 0, const char *name = 0);
+ PamView(TQWidget *tqparent = 0, const char *name = 0);
virtual ~PamView();
protected:
diff --git a/secpolicy/ppitem.cpp b/secpolicy/ppitem.cpp
index 30ef550..c722b3b 100644
--- a/secpolicy/ppitem.cpp
+++ b/secpolicy/ppitem.cpp
@@ -27,8 +27,8 @@
PamPropertiesItem::PamPropertiesItem(TQString fileName,
TQStringList properties,
- TQListView *parent)
- : TQListViewItem(parent)
+ TQListView *tqparent)
+ : TQListViewItem(tqparent)
{
int i = properties.count();
if (i > 0)
diff --git a/secpolicy/ppitem.h b/secpolicy/ppitem.h
index d9204ae..5959212 100644
--- a/secpolicy/ppitem.h
+++ b/secpolicy/ppitem.h
@@ -27,11 +27,11 @@
#include <tqlistview.h>
-class PamPropertiesItem : public QListViewItem
+class PamPropertiesItem : public TQListViewItem
{
public:
PamPropertiesItem(TQString fileName, TQStringList properties,
- TQListView *parent);
+ TQListView *tqparent);
private:
TQString category, level, lib;
diff --git a/secpolicy/secpolicywin.cpp b/secpolicy/secpolicywin.cpp
index f74c4e9..1788ee1 100644
--- a/secpolicy/secpolicywin.cpp
+++ b/secpolicy/secpolicywin.cpp
@@ -49,7 +49,7 @@ SecPolicyWin::SecPolicyWin(const char *name)
adjustSize();
// work around KTMainWindow sizing bug.
- resize(sizeHint().width(), sizeHint().height() + mBar->height() +
+ resize(tqsizeHint().width(), tqsizeHint().height() + mBar->height() +
KDialog::marginHint());
show();
}