Hello community,

here is the log from the commit of package leechcraft for openSUSE:Factory 
checked in at 2014-04-14 12:32:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/leechcraft (Old)
 and      /work/SRC/openSUSE:Factory/.leechcraft.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "leechcraft"

Changes:
--------
--- /work/SRC/openSUSE:Factory/leechcraft/leechcraft-doc.changes        
2014-01-15 10:12:38.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.leechcraft.new/leechcraft-doc.changes   
2014-04-14 12:33:00.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Apr  5 11:56:18 UTC 2014 - dap.darkn...@gmail.com
+
+- 0.6.65 release.
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/leechcraft/leechcraft.changes    2014-03-11 
17:27:32.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.leechcraft.new/leechcraft.changes       
2014-04-14 12:33:00.000000000 +0200
@@ -1,0 +2,31 @@
+Sat Apr  5 11:56:18 UTC 2014 - dap.darkn...@gmail.com
+
+- 0.6.65 release:
+  * LMP audio player ReplayGain support;
+  * Azoth, the IM client, server history support (XEP-0313);
+  * XMPP Message Carbons support (XEP-0280);
+  * Monocle, the document reader, now supports annotated documents;
+  * PDF seamless scrolling without freezing the UI;
+  * The LHTR visual hypertext editor now gained
+    support for the image sources plugins (Blasq);
+  * HTML editor now supports syntax highlighting;
+  * Aggregator now supports renaming feeds;
+  * LackMan now supports vim-style navigation
+    and using Space key to toggle packages;
+  * MusicZombie now fetches all information about a single artist
+    in one request;
+  * New Life now supports importing history from Opera;
+  * Popishu text editor now supports the recoverable tabs concept;
+  * SB2 now supports hiding quarks by default;
+  * /etc/os-release is now properly parsed.
+- New plugins were enabled:
+  * CertMgr is the new SSL manager;
+  * CPU load is a monitoring quark;
+  * Ooronee handles images and text dropped onto it;
+  * Rosenthal is a core spell checker.
+- Deleted leechcraft-0.6.60-monocle-arm.patch as merged.
+- Added leechcraft-monocle-gcc47.patch
+  to prevent names constructor error.
+- Shellopen plugin amd mediacalls became obsoleted.
+
+-------------------------------------------------------------------

Old:
----
  leechcraft-0.6.60-monocle-arm.patch
  leechcraft-0.6.60.tar.xz

New:
----
  leechcraft-0.6.65.tar.xz
  leechcraft-monocle-gcc47.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ leechcraft-doc.spec ++++++
--- /var/tmp/diff_new_pack.v0mAw6/_old  2014-04-14 12:33:01.000000000 +0200
+++ /var/tmp/diff_new_pack.v0mAw6/_new  2014-04-14 12:33:01.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           leechcraft-doc
-Version:        0.6.60
+Version:        0.6.65
 Release:        0
 Summary:        Modular Internet Client Documentation
 License:        BSL-1.0

++++++ leechcraft.spec ++++++
--- /var/tmp/diff_new_pack.v0mAw6/_old  2014-04-14 12:33:01.000000000 +0200
+++ /var/tmp/diff_new_pack.v0mAw6/_new  2014-04-14 12:33:01.000000000 +0200
@@ -28,7 +28,7 @@
 %endif
 
 Name:           leechcraft
-Version:        0.6.60
+Version:        0.6.65
 Release:        0
 Summary:        Modular Internet Client
 License:        BSL-1.0
@@ -38,10 +38,8 @@
 # PATCH-FIX-OPENSUSE to prevent oS 12.2' gcc build issue:
 # "error: the value of 'w' is not usable in a constant expression".
 Patch1:         leechcraft-azoth-gcc47.patch
-# PATCH-FIX-UPSTREAM to prevent arm6-7 build issue:
-# "error: no matching function for call to 'max(double&, qreal)'";
-# https://github.com/0xd34df00d/leechcraft/commit/ef3fdc
-Patch2:         leechcraft-0.6.60-monocle-arm.patch
+# PATCH-FIX-OPENSUSE vs. names constructor error.
+Patch3:         leechcraft-monocle-gcc47.patch
 
 BuildRequires:  Qross-devel
 %if 0%{?suse_version} > 1230
@@ -66,6 +64,9 @@
 BuildRequires:  libotr-devel
 BuildRequires:  libqscintilla-devel
 BuildRequires:  libqt4-sql
+%if 0%{?suse_version} > 1310
+BuildRequires:  libqxt-devel
+%endif
 BuildRequires:  libsensors4-devel
 BuildRequires:  libtidy-devel
 %if 0%{?suse_version} == 1310
@@ -121,7 +122,7 @@
 BuildRequires:  pkgconfig(poppler-cpp)
 BuildRequires:  pkgconfig(poppler-qt4)
 BuildRequires:  pkgconfig(qca2)
-BuildRequires:  pkgconfig(qxmpp) >= 0.7.4
+BuildRequires:  pkgconfig(qxmpp) >= 0.8
 BuildRequires:  pkgconfig(udev)
 BuildRequires:  pkgconfig(xcomposite)
 BuildRequires:  pkgconfig(xdamage)
@@ -164,6 +165,8 @@
 Requires:       %{name} = %{version}
 Requires:       %{name}-visualnotifications = %{version}
 Recommends:     %{name}-soundnotifications = %{version}
+Provides:       %{name}-shellopen = %{version}
+Obsoletes:      %{name}-shellopen < %{version}
 
 %description advancednotifications
 This package provides an advanced notifications plugin for Leechcraft.
@@ -302,6 +305,7 @@
 %if 0%{?suse_version} > 1310
 %package azoth-astrality
 Summary:        LeechCraft Azoth - Telepathy Module
+License:        BSL-1.0
 Group:          Productivity/Networking/Other
 Requires:       %{name}-azoth = %{version}
 Requires:       telepathy-haze
@@ -320,7 +324,6 @@
  * Nick resolution.
 %endif
 
-
 %package azoth-autoidler
 Summary:        LeechCraft Azoth - Automatic Change of Status Module
 License:        BSL-1.0
@@ -550,6 +553,7 @@
 License:        BSL-1.0
 Group:          Productivity/Networking/Other
 Requires:       %{name}-azoth = %{version}
+Requires:       %{name}-rosenthal = %{version}
 
 %description azoth-rosenthal
 This package provides a spell checker plugin for LeechCraft Azoth.
@@ -637,8 +641,7 @@
 License:        BSL-1.0
 Group:          Productivity/Networking/Other
 Requires:       %{name}-azoth = %{version}
-Requires:       libqxmpp0 >= 0.7.4
-Recommends:     libqxmpp0 >= 0.7.6
+Requires:       libqxmpp0 >= 0.8
 Provides:       %{name}-azoth-protocolplugin
 
 %description azoth-xoox
@@ -794,7 +797,9 @@
 Group:          Productivity/Networking/Other
 Requires:       %{name} = %{version}
 Requires:       %{name}-blogique-subplugin = %{version}
+%if 0%{?suse_version} >= 1230
 Recommends:     %{name}-lhtr
+%endif
 
 %description blogique
 This package provides a modular Blogging client plugin for LeechCraft.
@@ -829,6 +834,29 @@
 It provides LiveJournal support.
 
 
+%package certmgr
+Summary:        LeechCraft SSL certificates Module
+License:        BSL-1.0
+Group:          Productivity/Networking/Other
+Requires:       %{name} = %{version}
+
+%description certmgr
+This package provides an SSL certificates manager plugin.
+
+
+%package cpuload
+Summary:        LeechCraft CPU Usage Monitoring Module
+License:        BSL-1.0
+Group:          Productivity/Networking/Other
+Requires:       %{name} = %{version}
+Requires:       %{name}-sb2 = %{version}
+
+%description cpuload
+This package provides a quark for monitoring the CPU usage
+for LeechCraft SB2. Monitoring memory and swap will also
+be probably added later. For now it uses /proc/stat.
+
+
 %package cstp
 Summary:        LeechCraft HTTP Module
 License:        BSL-1.0
@@ -930,6 +958,7 @@
 License:        BSL-1.0
 Group:          Productivity/Networking/Other
 Provides:       %{name}-fenet-compton = %{version}
+Recommends:     %{name}-cpuload
 Recommends:     %{name}-hotsensors
 Recommends:     %{name}-kbswitch
 Recommends:     %{name}-krigstask
@@ -938,6 +967,7 @@
 Recommends:     %{name}-lemon
 Recommends:     %{name}-liznoo
 Recommends:     %{name}-mellonetray
+Requires:       %{name}-ooronee
 Recommends:     %{name}-sb2
 Recommends:     %{name}-tpi
 Recommends:     %{name}-vrooby
@@ -1233,6 +1263,7 @@
 This package provides another Network Monitor plugin for Leechcraft.
 
 
+%if 0%{?suse_version} >= 1230
 %package lhtr
 Summary:        LeechCraft HTML WYSIWYG editor Module
 License:        BSL-1.0
@@ -1244,7 +1275,7 @@
 This package provides a HTML WYSIWYG editor plugin for Leechcraft.
 
 It can be usable with mail and blog modules.
-
+%endif
 
 %package liznoo
 Summary:        LeechCraft Power managment module
@@ -1278,6 +1309,7 @@
 Recommends:     %{name}-lyricsprovider
 Recommends:     %{name}-gacts = %{version}
 Recommends:     %{name}-scrobbler
+Suggests:       %{name}-lastfmscrobble
 Recommends:     %{name}-musiczombie = %{version}
 Recommends:     ffmpeg
 %if %{lmp_gstreamer_1_0}
@@ -1565,6 +1597,24 @@
  * Liferea: feeds list.
 
 
+%package ooronee
+Summary:        LeechCraft Text and Images Handler Module
+License:        BSL-1.0
+Group:          Productivity/Networking/Other
+Requires:       %{name}-sb2 = %{version}
+Recommends:     %{name}-blasq
+Recommends:     %{name}-imgaste
+Recommends:     %{name}-pogooglue
+Recommends:     %{name}-seekthru
+
+%description ooronee
+This package provides a quark handling text and images
+dropped on it for Leechcraft.
+
+The dropped data is then sent to a data filter chosen by the user.
+See more at http://leechcraft.org/concepts-data-filters
+
+
 %package otlozhu
 Summary:        LeechCraft ToDo manager Module
 License:        BSL-1.0
@@ -1786,6 +1836,7 @@
 
 %package qrosp
 Summary:        LeechCraft Qross Module
+License:        BSL-1.0
 Group:          Productivity/Networking/Other
 Requires:       %{name} = %{version}
 Requires:       libqrosspython1
@@ -1794,6 +1845,18 @@
 This package contains a scripting support plugin for Leechcraft.
 
 
+%package rosenthal
+Summary:        LeechCraft - Spell Checker Module
+License:        BSL-1.0
+Group:          Productivity/Networking/Other
+Requires:       %{name} = %{version}
+
+%description rosenthal
+This package provides a spell checker plugin for LeechCraft.
+
+It is based on Hunspell or Myspell dictionaries.
+
+
 %package sb2
 Summary:        LeechCraft SideBar2 Module
 License:        BSL-1.0
@@ -1879,20 +1942,6 @@
  * Show results in HTML format with a suitable plugin like Poshuku.
 
 
-%package shellopen
-Summary:        LeechCraft Shellopen Module
-License:        BSL-1.0
-Group:          Productivity/Networking/Other
-Requires:       %{name} = %{version}
-
-%description shellopen
-This package provides an opening files with external apps for LeechCraft.
-
-It allows to open files and handle entities with external applications.
-For example, you may choose to open a video file with your favorite media
-player instead of LC's one.
-
-
 %package summary
 Summary:        LeechCraft Summary info Module
 License:        BSL-1.0
@@ -1965,10 +2014,11 @@
 
 %package textogroose
 Summary:        LeechCraft Script-Based Lyrics Module
+License:        BSL-1.0
 Group:          Productivity/Networking/Other
 Requires:       %{name}-http = %{version}
-Requires:       %{name}-summaryrepresentation = %{version}
 Requires:       %{name}-qrosp
+Requires:       %{name}-summaryrepresentation = %{version}
 Provides:       %{name}-lyricsprovider
 
 %description textogroose
@@ -2081,7 +2131,9 @@
 %if 0%{?suse_version} <= 1220
 %patch1 -p1
 %endif
-%patch2 -p1
+%if 0%{?suse_version} <= 1230
+%patch3 -p1
+%endif
 
 #removing non-free icons
 rm -rf src/plugins/azoth/share/azoth/iconsets/clients/default
@@ -2103,8 +2155,11 @@
         -DCMAKE_BUILD_TYPE=RelWithDebInfo \
         -DSTRICT_LICENSING=True \
         -DENABLE_ADVANCEDNOTIFICATIONS=True \
+        -DENABLE_AGGREGATOR=True \
+                -DENABLE_AGGREGATOR_WEBACCESS=False \
         -DENABLE_AUSCRIE=True \
         -DENABLE_AZOTH=True \
+                -DENABLE_AZOTH_ACETAMIDE=True \
 %if 0%{?suse_version} > 1310
                 -DENABLE_AZOTH_ASTRALITY=True \
 %else
@@ -2113,18 +2168,30 @@
                 -DENABLE_AZOTH_OTROID=True \
                 -DENABLE_AZOTH_SHX=True \
                 -DENABLE_AZOTH_VELVETBIRD=True \
+                -DENABLE_AZOTH_WOODPECKER=True \
                 -DENABLE_AZOTH_ZHEET=True \
-                -DENABLE_MEDIACALLS=True \
+                -DENABLE_MEDIACALLS=False \
         -DENABLE_BLACKDASH=False \
+        -DENABLE_BLASQ=True \
+                -DENABLE_BLASQ_VANGOG=True \
         -DENABLE_BLOGIQUE=True \
+        -DENABLE_CERTMGR=True \
         -DENABLE_CHOROID=False \
+        -DENABLE_CPULOAD=True \
+        -DENABLE_DEVMON=True \
+        -DENABLE_DLNIWE=False \
         -DENABLE_DOLOZHEE=True \
         -DENABLE_DUMBEEP=True \
                 -DDUMBEEP_WITH_PHONON=True \
         -DENABLE_GACTS=True \
+%if 0%{?suse_version} > 1310
+                -DWITH_GACTS_BUNDLED_QXT=False \
+%else
                 -DWITH_GACTS_BUNDLED_QXT=True \
+%endif
         -DENABLE_GLANCE=True \
         -DENABLE_GMAILNOTIFIER=True \
+        -DENABLE_HARBINGER=True \
         -DENABLE_HOTSENSORS=False \
         -DENABLE_HOTSTREAMS=True \
 %if 0%{?suse_version} > 1230
@@ -2132,15 +2199,22 @@
 %else
         -DENABLE_HTTHARE=False \
 %endif
+        -DENABLE_IMGASTE=True \
         -DENABLE_KBSWITCH=True \
         -DENABLE_KNOWHOW=True \
+        -DENABLE_KRIGSTASK=True \
         -DENABLE_LACKMAN=True \
         -DENABLE_LADS=False \
         -DENABLE_LASTFMSCROBBLE=True \
+        -DENABLE_LAUGHTY=True \
         -DENABLE_LAUNCHY=True \
         -DENABLE_LEMON=True \
+%if 0%{?suse_version} >= 1230
         -DENABLE_LHTR=True \
                 -DWITH_LHTR_HTML=True \
+%else
+        -DENABLE_LHTR=False \
+%endif
         -DENABLE_LIZNOO=True \
         -DENABLE_LMP=True \
                 -DENABLE_LMP_GRAFFITI=True \
@@ -2154,6 +2228,7 @@
 %if 0%{?lmp_gstreamer_1_0}
                 -DUSE_GSTREAMER_10=True \
 %endif
+        -DENABLE_MELLONETRAY=True \
         -DENABLE_MONOCLE=True \
 %if 0%{?suse_version} == 1310
 %ifarch %ix86 x86_64 %arm
@@ -2170,6 +2245,7 @@
         -DENABLE_NACHEKU=False \
         -DENABLE_NETSTOREMANAGER=True \
         -DENABLE_NEWLIFE=True \
+        -DENABLE_OORONEE=True \
         -DENABLE_OTLOZHU=True \
                 -DENABLE_OTLOZHU_SYNC=False \
         -DENABLE_PINTAB=True \
@@ -2180,9 +2256,10 @@
                 -DUSE_POSHUKU_CLEANWEB_PCRE=True \
         -DENABLE_QROSP=True \
         -DENABLE_SB2=True \
+        -DENABLE_SCROBLIBRE=True \
         -DENABLE_SECMAN=True \
         -DENABLE_SHAITAN=False \
-        -DENABLE_SHELLOPEN=True \
+        -DENABLE_SHELLOPEN=False \
         -DENABLE_SNAILS=False \
         -DENABLE_SYNCER=False \
         -DENABLE_TABSESSMANAGER=True \
@@ -2263,7 +2340,8 @@
 %files aggregator
 %defattr(-,root,root)
 %{settings_dir}/aggregatorsettings.xml
-%{translations_dir}/%{name}_aggregator*.qm
+%{translations_dir}/%{name}_aggregator_??.qm
+%{translations_dir}/%{name}_aggregator_??_??.qm
 %{plugin_dir}/*%{name}_aggregator.so
 
 %files aggregator-bodyfetch
@@ -2418,7 +2496,6 @@
 %defattr(-,root,root)
 %{plugin_dir}/*%{name}_azoth_rosenthal.so
 %{translations_dir}/%{name}_azoth_rosenthal*
-%{settings_dir}/azothrosenthalsettings.xml
 
 %files azoth-shx
 %defattr(-,root,root)
@@ -2523,6 +2600,17 @@
 %{_datadir}/%{name}/settings/blogiquemetidasettings.xml
 %{_datadir}/%{name}/translations/%{name}_blogique_metida*.qm
 
+%files certmgr
+%defattr(-,root,root)
+%{_libdir}/%{name}/plugins/lib%{name}_certmgr.so
+%{_datadir}/%{name}/settings/certmgrsettings.xml
+%{_datadir}/%{name}/translations/%{name}_certmgr*.qm
+
+%files cpuload
+%defattr(-,root,root)
+%{_libdir}/%{name}/plugins/lib%{name}_cpuload.so
+%{_datadir}/%{name}/qml/cpuload
+
 %files cstp
 %defattr(-,root,root)
 %{settings_dir}/cstpsettings.xml
@@ -2691,11 +2779,13 @@
 %{_datadir}/%{name}/qml/lemon/
 %{_datadir}/%{name}/translations/%{name}_lemon_*.qm
 
+%if 0%{?suse_version} >= 1230
 %files lhtr
 %defattr(-,root,root)
 %{_libdir}/%{name}/plugins/lib%{name}_lhtr.so
 %{_datadir}/%{name}/translations/%{name}_lhtr_*.qm
 %{_datadir}/%{name}/settings/lhtrsettings.xml
+%endif
 
 %files liznoo
 %defattr(-,root,root)
@@ -2805,6 +2895,12 @@
 %{translations_dir}/%{name}_newlife*.qm
 %{plugin_dir}/*%{name}_newlife.so
 
+%files ooronee
+%defattr(-,root,root)
+%{_libdir}/%{name}/plugins/lib%{name}_ooronee.so
+%{_datadir}/%{name}/settings/ooroneesettings.xml
+%{_datadir}/%{name}/qml/ooronee
+
 %files otlozhu
 %defattr(-,root,root)
 %{_libdir}/%{name}/plugins/lib%{name}_otlozhu.so
@@ -2887,6 +2983,12 @@
 %defattr(-,root,root)
 %{_libdir}/%{name}/plugins/lib%{name}_qrosp.so
 
+%files rosenthal
+%defattr(-,root,root)
+%{_libdir}/%{name}/plugins/lib%{name}_rosenthal.so
+%{_datadir}/%{name}/translations/%{name}_rosenthal*
+%{_datadir}/%{name}/settings/rosenthalsettings.xml
+
 %files sb2
 %defattr(-,root,root)
 %{_libdir}/%{name}/plugins/lib%{name}_sb2.so
@@ -2915,11 +3017,6 @@
 %{translations_dir}/%{name}_seekthru*.qm
 %{plugin_dir}/*%{name}_seekthru.so
 
-%files shellopen
-%defattr(-,root,root)
-%{translations_dir}/%{name}_shellopen*.qm
-%{plugin_dir}/*%{name}_shellopen.so
-
 %files summary
 %defattr(-,root,root)
 %{translations_dir}/%{name}_summary*.qm


++++++ leechcraft-0.6.60.tar.xz -> leechcraft-0.6.65.tar.xz ++++++
++++ 98424 lines of diff (skipped)

++++++ leechcraft-monocle-gcc47.patch ++++++
diff --git a/src/plugins/monocle/annitem.cpp b/src/plugins/monocle/annitem.cpp
index 3c62097..9c9c9c9 100644
--- a/src/plugins/monocle/annitem.cpp
+++ b/src/plugins/monocle/annitem.cpp
@@ -63,88 +63,7 @@ namespace Monocle
 
        AnnBaseItem* MakeItem (const IAnnotation_ptr& ann, QGraphicsItem 
*parent)
        {
-               switch (ann->GetAnnotationType ())
-               {
-               case AnnotationType::Text:
-                       return new TextAnnItem 
(std::dynamic_pointer_cast<ITextAnnotation> (ann), parent);
-               case AnnotationType::Highlight:
-                       return new HighAnnItem 
(std::dynamic_pointer_cast<IHighlightAnnotation> (ann), parent);
-               case AnnotationType::Link:
-                       return new LinkAnnItem 
(std::dynamic_pointer_cast<ILinkAnnotation> (ann), parent);
-               case AnnotationType::Other:
-                       qWarning () << Q_FUNC_INFO
-                                       << "unknown annotation type with 
contents"
-                                       << ann->GetText ();
-                       return nullptr;
-               }
-
-               qWarning () << Q_FUNC_INFO
-                               << "unhandled annotation type "
-                               << static_cast<int> (ann->GetAnnotationType ())
-                               << "with contents"
-                               << ann->GetText ();
-
                return nullptr;
        }
-
-       HighAnnItem::HighAnnItem (const IHighlightAnnotation_ptr& ann, 
QGraphicsItem *parent)
-       : AnnBaseGraphicsItem { ann, parent }
-       , Polys_ { ToPolyData (ann->GetPolygons ()) }
-       {
-               for (const auto& data : Polys_)
-               {
-                       addToGroup (data.Item_);
-                       data.Item_->setPen (Qt::NoPen);
-
-                       Bounding_ |= data.Poly_.boundingRect ();
-
-                       data.Item_->setCursor (Qt::PointingHandCursor);
-               }
-       }
-
-       void HighAnnItem::SetSelected (bool selected)
-       {
-               AnnBaseItem::SetSelected (selected);
-
-               const auto& pen = selected ? QPen { QColor { 255, 234, 0 }, 2 } 
: Qt::NoPen;
-               const auto& brush = selected ? QBrush { QColor { 255, 213, 0, 
64 } } : QBrush {};
-               for (const auto& data : Polys_)
-               {
-                       data.Item_->setPen (pen);
-                       data.Item_->setBrush (brush);
-               }
-       }
-
-       void HighAnnItem::UpdateRect (const QRectF& rect)
-       {
-               setPos (rect.topLeft ());
-               for (auto data : Polys_)
-               {
-                       auto poly = data.Poly_;
-
-                       if (!Bounding_.width () || !Bounding_.height ())
-                               continue;
-
-                       const auto xScale = rect.width () / Bounding_.width ();
-                       const auto yScale = rect.height () / Bounding_.height 
();
-                       const auto xTran = rect.x () - Bounding_.x () * xScale 
- rect.left ();
-                       const auto yTran = rect.y () - Bounding_.y () * yScale 
- rect.top ();
-
-                       data.Item_->setPolygon (poly * QMatrix { xScale, 0, 0, 
yScale, xTran, yTran });
-               }
-       }
-
-       QList<HighAnnItem::PolyData> HighAnnItem::ToPolyData (const 
QList<QPolygonF>& polys)
-       {
-               QList<PolyData> result;
-               for (const auto& poly : polys)
-                       result.append ({ poly, new QGraphicsPolygonItem });
-               return result;
-       }
-
-       LinkAnnItem::LinkAnnItem (const ILinkAnnotation_ptr& ann, QGraphicsItem 
*item)
-       : AnnRectGraphicsItem { ann, ann->GetLink (), item }
-       {
-       }
 }
 }
diff --git a/src/plugins/monocle/annitem.h b/src/plugins/monocle/annitem.h
index adf81ce..9ea982c 100644
--- a/src/plugins/monocle/annitem.h
+++ b/src/plugins/monocle/annitem.h
@@ -63,84 +63,5 @@ namespace Monocle
 
        AnnBaseItem* MakeItem (const IAnnotation_ptr&, QGraphicsItem*);
 
-       template<typename T>
-       class AnnBaseGraphicsItem : public AnnBaseItem
-                                                         , public T
-       {
-               QPointF PressedPos_;
-       public:
-               template<typename... TArgs>
-               AnnBaseGraphicsItem (const IAnnotation_ptr& ann, TArgs... args)
-               : AnnBaseItem { ann }
-               , T { args... }
-               {
-               }
-       protected:
-               void mousePressEvent (QGraphicsSceneMouseEvent *event)
-               {
-                       PressedPos_ = event->pos ();
-                       T::mousePressEvent (event);
-                       event->accept ();
-               }
-
-               void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
-               {
-                       if (Handler_ &&
-                                       (event->pos () - 
PressedPos_).manhattanLength () < 4)
-                               Handler_ (BaseAnn_);
-
-                       T::mouseReleaseEvent (event);
-               }
-       };
-
-       template<typename T>
-       class AnnRectGraphicsItem : public AnnBaseGraphicsItem<T>
-       {
-       public:
-               using AnnBaseGraphicsItem<T>::AnnBaseGraphicsItem;
-
-               void SetSelected (bool selected)
-               {
-                       AnnBaseItem::SetSelected (selected);
-                       T::setPen (selected ? QPen { QColor { 255, 234, 0 }, 2 
} : Qt::NoPen);
-               }
-
-               void UpdateRect (const QRectF& rect)
-               {
-                       T::setRect (rect);
-               }
-       };
-
-       class TextAnnItem : public AnnRectGraphicsItem<QGraphicsRectItem>
-       {
-       public:
-               using 
AnnRectGraphicsItem<QGraphicsRectItem>::AnnRectGraphicsItem;
-       };
-
-       class HighAnnItem : public AnnBaseGraphicsItem<QGraphicsItemGroup>
-       {
-               struct PolyData
-               {
-                       QPolygonF Poly_;
-                       QGraphicsPolygonItem *Item_;
-               };
-               const QList<PolyData> Polys_;
-
-               QRectF Bounding_;
-       public:
-               HighAnnItem (const IHighlightAnnotation_ptr&, QGraphicsItem*);
-
-               void SetSelected (bool);
-
-               void UpdateRect (const QRectF& rect);
-       private:
-               static QList<PolyData> ToPolyData (const QList<QPolygonF>&);
-       };
-
-       class LinkAnnItem : public AnnRectGraphicsItem<LinkItem>
-       {
-       public:
-               LinkAnnItem (const ILinkAnnotation_ptr&, QGraphicsItem*);
-       };
 }
 }
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to