[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeutils/kwallet
From:       Ravikiran Rajagopal <ravi () kde ! org>
Date:       2004-02-04 0:03:50
Message-ID: 20040204000350.CB7E09840 () office ! kde ! org
[Download RAW message or body]

CVS commit by ravi: 

Fix compilation warnings for usage of obsolete class.


  M +1 -1      allyourbase.cpp   1.14
  M +3 -3      kwalleteditor.cpp   1.38
  M +2 -2      kwalletmanager.cpp   1.40
  M +2 -2      konfigurator/konfigurator.cpp   1.18


--- kdeutils/kwallet/konfigurator/konfigurator.cpp  #1.17:1.18
@@ -27,5 +27,5 @@
 #include <kdialog.h>
 #include <kgenericfactory.h>
-#include <klineeditdlg.h>
+#include <kinputdialog.h>
 #include <kpopupmenu.h>
 #include <kwallet.h>
@@ -105,5 +105,5 @@ QString KWalletConfig::newWallet() {
         bool ok;
 
-        QString n = KLineEditDlg::getText(i18n("New Wallet"),
+        QString n = KInputDialog::getText(i18n("New Wallet"),
                         i18n("Please choose a name for the new wallet:"),
                         QString::null,

--- kdeutils/kwallet/allyourbase.cpp  #1.13:1.14
@@ -366,5 +366,5 @@ KWalletIconView::~KWalletIconView() {
 }
 
-void KWalletIconView::slotDropped(QDropEvent *e, const QValueList<QIconDragItem>& lst) {
+void KWalletIconView::slotDropped(QDropEvent *e, const QValueList<QIconDragItem>& /*lst*/) {
         if (e->source() == viewport()) {
                 e->ignore();

--- kdeutils/kwallet/kwalleteditor.cpp  #1.37:1.38
@@ -29,5 +29,5 @@
 #include <kiconview.h>
 #include <kkeydialog.h>
-#include <klineeditdlg.h>
+#include <kinputdialog.h>
 #include <klocale.h>
 #include <kmessagebox.h>
@@ -255,5 +255,5 @@ void KWalletEditor::createFolder() {
 
                 do {
-                        n = KLineEditDlg::getText(i18n("New Folder"),
+                        n = KInputDialog::getText(i18n("New Folder"),
                                         i18n("Please choose a name for the new folder:"),
                                         QString::null,
@@ -520,5 +520,5 @@ void KWalletEditor::newEntry() {
 
         do {
-                n = KLineEditDlg::getText(i18n("New Entry"),
+                n = KInputDialog::getText(i18n("New Entry"),
                                 i18n("Please choose a name for the new entry:"),
                                 QString::null,

--- kdeutils/kwallet/kwalletmanager.cpp  #1.39:1.40
@@ -33,5 +33,5 @@
 #include <kiconview.h>
 #include <kkeydialog.h>
-#include <klineeditdlg.h>
+#include <kinputdialog.h>
 #include <klocale.h>
 #include <kmessagebox.h>
@@ -315,5 +315,5 @@ void KWalletManager::createWallet() {
 
         do {
-                n = KLineEditDlg::getText(i18n("New Wallet"),
+                n = KInputDialog::getText(i18n("New Wallet"),
                                 i18n("Please choose a name for the new wallet:"),
                                 QString::null,


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic