summaryrefslogtreecommitdiffstats
path: root/secpolicy/secpolicywin.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
commitaa3a1ca934bc541bddd3fa136a85f106f7da266e (patch)
tree9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /secpolicy/secpolicywin.cpp
parentb10cf7066791a2f362495890cd50c984e8025412 (diff)
downloadtdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz
tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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();
}