diff options
Diffstat (limited to 'kopete/kopete/contactlist')
-rw-r--r-- | kopete/kopete/contactlist/CMakeLists.txt | 40 | ||||
-rw-r--r-- | kopete/kopete/contactlist/kopetegroupviewitem.cpp | 3 |
2 files changed, 41 insertions, 2 deletions
diff --git a/kopete/kopete/contactlist/CMakeLists.txt b/kopete/kopete/contactlist/CMakeLists.txt new file mode 100644 index 00000000..741d3e0f --- /dev/null +++ b/kopete/kopete/contactlist/CMakeLists.txt @@ -0,0 +1,40 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +# FIXME no XRENDER support yet + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/kopete/libkopete/ui + ${CMAKE_BINARY_DIR}/kopete/kopete/addcontactwizard + ${CMAKE_SOURCE_DIR}/kopete/libkopete/private + ${CMAKE_SOURCE_DIR}/kopete/libkopete + ${CMAKE_SOURCE_DIR}/kopete/libkopete/ui + ${CMAKE_SOURCE_DIR}/kopete/kopete + ${CMAKE_SOURCE_DIR}/kopete/kopete/addcontactwizard + ${CMAKE_SOURCE_DIR}/kopete/kopete/chatwindow + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### kopetecontactlist (static) ################ + +tde_add_library( kopetecontactlist STATIC_PIC AUTOMOC + SOURCES + kopetemetacontactlvi.cpp kopetestatusgroupviewitem.cpp + kopetegroupviewitem.cpp kopetecontactlistview.cpp + kopetegvipropswidget.ui kopetemetalvipropswidget.ui + kopetelviprops.cpp kopeteaddrbookexport.cpp + kopeteaddrbookexportui.ui customnotifications.ui + customnotificationprops.cpp kopetegrouplistaction.cpp + kabcexport.cpp kabcexport_base.ui +) diff --git a/kopete/kopete/contactlist/kopetegroupviewitem.cpp b/kopete/kopete/contactlist/kopetegroupviewitem.cpp index ab375540..b28b7cb3 100644 --- a/kopete/kopete/contactlist/kopetegroupviewitem.cpp +++ b/kopete/kopete/contactlist/kopetegroupviewitem.cpp @@ -174,8 +174,7 @@ void KopeteGroupViewItem::refreshDisplayName() // Sorting in this slot is extremely expensive as it's called dozens of times and // the sorting itself is rather slow. Therefore we call delayedSort, which tries // to group multiple sort requests into one. - using namespace Kopete::UI::ListView; - if ( ListView::ListView *lv = dynamic_cast<ListView::ListView *>( listView() ) ) + if ( Kopete::UI::ListView::ListView *lv = dynamic_cast<Kopete::UI::ListView::ListView *>( listView() ) ) lv->delayedSort(); else listView()->sort(); |