From a2277b6bc715464e83882b90c2a058139b8a6b54 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 23 Jun 2011 01:42:07 +0000 Subject: TQt4 port kdeutils This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kwallet/kwalletpopup.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kwallet/kwalletpopup.cpp') diff --git a/kwallet/kwalletpopup.cpp b/kwallet/kwalletpopup.cpp index bd5e75d..592c10e 100644 --- a/kwallet/kwalletpopup.cpp +++ b/kwallet/kwalletpopup.cpp @@ -28,21 +28,21 @@ #include #include -KWalletPopup::KWalletPopup(const TQString& wallet, TQWidget *parent, const char *name) -: KPopupMenu(parent, name), _walletName(wallet) { +KWalletPopup::KWalletPopup(const TQString& wallet, TQWidget *tqparent, const char *name) +: KPopupMenu(tqparent, name), _walletName(wallet) { insertTitle(wallet); KActionCollection *ac = new KActionCollection(this, "kwallet context actions"); KAction *act; - act = new KAction(i18n("&New Wallet..."), 0, 0, this, + act = new KAction(i18n("&New Wallet..."), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(createWallet()), ac, "wallet_create"); act->plug(this); - act = new KAction(i18n("&Open..."), 0, Key_Return, this, + act = new KAction(i18n("&Open..."), 0, Key_Return, TQT_TQOBJECT(this), TQT_SLOT(openWallet()), ac, "wallet_open"); act->plug(this); - act = new KAction(i18n("Change &Password..."), 0, 0, this, + act = new KAction(i18n("Change &Password..."), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(changeWalletPassword()), ac, "wallet_password"); act->plug(this); @@ -60,14 +60,14 @@ KWalletPopup::KWalletPopup(const TQString& wallet, TQWidget *parent, const char insertItem(i18n("Disconnec&t"), pm); } - act = KStdAction::close( this, + act = KStdAction::close( TQT_TQOBJECT(this), TQT_SLOT(closeWallet()), ac, "wallet_close"); // FIXME: let's track this inside the manager so we don't need a dcop // roundtrip here. act->setEnabled(KWallet::Wallet::isOpen(wallet)); act->plug(this); - act = new KAction(i18n("&Delete"), 0, Key_Delete, this, + act = new KAction(i18n("&Delete"), 0, Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(deleteWallet()), ac, "wallet_delete"); act->plug(this); } -- cgit v1.2.1