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

List:       kde-commits
Subject:    branches/work/kgpg2
From:       Rolf Eike Beer <kde () opensource ! sf-tec ! de>
Date:       2008-01-17 22:25:36
Message-ID: 1200608736.880389.2948.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 762814 by dakon:

Don't create an instance of KeyListView any longer

This finally removes the debris from the top left of the widget. The class and 
that stuff is still not really dead as there is some stuff left to be ported. 
We can bury it only if those stuff is handled by the new view.


 M  +8 -6      keysmanager.cpp  


--- branches/work/kgpg2/keysmanager.cpp #762813:762814
@@ -127,9 +127,6 @@
     setWindowTitle(i18n("Key Management"));
 
     m_statusbartimer = new QTimer(this);
-    keysList2 = new KeyListView(this);
-    keysList2->photoKeysList = QString();
-    keysList2->groupNb = 0;
     m_statusbar = 0;
     imodel = NULL;
     readOptions();
@@ -405,11 +402,11 @@
     exportPublicKey->setEnabled(false);
     newContact->setEnabled(false);
 
-//     setCentralWidget(keysList2);
     KConfigGroup cg = KConfigGroup(KGlobal::config().data(), "KeyView");
     iview->restoreLayout(cg);
 
-    connect(keysList2, SIGNAL(returnPressed(Q3ListViewItem *)), this, \
SLOT(defaultAction())); +#warning port me
+//     connect(keysList2, SIGNAL(returnPressed(Q3ListViewItem *)), this, \
                SLOT(defaultAction()));
     connect(photoProps, SIGNAL(activated(int)), this, SLOT(slotSetPhotoSize(int)));
 
     // get all keys data
@@ -455,7 +452,8 @@
     m_statusbar->setItemAlignment(0, Qt::AlignLeft);
     m_statusbar->changeItem("", 1);
 
-    connect(keysList2, SIGNAL(statusMessage(QString, int, bool)), this, \
SLOT(changeMessage(QString, int, bool))); +#warning port me
+//     connect(keysList2, SIGNAL(statusMessage(QString, int, bool)), this, \
                SLOT(changeMessage(QString, int, bool)));
     connect(m_statusbartimer, SIGNAL(timeout()), this, SLOT(statusBarTimeout()));
 
     s_kgpgEditor = new KgpgEditor(parent, Qt::WType_Dialog, qobject_cast<KAction \
*>(actionCollection()->action("go_default_key"))->shortcut(), true); @@ -920,6 +918,8 \
@@  if (searchString.isEmpty())
         return;
 
+return;
+#warning port me
     bool foundItem = true;
     KeyListViewItem *item = keysList2->firstChild();
     if (!item)
@@ -963,7 +963,9 @@
         findKey();
         return;
     }
+return;
 
+#warning port me
     bool foundItem = true;
     KeyListViewItem *item = keysList2->currentItem();
     if (!item)


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

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