Revision 1195162

Go back to digest for 14th November 2010

Features in Other

Teo Mrnjavac committed changes in /trunk/KDE/kdelibs:

Added a KWidgetItemDelegate to the social about dialog.
The model now does not use columns.
Added specific oD.o link types.
Made the Attica dependency conditional on kdelibs feature reduction.
Added Attica provider manager and provider code to KAboutApplicationPersonModel to get person data and modified KAboutData accordingly.

Retrieve a person's avatar with QNetworkAccessManager.
Added avatars with frame, text, main links and social links to person items in the delegate.
Added workaround for Qt bug 7232: Smooth scrolling (scroll per pixel) in ItemViews does not work as expected.
Numerous geometry fixes in the delegate.

Use the social about persons view for "Thanks to" credits as well.
Also removed some debug spam.

ifdef'ed libattica out if we're building a reduced feature set KDElibs.
Also many positioning fixes in the delegate, needed for the items to display nicely without attica.

Use the social view in the Translators tab too.
Many coding style fixes and cleanup.
WordWrap the translation team label.
Added i18n to strings that should be translated.
Added KDE5 comments.
Fixed license in headers.

Use KToolInvocation::invokeBrowser to launch OCS URLs.
Moved constants to the top of the file.
Removed useless painter calls.
Removed unused member m_widgetSizeHint from the delegate.
Fixed include paths.
Added clarification for a counter that starts from 2 for homepage links in the model.
Removed useless QByteArray and QPixmap ctors.
Modified OcsLink::prettyType() so that it uses a switch statement rather than a QStringList.
Replaced a static const QStringList and a static const QList< QIcon > with static const char [][].
Removed useless ctor calls from the init list of PersonProfile.
Made _ocsProviderUrl a QByteArray.

(Sorry for the noise, git svn made me lose the separate commits.)

File Changes

Added 5 files
  • /trunk/KDE/kdelibs/kdeui/dialogs
  •   /kaboutapplicationconfigattica_p.h.cmake
  •   /kaboutapplicationpersonlistdelegate_p.cpp
  •   /kaboutapplicationpersonlistdelegate_p.h
  •   /kaboutapplicationpersonmodel_p.cpp
  •   /kaboutapplicationpersonmodel_p.h
Deleted 2 files
  • /trunk/KDE/kdelibs/kdeui/dialogs
  •   /kaboutapplicationpersonlistmodel_p.cpp
  •   /kaboutapplicationpersonlistmodel_p.h
Modified 6 files
  • /trunk/KDE/kdelibs
  •   /kdeui/CMakeLists.txt
  •   /kdecore/kernel/kaboutdata.cpp
  •   /kdecore/kernel/kaboutdata.h
  •   /kdeui/dialogs/kaboutapplicationdialog.cpp
  •   /kdeui/dialogs/kaboutapplicationpersonlistview_p.cpp
  •   /kdeui/dialogs/kaboutapplicationpersonlistview_p.h
13 files changed in total