commit libbaloowidgets for openSUSE:Factory
Hello community, here is the log from the commit of package libbaloowidgets for openSUSE:Factory checked in at 2014-11-19 20:24:54 Comparing /work/SRC/openSUSE:Factory/libbaloowidgets (Old) and /work/SRC/openSUSE:Factory/.libbaloowidgets.new (New) Package is libbaloowidgets Changes: --- /work/SRC/openSUSE:Factory/libbaloowidgets/libbaloowidgets.changes 2014-10-16 18:11:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.libbaloowidgets.new/libbaloowidgets.changes 2014-11-19 20:27:28.0 +0100 @@ -1,0 +2,7 @@ +Sun Nov 9 20:23:46 UTC 2014 - tittiatc...@gmail.com + +- Update to 4.14.3 + * KDE 4.14.3 SC Bugfix Release + * See http://www.kde.org/announcements/announce-4.14.3.php + +--- Old: baloo-widgets-4.14.2.tar.xz New: baloo-widgets-4.14.3.tar.xz Other differences: -- ++ libbaloowidgets.spec ++ --- /var/tmp/diff_new_pack.ze9xZG/_old 2014-11-19 20:27:30.0 +0100 +++ /var/tmp/diff_new_pack.ze9xZG/_new 2014-11-19 20:27:30.0 +0100 @@ -19,7 +19,7 @@ %define rname baloo-widgets Name: libbaloowidgets -Version:4.14.2 +Version:4.14.3 Release:0 Summary:Framework for searching and managing metadata License:GPL-2.0+ and LGPL-2.1+ ++ baloo-widgets-4.14.2.tar.xz - baloo-widgets-4.14.3.tar.xz ++ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libbaloowidgets for openSUSE:Factory
Hello community, here is the log from the commit of package libbaloowidgets for openSUSE:Factory checked in at 2014-10-16 18:11:18 Comparing /work/SRC/openSUSE:Factory/libbaloowidgets (Old) and /work/SRC/openSUSE:Factory/.libbaloowidgets.new (New) Package is libbaloowidgets Changes: --- /work/SRC/openSUSE:Factory/libbaloowidgets/libbaloowidgets.changes 2014-09-18 07:57:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.libbaloowidgets.new/libbaloowidgets.changes 2014-10-16 18:11:23.0 +0200 @@ -1,0 +2,7 @@ +Sun Oct 12 11:59:01 UTC 2014 - tittiatc...@gmail.com + +- Update to 4.14.2 + * KDE 4.14.2 SC Bugfix Release + * See http://www.kde.org/announcements/announce-4.14.2.php + +--- Old: baloo-widgets-4.14.1.tar.xz New: baloo-widgets-4.14.2.tar.xz Other differences: -- ++ libbaloowidgets.spec ++ --- /var/tmp/diff_new_pack.fVttrB/_old 2014-10-16 18:11:24.0 +0200 +++ /var/tmp/diff_new_pack.fVttrB/_new 2014-10-16 18:11:24.0 +0200 @@ -19,7 +19,7 @@ %define rname baloo-widgets Name: libbaloowidgets -Version:4.14.1 +Version:4.14.2 Release:0 Summary:Framework for searching and managing metadata License:GPL-2.0+ and LGPL-2.1+ ++ baloo-widgets-4.14.1.tar.xz - baloo-widgets-4.14.2.tar.xz ++ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libbaloowidgets for openSUSE:Factory
Hello community, here is the log from the commit of package libbaloowidgets for openSUSE:Factory checked in at 2014-09-18 07:57:07 Comparing /work/SRC/openSUSE:Factory/libbaloowidgets (Old) and /work/SRC/openSUSE:Factory/.libbaloowidgets.new (New) Package is libbaloowidgets Changes: --- /work/SRC/openSUSE:Factory/libbaloowidgets/libbaloowidgets.changes 2014-08-25 10:58:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.libbaloowidgets.new/libbaloowidgets.changes 2014-09-18 07:57:32.0 +0200 @@ -1,0 +2,7 @@ +Sat Sep 13 16:20:40 UTC 2014 - tittiatc...@gmail.com + +- Update to 4.14.1 + * KDE 4.14.1 SC Bugfix Release + * See http://www.kde.org/announcements/announce-4.14.1.php + +--- @@ -6 +13 @@ - * See http://www.kde.org/announcements/4.13/ + * See http://www.kde.org/announcements/4.14/ Old: baloo-widgets-4.14.0.tar.xz New: baloo-widgets-4.14.1.tar.xz Other differences: -- ++ libbaloowidgets.spec ++ --- /var/tmp/diff_new_pack.7cS4qF/_old 2014-09-18 07:57:33.0 +0200 +++ /var/tmp/diff_new_pack.7cS4qF/_new 2014-09-18 07:57:33.0 +0200 @@ -19,7 +19,7 @@ %define rname baloo-widgets Name: libbaloowidgets -Version:4.14.0 +Version:4.14.1 Release:0 Summary:Framework for searching and managing metadata License:GPL-2.0+ and LGPL-2.1+ ++ baloo-widgets-4.14.0.tar.xz - baloo-widgets-4.14.1.tar.xz ++ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libbaloowidgets for openSUSE:Factory
Hello community, here is the log from the commit of package libbaloowidgets for openSUSE:Factory checked in at 2014-08-25 10:58:09 Comparing /work/SRC/openSUSE:Factory/libbaloowidgets (Old) and /work/SRC/openSUSE:Factory/.libbaloowidgets.new (New) Package is libbaloowidgets Changes: --- /work/SRC/openSUSE:Factory/libbaloowidgets/libbaloowidgets.changes 2014-07-16 16:20:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.libbaloowidgets.new/libbaloowidgets.changes 2014-08-25 10:58:12.0 +0200 @@ -1,0 +2,14 @@ +Fri Aug 15 08:18:09 UTC 2014 - tittiatc...@gmail.com + +- Update to 4.14.0 + * KDE 4.14.0 SC Final Release + * See http://www.kde.org/announcements/4.13/ + +--- +Thu Jul 17 16:43:42 UTC 2014 - cgiboude...@gmx.com + +- Update to 4.13.90 + * KDE 4.14 Beta 2 release + * See http://www.kde.org/announcements/announce-4.14-beta2.php + +--- Old: baloo-widgets-4.13.80.tar.xz New: baloo-widgets-4.14.0.tar.xz Other differences: -- ++ libbaloowidgets.spec ++ --- /var/tmp/diff_new_pack.mTJPgA/_old 2014-08-25 10:58:13.0 +0200 +++ /var/tmp/diff_new_pack.mTJPgA/_new 2014-08-25 10:58:13.0 +0200 @@ -19,7 +19,7 @@ %define rname baloo-widgets Name: libbaloowidgets -Version:4.13.80 +Version:4.14.0 Release:0 Summary:Framework for searching and managing metadata License:GPL-2.0+ and LGPL-2.1+ ++ baloo-widgets-4.13.80.tar.xz - baloo-widgets-4.14.0.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/baloo-widgets-4.13.80/src/filemetadataprovider.cpp new/baloo-widgets-4.14.0/src/filemetadataprovider.cpp --- old/baloo-widgets-4.13.80/src/filemetadataprovider.cpp 2014-05-23 15:37:47.0 +0200 +++ new/baloo-widgets-4.14.0/src/filemetadataprovider.cpp 2014-08-04 18:27:37.0 +0200 @@ -352,7 +352,7 @@ const KFileItem item = items.first(); const QString url = item.localPath(); -if (!d-m_config.shouldBeIndexed(url)) { +if (!d-m_config.fileIndexingEnabled() || !d-m_config.shouldBeIndexed(url)) { IndexedDataRetriever *ret = new IndexedDataRetriever(url, this); connect(ret, SIGNAL(finished(KJob*)), this, SLOT(slotLoadingFinished(KJob*))); ret-start(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/baloo-widgets-4.13.80/src/querybuilder.cpp new/baloo-widgets-4.14.0/src/querybuilder.cpp --- old/baloo-widgets-4.13.80/src/querybuilder.cpp 2014-05-23 15:37:47.0 +0200 +++ new/baloo-widgets-4.14.0/src/querybuilder.cpp 2014-08-04 18:27:37.0 +0200 @@ -156,7 +156,7 @@ replacement += QLatin1Char(' '); } -if (part.at(0) == QLatin1Char('%')) { +if (part.at(0) == QLatin1Char('$')) { cursor_offset = replacement.length() + value.length(); replacement += value; } else { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/baloo-widgets-4.13.80/src/querybuildercompleter.cpp new/baloo-widgets-4.14.0/src/querybuildercompleter.cpp --- old/baloo-widgets-4.13.80/src/querybuildercompleter.cpp 2014-05-23 15:37:47.0 +0200 +++ new/baloo-widgets-4.14.0/src/querybuildercompleter.cpp 2014-08-04 18:27:37.0 +0200 @@ -66,7 +66,7 @@ proposal_text += QLatin1Char(' '); } -if (part.at(0) == QLatin1Char('%')) { +if (part.at(0) == QLatin1Char('$')) { proposal_text += QLatin1String(em); if (!value.isEmpty()) { @@ -142,7 +142,7 @@ // If the term the user is entering is a placeholder, pre-fill it if (!prefix.isEmpty() proposal-lastMatchedPart() pattern.size() -pattern.at(proposal-lastMatchedPart()).at(0) == QLatin1Char('%')) +pattern.at(proposal-lastMatchedPart()).at(0) == QLatin1Char('$')) { switch (proposal-type()) { #if 0 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libbaloowidgets for openSUSE:Factory
Hello community, here is the log from the commit of package libbaloowidgets for openSUSE:Factory checked in at 2014-07-16 16:19:10 Comparing /work/SRC/openSUSE:Factory/libbaloowidgets (Old) and /work/SRC/openSUSE:Factory/.libbaloowidgets.new (New) Package is libbaloowidgets Changes: --- /work/SRC/openSUSE:Factory/libbaloowidgets/libbaloowidgets.changes 2014-06-19 13:15:05.0 +0200 +++ /work/SRC/openSUSE:Factory/.libbaloowidgets.new/libbaloowidgets.changes 2014-07-16 16:20:12.0 +0200 @@ -1,0 +2,7 @@ +Thu Jul 10 22:16:07 UTC 2014 - cgiboude...@gmx.com + +- Update to 4.13.80 + * KDE 4.14 Beta 1 release + * See http://www.kde.org/announcements/announce-4.14-beta1.php + +--- Old: baloo-widgets-4.13.2.tar.xz New: baloo-widgets-4.13.80.tar.xz Other differences: -- ++ libbaloowidgets.spec ++ --- /var/tmp/diff_new_pack.RhMtla/_old 2014-07-16 16:20:12.0 +0200 +++ /var/tmp/diff_new_pack.RhMtla/_new 2014-07-16 16:20:12.0 +0200 @@ -19,7 +19,7 @@ %define rname baloo-widgets Name: libbaloowidgets -Version:4.13.2 +Version:4.13.80 Release:0 Summary:Framework for searching and managing metadata License:GPL-2.0+ and LGPL-2.1+ ++ baloo-widgets-4.13.2.tar.xz - baloo-widgets-4.13.80.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/baloo-widgets-4.13.2/src/CMakeLists.txt new/baloo-widgets-4.13.80/src/CMakeLists.txt --- old/baloo-widgets-4.13.2/src/CMakeLists.txt 2014-03-15 16:18:39.0 +0100 +++ new/baloo-widgets-4.13.80/src/CMakeLists.txt2014-05-23 15:37:47.0 +0200 @@ -10,6 +10,9 @@ kcommentwidget.cpp metadatafilter.cpp widgetfactory.cpp + groupedlineedit.cpp + querybuilder.cpp + querybuildercompleter.cpp ) set(widgets_SRCS ${ui_SRCS}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/baloo-widgets-4.13.2/src/groupedlineedit.cpp new/baloo-widgets-4.13.80/src/groupedlineedit.cpp --- old/baloo-widgets-4.13.2/src/groupedlineedit.cpp1970-01-01 01:00:00.0 +0100 +++ new/baloo-widgets-4.13.80/src/groupedlineedit.cpp 2014-05-23 15:37:47.0 +0200 @@ -0,0 +1,208 @@ +/* This file is part of the Nepomuk widgets collection + Copyright (c) 2013 Denis Steckelmacher steckde...@yahoo.fr + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License version 2.1 as published by the Free Software Foundation, + or any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#include groupedlineedit.h + +#include QtGui/QStyleOptionFrameV3 +#include QtGui/QFontMetrics +#include QtGui/QApplication +#include QtGui/QScrollBar +#include QtGui/QTextDocument +#include QtGui/QTextBlock +#include QtGui/QTextLayout +#include QtGui/QTextLine +#include QtGui/QPainter +#include QtGui/QPainterPath +#include QtGui/QBrush +#include QtGui/QColor +#include QtGui/QPalette + +using namespace Baloo; + +struct GroupedLineEdit::Private +{ +struct Block { +int start; +int end; +}; + +QVectorBlock blocks; +QBrush base; +}; + +GroupedLineEdit::GroupedLineEdit(QWidget* parent) +: QPlainTextEdit(parent), + d(new Private) +{ +setWordWrapMode(QTextOption::NoWrap); +setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); + +setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); +setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); + +document()-setMaximumBlockCount(1); + +// Use a transparent base, to make the rectangle visible +QPalette pal = palette(); + +d-base = pal.base(); +pal.setBrush(QPalette::Base, Qt::transparent); + +setPalette(pal); +} + +GroupedLineEdit::~GroupedLineEdit() +{ +delete d; +} + +QString GroupedLineEdit::text() const +{ +// Remove the block crosses from the text +return toPlainText(); +} + +int GroupedLineEdit::cursorPosition() const +{ +return textCursor().positionInBlock(); +} + +void GroupedLineEdit::addBlock(int start, int end) +{ +Private::Block block; + +block.start = start; +
commit libbaloowidgets for openSUSE:Factory
Hello community, here is the log from the commit of package libbaloowidgets for openSUSE:Factory checked in at 2014-06-19 13:14:57 Comparing /work/SRC/openSUSE:Factory/libbaloowidgets (Old) and /work/SRC/openSUSE:Factory/.libbaloowidgets.new (New) Package is libbaloowidgets Changes: --- /work/SRC/openSUSE:Factory/libbaloowidgets/libbaloowidgets.changes 2014-05-26 14:40:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.libbaloowidgets.new/libbaloowidgets.changes 2014-06-19 13:15:05.0 +0200 @@ -1,0 +2,7 @@ +Sun Jun 8 18:27:47 UTC 2014 - tittiatc...@gmail.com + +- Update to 4.13.2 + * KDE 4.13 release + * See http://www.kde.org/announcements/announce-4.13.2.php + +--- Old: baloo-widgets-4.13.1.tar.xz New: baloo-widgets-4.13.2.tar.xz Other differences: -- ++ libbaloowidgets.spec ++ --- /var/tmp/diff_new_pack.poss6Y/_old 2014-06-19 13:15:06.0 +0200 +++ /var/tmp/diff_new_pack.poss6Y/_new 2014-06-19 13:15:06.0 +0200 @@ -19,7 +19,7 @@ %define rname baloo-widgets Name: libbaloowidgets -Version:4.13.1 +Version:4.13.2 Release:0 Summary:Framework for searching and managing metadata License:GPL-2.0+ and LGPL-2.1+ ++ baloo-widgets-4.13.1.tar.xz - baloo-widgets-4.13.2.tar.xz ++ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libbaloowidgets for openSUSE:Factory
Hello community, here is the log from the commit of package libbaloowidgets for openSUSE:Factory checked in at 2014-05-26 14:40:24 Comparing /work/SRC/openSUSE:Factory/libbaloowidgets (Old) and /work/SRC/openSUSE:Factory/.libbaloowidgets.new (New) Package is libbaloowidgets Changes: --- /work/SRC/openSUSE:Factory/libbaloowidgets/libbaloowidgets.changes 2014-04-18 12:37:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.libbaloowidgets.new/libbaloowidgets.changes 2014-05-26 14:40:32.0 +0200 @@ -1,0 +2,7 @@ +Fri May 9 16:39:59 UTC 2014 - tittiatc...@gmail.com + +- Update to 4.13.1 + * KDE 4.13.1 bug fix release + * See http://www.kde.org/announcements/announce-4.13.1.php + +--- Old: baloo-widgets-4.13.0.tar.xz New: baloo-widgets-4.13.1.tar.xz Other differences: -- ++ libbaloowidgets.spec ++ --- /var/tmp/diff_new_pack.x0U7vW/_old 2014-05-26 14:40:34.0 +0200 +++ /var/tmp/diff_new_pack.x0U7vW/_new 2014-05-26 14:40:34.0 +0200 @@ -19,7 +19,7 @@ %define rname baloo-widgets Name: libbaloowidgets -Version:4.13.0 +Version:4.13.1 Release:0 Summary:Framework for searching and managing metadata License:GPL-2.0+ and LGPL-2.1+ ++ baloo-widgets-4.13.0.tar.xz - baloo-widgets-4.13.1.tar.xz ++ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libbaloowidgets for openSUSE:Factory
Hello community, here is the log from the commit of package libbaloowidgets for openSUSE:Factory checked in at 2014-04-18 11:35:30 Comparing /work/SRC/openSUSE:Factory/libbaloowidgets (Old) and /work/SRC/openSUSE:Factory/.libbaloowidgets.new (New) Package is libbaloowidgets Changes: --- /work/SRC/openSUSE:Factory/libbaloowidgets/libbaloowidgets.changes 2014-03-30 08:06:45.0 +0200 +++ /work/SRC/openSUSE:Factory/.libbaloowidgets.new/libbaloowidgets.changes 2014-04-18 12:37:48.0 +0200 @@ -1,0 +2,7 @@ +Fri Apr 11 16:43:17 UTC 2014 - tittiatc...@gmail.com + +- Update to 4.13.0 + * KDE 4.13 release + * See http://www.kde.org/announcements/4.13/ + +--- Old: baloo-widgets-4.12.97.tar.xz New: baloo-widgets-4.13.0.tar.xz Other differences: -- ++ libbaloowidgets.spec ++ --- /var/tmp/diff_new_pack.bcTpcp/_old 2014-04-18 12:37:50.0 +0200 +++ /var/tmp/diff_new_pack.bcTpcp/_new 2014-04-18 12:37:50.0 +0200 @@ -19,7 +19,7 @@ %define rname baloo-widgets Name: libbaloowidgets -Version:4.12.97 +Version:4.13.0 Release:0 Summary:Framework for searching and managing metadata License:GPL-2.0+ and LGPL-2.1+ ++ baloo-widgets-4.12.97.tar.xz - baloo-widgets-4.13.0.tar.xz ++ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libbaloowidgets for openSUSE:Factory
Hello community, here is the log from the commit of package libbaloowidgets for openSUSE:Factory checked in at 2014-03-30 07:50:56 Comparing /work/SRC/openSUSE:Factory/libbaloowidgets (Old) and /work/SRC/openSUSE:Factory/.libbaloowidgets.new (New) Package is libbaloowidgets Changes: --- /work/SRC/openSUSE:Factory/libbaloowidgets/libbaloowidgets.changes 2014-03-18 16:01:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.libbaloowidgets.new/libbaloowidgets.changes 2014-03-30 08:06:45.0 +0200 @@ -1,0 +2,14 @@ +Thu Mar 27 17:37:12 UTC 2014 - tittiatc...@gmail.com + +- Update to 4.12.97 + * KDE 4.13 RC release + * See http://www.kde.org/announcements/announce-4.13-rc.php + +--- +Thu Mar 20 18:03:12 UTC 2014 - tittiatc...@gmail.com + +- Update to 4.12.95 + * KDE 4.13 Beta 3 release + * See http://www.kde.org/announcements/announce-4.13-beta3.php + +--- Old: baloo-widgets-4.12.90.tar.xz New: baloo-widgets-4.12.97.tar.xz Other differences: -- ++ libbaloowidgets.spec ++ --- /var/tmp/diff_new_pack.lnhCcz/_old 2014-03-30 08:09:55.0 +0200 +++ /var/tmp/diff_new_pack.lnhCcz/_new 2014-03-30 08:09:55.0 +0200 @@ -1,5 +1,5 @@ # -# spec file for package baloo-widgets +# spec file for package libbaloowidgets # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -15,19 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define rname baloo-widgets Name: libbaloowidgets -Version:4.12.90 +Version:4.12.97 Release:0 Summary:Framework for searching and managing metadata License:GPL-2.0+ and LGPL-2.1+ Group: System/GUI/KDE Source0:%{rname}-%{version}.tar.xz BuildRequires: baloo-devel -BuildRequires: kfilemetadata-devel BuildRequires: cmake BuildRequires: kde4-filesystem +BuildRequires: kfilemetadata-devel BuildRequires: libkde4-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires ++ baloo-widgets-4.12.90.tar.xz - baloo-widgets-4.12.97.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/baloo-widgets-4.12.90/src/filemetadataconfigwidget.cpp new/baloo-widgets-4.12.97/src/filemetadataconfigwidget.cpp --- old/baloo-widgets-4.12.90/src/filemetadataconfigwidget.cpp 2014-02-10 16:55:05.0 +0100 +++ new/baloo-widgets-4.12.97/src/filemetadataconfigwidget.cpp 2014-03-15 16:18:39.0 +0100 @@ -116,7 +116,7 @@ } // the item is not hidden, add it to the list -KConfig config(kmetainformationrc, KConfig::NoGlobals); +KConfig config(baloofileinformationrc, KConfig::NoGlobals); KConfigGroup settings = config.group(Show); const QString label = m_provider-label(key); @@ -176,7 +176,7 @@ void FileMetaDataConfigWidget::save() { -KConfig config(kmetainformationrc, KConfig::NoGlobals); +KConfig config(baloofileinformationrc, KConfig::NoGlobals); KConfigGroup showGroup = config.group(Show); const int count = d-m_metaDataList-count(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/baloo-widgets-4.12.90/src/filemetadataprovider.cpp new/baloo-widgets-4.12.97/src/filemetadataprovider.cpp --- old/baloo-widgets-4.12.90/src/filemetadataprovider.cpp 2014-02-10 16:55:05.0 +0100 +++ new/baloo-widgets-4.12.97/src/filemetadataprovider.cpp 2014-03-15 16:18:39.0 +0100 @@ -25,6 +25,7 @@ #include baloo/filefetchjob.h #include baloo/file.h +#include baloo/indexerconfig.h #include kfilemetadata/propertyinfo.h #include kfileitem.h @@ -82,6 +83,7 @@ QListKFileItem m_fileItems; QVariantMap m_data; +Baloo::IndexerConfig m_config; private: FileMetaDataProvider* const q; }; @@ -342,23 +344,22 @@ d-m_realTimeIndexing = false; if (items.isEmpty()) { +emit loadingFinished(); return; } -/* if( items.size() == 1 ) { const KFileItem item = items.first(); -const QUrl url = item.targetUrl(); +const QString url = item.localPath(); -if (!res.exists() ) { -IndexedDataRetriever *ret = new IndexedDataRetriever( url.toLocalFile(), this ); -connect( ret, SIGNAL(finished(KJob*)), this, SLOT(slotLoadingFinished(KJob*)) ); +if (!d-m_config.shouldBeIndexed(url)) { +IndexedDataRetriever *ret = new IndexedDataRetriever(url, this); +connect(ret, SIGNAL(finished(KJob*)), this, SLOT(slotLoadingFinished(KJob*)));