diff options
Diffstat (limited to 'tdewallet/tdewalletpopup.cpp')
-rw-r--r-- | tdewallet/tdewalletpopup.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tdewallet/tdewalletpopup.cpp b/tdewallet/tdewalletpopup.cpp index 92cbe40..5639f55 100644 --- a/tdewallet/tdewalletpopup.cpp +++ b/tdewallet/tdewalletpopup.cpp @@ -34,16 +34,16 @@ TDEWalletPopup::TDEWalletPopup(const TQString& wallet, TQWidget *parent, const c TDEActionCollection *ac = new TDEActionCollection(this, "tdewallet context actions"); TDEAction *act; - act = new TDEAction(i18n("&New Wallet..."), 0, 0, TQT_TQOBJECT(this), - TQT_SLOT(createWallet()), ac, "wallet_create"); + act = new TDEAction(i18n("&New Wallet..."), 0, 0, this, + TQ_SLOT(createWallet()), ac, "wallet_create"); act->plug(this); - act = new TDEAction(i18n("&Open..."), 0, Key_Return, TQT_TQOBJECT(this), - TQT_SLOT(openWallet()), ac, "wallet_open"); + act = new TDEAction(i18n("&Open..."), 0, Key_Return, this, + TQ_SLOT(openWallet()), ac, "wallet_open"); act->plug(this); - act = new TDEAction(i18n("Change &Password..."), 0, 0, TQT_TQOBJECT(this), - TQT_SLOT(changeWalletPassword()), ac, "wallet_password"); + act = new TDEAction(i18n("Change &Password..."), 0, 0, this, + TQ_SLOT(changeWalletPassword()), ac, "wallet_password"); act->plug(this); TQStringList ul = TDEWallet::Wallet::users(wallet); @@ -52,7 +52,7 @@ TDEWalletPopup::TDEWalletPopup(const TQString& wallet, TQWidget *parent, const c int id = 7000; for (TQStringList::Iterator it = ul.begin(); it != ul.end(); ++it) { _appMap[id] = *it; - pm->insertItem(*it, this, TQT_SLOT(disconnectApp(int)), 0, id); + pm->insertItem(*it, this, TQ_SLOT(disconnectApp(int)), 0, id); pm->setItemParameter(id, id); id++; } @@ -60,15 +60,15 @@ TDEWalletPopup::TDEWalletPopup(const TQString& wallet, TQWidget *parent, const c insertItem(i18n("Disconnec&t"), pm); } - act = KStdAction::close( TQT_TQOBJECT(this), - TQT_SLOT(closeWallet()), ac, "wallet_close"); + act = KStdAction::close( this, + TQ_SLOT(closeWallet()), ac, "wallet_close"); // FIXME: let's track this inside the manager so we don't need a dcop // roundtrip here. act->setEnabled(TDEWallet::Wallet::isOpen(wallet)); act->plug(this); - act = new TDEAction(i18n("&Delete"), 0, Key_Delete, TQT_TQOBJECT(this), - TQT_SLOT(deleteWallet()), ac, "wallet_delete"); + act = new TDEAction(i18n("&Delete"), 0, Key_Delete, this, + TQ_SLOT(deleteWallet()), ac, "wallet_delete"); act->plug(this); } |