kwallet
kwalletmanager.cpp
Go to the documentation of this file.
58 QDBusConnection::sessionBus().registerObject(QLatin1String( "/KWalletManager" ), this, QDBusConnection::ExportScriptableSlots);
63 KConfig cfg( QLatin1String( "kwalletrc" )); // not sure why this setting isn't in kwalletmanagerrc...
71 _tray->setToolTip( QLatin1String( "wallet-closed" ), i18n("KDE Wallet"), i18n("No wallets open."));
78 _tray->setToolTip( QLatin1String( "wallet-open" ), i18n("KDE Wallet"), i18n("A wallet is open."));
100 m_kwalletdModule = new org::kde::KWallet(QLatin1String( "org.kde.kwalletd" ), QLatin1String( "/modules/kwalletd" ), QDBusConnection::sessionBus());
192 _tray->setToolTip( QLatin1String( "wallet-open" ), i18n("KDE Wallet"), i18n("A wallet is open."));
216 rc = KMessageBox::warningYesNo(this, i18n("Unable to close wallet cleanly. It is probably in use by other applications. Do you wish to force it closed?"), QString(), KGuiItem(i18n("Force Closure")), KGuiItem(i18n("Do Not Force")));
243 _tray->setToolTip( QLatin1String( "wallet-closed" ), i18n("KDE Wallet"), i18n("No wallets open."));
267 void KWalletManager::possiblyRescan(const QString& app, const QString& oldOwner, const QString& newOwner) {
279 QRegExpValidator validator(QRegExp( QLatin1String( "^[\\w\\^\\&\\'\\@\\{\\}\\[\\]\\,\\$\\=\\!\\-\\#\\(\\)\\%\\.\\+\\_\\s]+$" )), this);
282 // FIXME: KMessageBox::warningYesNo(this, i1_8n("KWallet is not enabled. Do you want to enable it?"), QString(), i18n("Enable"), i18n("Keep Disabled"));
295 int rc = KMessageBox::questionYesNo(this, i18n("Sorry, that wallet already exists. Try a new name?"), QString(), KGuiItem(i18n("Try New")), KGuiItem(i18n("Do Not Try")));
317 int rc = KMessageBox::warningContinueCancel(this, i18n("Are you sure you wish to delete the wallet '%1'?", walletName),QString(),KStandardGuiItem::del());
bool openWallet(const QString &name)
Definition: kwalletmanagerwidget.cpp:109
void walletCreated(const QString &walletName)
Definition: kwalletmanager.cpp:204
void setText(const QString &text)
void setIcon(const QIcon &icon)
bool registerObject(const QString &path, QObject *object, QFlags< QDBusConnection::RegisterOption > options)
void openWallet(const QString &walletName)
Definition: kwalletmanager.cpp:327
QDBusConnection sessionBus()
void clear()
static void createActions(KActionCollection *actionCollection)
Definition: registercreateactionmethod.cpp:32
Q_SCRIPTABLE void updateWalletDisplay()
Definition: kwalletmanager.cpp:200
bool openWalletFile(const QString &path)
Definition: kwalletmanagerwidget.cpp:102
void openWalletFile(const QString &path)
Definition: kwalletmanager.cpp:234
bool isEmpty() const
bool isEmpty() const
int removeAll(const T &value)
typedef WFlags
iterator end()
bool hasWallet(const QString &) const
Definition: kwalletmanagerwidget.cpp:97
KWalletManager(QWidget *parent=0, const char *name=0, Qt::WFlags f=0)
Definition: kwalletmanager.cpp:52
void changeWalletPassword(const QString &walletName)
Definition: kwalletmanager.cpp:228
Definition: kwalleteditor.cpp:945
typedef ConstIterator
Q_SCRIPTABLE void allWalletsClosed()
Definition: kwalletmanager.cpp:240
void updateWalletDisplay(QString selectWallet=QString())
Definition: kwalletmanagerwidget.cpp:52
void closeWallet(const QString &walletName)
Definition: kwalletmanager.cpp:213
Definition: kwalletmanagerwidget.h:29
const QString & activeWalletName() const
Definition: kwalletmanagerwidget.cpp:120
iterator begin()
Definition: kwalleteditor.cpp:945
Q_SCRIPTABLE void aWalletWasOpened()
Definition: kwalletmanager.cpp:189
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.