[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepimlibs/kabc/kab
From: Laurent Montel <montel () kde ! org>
Date: 2007-02-13 7:47:56
Message-ID: 1171352876.223954.22648.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 633099 by mlaurent:
Use k3listbox for it.
M +1 -1 CMakeLists.txt
M +3 -3 kabapi.cc
M +2 -2 kabapi.h
--- trunk/KDE/kdepimlibs/kabc/kab/CMakeLists.txt #633098:633099
@@ -5,7 +5,7 @@
kde4_add_executable(kab2kabc NOGUI ${kab2kabc_SRCS})
-target_link_libraries(kab2kabc ${KDE4_KDECORE_LIBS} kabc)
+target_link_libraries(kab2kabc ${KDE4_KDECORE_LIBS} kabc ${KDE4_KDE3SUPPORT_LIBS})
install(TARGETS kab2kabc DESTINATION ${BIN_INSTALL_DIR})
--- trunk/KDE/kdepimlibs/kabc/kab/kabapi.cc #633098:633099
@@ -18,7 +18,7 @@
#include <kmessagebox.h>
#include <klocale.h>
#include <kdebug.h>
-#include <klistwidget.h>
+#include <k3listbox.h>
#include "kabapi.moc"
@@ -33,7 +33,7 @@
KabAPI::KabAPI(QWidget* parent)
: KDialog(parent),
book(0),
- listbox(new KListWidget(this)),
+ listbox(new K3ListBox(this)),
selection(-1)
{
Q_CHECK_PTR(listbox);
@@ -65,7 +65,7 @@
{
listbox->clear();
- listbox->addItems(names);
+ listbox->insertStringList(names);
if (names.count()>0)
{
listbox->setCurrentItem(0);
--- trunk/KDE/kdepimlibs/kabc/kab/kabapi.h #633098:633099
@@ -20,7 +20,7 @@
#include <kdialog.h>
class QPushButton;
-class KListWidget;
+class K3ListBox;
class Q3ListBoxItem;
/**
* The class KabAPI provides a public interface to access the
@@ -185,7 +185,7 @@
/**
* This displays the overview over the addresses in the dialog.
*/
- KListWidget* listbox;
+ K3ListBox* listbox;
/**
* The index of the selected entry. This value is only valid after the
* KabAPI dialog has been executed and accepted by the user.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic