1 /*  This file is part of the KDE project
2 
3     Copyright (c) 2007 Sven Langkamp <sven.langkamp@gmail.com>
4 
5     This library is free software; you can redistribute it and/or
6     modify it under the terms of the GNU Lesser General Public
7     License as published by the Free Software Foundation; either
8     version 2.1 of the License, or (at your option) any later version.
9 
10     This library is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13     Lesser General Public License for more details.
14 
15     You should have received a copy of the GNU Lesser General Public
16     License along with this library; if not, write to the Free Software
17     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
18  */
19 
20 #include "KoResourceServerAdapter.h"
21 
KoAbstractResourceServerAdapter(QObject * parent)22 KoAbstractResourceServerAdapter::KoAbstractResourceServerAdapter(QObject *parent)
23     : QObject(parent)
24 {
25 }
26 
emitResourceAdded(KoResource * resource)27 void KoAbstractResourceServerAdapter::emitResourceAdded(KoResource* resource)
28 {
29     emit resourceAdded(resource);
30 }
31 
emitRemovingResource(KoResource * resource)32 void KoAbstractResourceServerAdapter::emitRemovingResource(KoResource* resource)
33 {
34     emit removingResource(resource);
35 }
36 
emitResourceChanged(KoResource * resource)37 void KoAbstractResourceServerAdapter::emitResourceChanged(KoResource* resource)
38 {
39     emit resourceChanged(resource);
40 }
41 
emitTagsWereChanged()42 void KoAbstractResourceServerAdapter::emitTagsWereChanged()
43 {
44     emit tagsWereChanged();
45 }
46 
emitTagCategoryWasAdded(const QString & tag)47 void KoAbstractResourceServerAdapter::emitTagCategoryWasAdded(const QString& tag)
48 {
49     emit tagCategoryWasAdded(tag);
50 }
51 
emitTagCategoryWasRemoved(const QString & tag)52 void KoAbstractResourceServerAdapter::emitTagCategoryWasRemoved(const QString& tag)
53 {
54     emit tagCategoryWasRemoved(tag);
55 }
56