diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-08-27 23:21:30 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-08-27 23:21:30 -0500 |
commit | d92b2b168d2b74a37c7efe41711b86c64648ddca (patch) | |
tree | 887f720d37c8096a4cad238959eaf9ade3e5723c /tdewallet/konfigurator | |
parent | 8dd7e486be4b95d8336f9cf7e84eb0ee90812032 (diff) | |
download | tdeutils-d92b2b168d2b74a37c7efe41711b86c64648ddca.tar.gz tdeutils-d92b2b168d2b74a37c7efe41711b86c64648ddca.zip |
Rename KWallet to TDEWallet
Diffstat (limited to 'tdewallet/konfigurator')
-rw-r--r-- | tdewallet/konfigurator/konfigurator.cpp | 40 | ||||
-rw-r--r-- | tdewallet/konfigurator/konfigurator.h | 6 | ||||
-rw-r--r-- | tdewallet/konfigurator/tdewalletconfig.desktop | 4 | ||||
-rw-r--r-- | tdewallet/konfigurator/tdewalletmanager_show.desktop | 2 |
4 files changed, 26 insertions, 26 deletions
diff --git a/tdewallet/konfigurator/konfigurator.cpp b/tdewallet/konfigurator/konfigurator.cpp index 3d3c2c3..ad7c587 100644 --- a/tdewallet/konfigurator/konfigurator.cpp +++ b/tdewallet/konfigurator/konfigurator.cpp @@ -37,11 +37,11 @@ #include <tqpushbutton.h> #include <tqspinbox.h> -typedef KGenericFactory<KWalletConfig, TQWidget> KWalletFactory; -K_EXPORT_COMPONENT_FACTORY(kcm_tdewallet, KWalletFactory("kcmtdewallet")) +typedef KGenericFactory<TDEWalletConfig, TQWidget> TDEWalletFactory; +K_EXPORT_COMPONENT_FACTORY(kcm_tdewallet, TDEWalletFactory("kcmtdewallet")) -KWalletConfig::KWalletConfig(TQWidget *parent, const char *name, const TQStringList&) -: TDECModule(KWalletFactory::instance(), parent, name) { +TDEWalletConfig::TDEWalletConfig(TQWidget *parent, const char *name, const TQStringList&) +: TDECModule(TDEWalletFactory::instance(), parent, name) { TDEAboutData *about = new TDEAboutData(I18N_NOOP("kcmtdewallet"), @@ -83,13 +83,13 @@ KWalletConfig::KWalletConfig(TQWidget *parent, const char *name, const TQStringL } -KWalletConfig::~KWalletConfig() { +TDEWalletConfig::~TDEWalletConfig() { delete _cfg; _cfg = 0L; } -void KWalletConfig::updateWalletLists() { +void TDEWalletConfig::updateWalletLists() { TQString p1, p2; p1 = _wcw->_localWallet->currentText(); p2 = _wcw->_defaultWallet->currentText(); @@ -97,7 +97,7 @@ void KWalletConfig::updateWalletLists() { _wcw->_localWallet->clear(); _wcw->_defaultWallet->clear(); - TQStringList wl = KWallet::Wallet::walletList(); + TQStringList wl = TDEWallet::Wallet::walletList(); _wcw->_localWallet->insertStringList(wl); _wcw->_defaultWallet->insertStringList(wl); @@ -111,7 +111,7 @@ void KWalletConfig::updateWalletLists() { } -TQString KWalletConfig::newWallet() { +TQString TDEWalletConfig::newWallet() { bool ok; TQString n = KInputDialog::getText(i18n("New Wallet"), @@ -124,7 +124,7 @@ TQString KWalletConfig::newWallet() { return TQString(); } - KWallet::Wallet *w = KWallet::Wallet::openWallet(n); + TDEWallet::Wallet *w = TDEWallet::Wallet::openWallet(n); if (!w) { return TQString(); } @@ -134,7 +134,7 @@ TQString KWalletConfig::newWallet() { } -void KWalletConfig::newLocalWallet() { +void TDEWalletConfig::newLocalWallet() { TQString n = newWallet(); if (n.isEmpty()) { return; @@ -148,7 +148,7 @@ void KWalletConfig::newLocalWallet() { } -void KWalletConfig::newNetworkWallet() { +void TDEWalletConfig::newNetworkWallet() { TQString n = newWallet(); if (n.isEmpty()) { return; @@ -162,7 +162,7 @@ void KWalletConfig::newNetworkWallet() { } -void KWalletConfig::launchManager() { +void TDEWalletConfig::launchManager() { if (!DCOPClient::mainClient()->isApplicationRegistered("tdewalletmanager")) { TDEApplication::startServiceByDesktopName("tdewalletmanager_show"); } else { @@ -173,15 +173,15 @@ void KWalletConfig::launchManager() { } -void KWalletConfig::configChanged() { +void TDEWalletConfig::configChanged() { emit changed(true); } -void KWalletConfig::load() { +void TDEWalletConfig::load() { load( false ); } -void KWalletConfig::load(bool useDefaults) { +void TDEWalletConfig::load(bool useDefaults) { TDEConfigGroup config(_cfg, "Wallet"); config.setReadDefaults( useDefaults ); _wcw->_enabled->setChecked(config.readBoolEntry("Enabled", true)); @@ -234,7 +234,7 @@ void KWalletConfig::load(bool useDefaults) { } -void KWalletConfig::save() { +void TDEWalletConfig::save() { TDEConfigGroup config(_cfg, "Wallet"); config.writeEntry("Enabled", _wcw->_enabled->isChecked()); config.writeEntry("Launch Manager", _wcw->_launchManager->isChecked()); @@ -290,17 +290,17 @@ void KWalletConfig::save() { } -void KWalletConfig::defaults() { +void TDEWalletConfig::defaults() { load( true ); } -TQString KWalletConfig::quickHelp() const { +TQString TDEWalletConfig::quickHelp() const { return i18n("This configuration module allows you to configure the KDE wallet system."); } -void KWalletConfig::contextMenuRequested(TQListViewItem *item, const TQPoint& pos, int col) { +void TDEWalletConfig::contextMenuRequested(TQListViewItem *item, const TQPoint& pos, int col) { Q_UNUSED(col) if (item && item->parent()) { TDEPopupMenu *m = new TDEPopupMenu(this); @@ -311,7 +311,7 @@ void KWalletConfig::contextMenuRequested(TQListViewItem *item, const TQPoint& po } -void KWalletConfig::deleteEntry() { +void TDEWalletConfig::deleteEntry() { TQListViewItem *item = _wcw->_accessList->selectedItem(); if (item) { delete item; diff --git a/tdewallet/konfigurator/konfigurator.h b/tdewallet/konfigurator/konfigurator.h index 418d2e5..159e629 100644 --- a/tdewallet/konfigurator/konfigurator.h +++ b/tdewallet/konfigurator/konfigurator.h @@ -26,12 +26,12 @@ class TDEConfig; class WalletConfigWidget; class TQListViewItem; -class KWalletConfig : public TDECModule { +class TDEWalletConfig : public TDECModule { Q_OBJECT public: - KWalletConfig(TQWidget *parent = 0L, const char *name = 0L, const TQStringList& = TQStringList()); - virtual ~KWalletConfig(); + TDEWalletConfig(TQWidget *parent = 0L, const char *name = 0L, const TQStringList& = TQStringList()); + virtual ~TDEWalletConfig(); void load(); void load( bool useDefaults ); diff --git a/tdewallet/konfigurator/tdewalletconfig.desktop b/tdewallet/konfigurator/tdewalletconfig.desktop index 3b25017..b4e25ee 100644 --- a/tdewallet/konfigurator/tdewalletconfig.desktop +++ b/tdewallet/konfigurator/tdewalletconfig.desktop @@ -58,7 +58,7 @@ Comment[ca]=Configuració de carteres TDE Comment[cs]=Nastavení úschovny TDE Comment[cy]=Ffurfweddiad Waled TDE Comment[da]=TDE's indstilling af tegnebog -Comment[de]=Einrichten der "digitalen Brieftasche" (KWallet) +Comment[de]=Einrichten der "digitalen Brieftasche" (TDEWallet) Comment[el]=Ρύθμιση του πορτοφολιού του TDE Comment[es]=Configuración de la cartera de TDE Comment[et]=TDE turvalaeka seadistamine @@ -97,7 +97,7 @@ Comment[sv]=Inställning av TDE-plånbok Comment[ta]=கேடிஇ வாலட் வடிவமைப்பு Comment[tg]=TDE Танзими Ҳамён Comment[tr]=TDE Cüzdan Ayarı -Comment[uk]=Налаштування KWallet +Comment[uk]=Налаштування TDEWallet Comment[uz]=TDE qopchiq xizmatini moslash Comment[uz@cyrillic]=TDE қопчиқ хизматини мослаш Comment[zh_CN]=TDE 钱包配置 diff --git a/tdewallet/konfigurator/tdewalletmanager_show.desktop b/tdewallet/konfigurator/tdewalletmanager_show.desktop index 3de02d0..eed2ed4 100644 --- a/tdewallet/konfigurator/tdewalletmanager_show.desktop +++ b/tdewallet/konfigurator/tdewalletmanager_show.desktop @@ -39,7 +39,7 @@ Name[pt]=Ferramenta de Gestão da Carteira Name[pt_BR]=Ferramenta de Gerenciamento da Carteira Name[ro]=Administrare portofel Name[ru]=Управление паролями -Name[sk]=Nástroj na správu KWallet +Name[sk]=Nástroj na správu TDEWallet Name[sl]=Orodje za upravljanje z listnicami Name[sr]=Алат за управљање новчаником Name[sr@Latn]=Alat za upravljanje novčanikom |