summaryrefslogtreecommitdiffstats
path: root/secpolicy/secpolicywin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'secpolicy/secpolicywin.cpp')
-rw-r--r--secpolicy/secpolicywin.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/secpolicy/secpolicywin.cpp b/secpolicy/secpolicywin.cpp
index 64a454d..f74c4e9 100644
--- a/secpolicy/secpolicywin.cpp
+++ b/secpolicy/secpolicywin.cpp
@@ -28,7 +28,7 @@
#include <kmenubar.h>
#include <kdialog.h>
#include <dcopclient.h>
-#include <qpopupmenu.h>
+#include <tqpopupmenu.h>
#include <kstdaccel.h>
#include "pamview.h"
@@ -41,11 +41,11 @@ SecPolicyWin::SecPolicyWin(const char *name)
setCentralWidget(view);
KMenuBar *mBar = menuBar();
- QPopupMenu *fileMenu = new QPopupMenu(this);
- fileMenu->insertItem(i18n("&Quit"), kapp, SLOT(closeAllWindows()), KStdAccel::shortcut(KStdAccel::Quit));
+ TQPopupMenu *fileMenu = new TQPopupMenu(this);
+ fileMenu->insertItem(i18n("&Quit"), kapp, TQT_SLOT(closeAllWindows()), KStdAccel::shortcut(KStdAccel::Quit));
mBar->insertItem(i18n("&File"), fileMenu);
- connect(kapp, SIGNAL(lastWindowClosed()), kapp, SLOT(quit()));
+ connect(kapp, TQT_SIGNAL(lastWindowClosed()), kapp, TQT_SLOT(quit()));
adjustSize();
// work around KTMainWindow sizing bug.
@@ -58,7 +58,7 @@ SecPolicyWin::~SecPolicyWin()
{
}
-void SecPolicyWin::closeEvent(QCloseEvent *e)
+void SecPolicyWin::closeEvent(TQCloseEvent *e)
{
e->accept();
}