SVN_SILENT made messages (.desktop file)
[kdegraphics.git] / gwenview / app / infocontextmanageritem.h
blobe6ccf609b23d57d06c93377427deec47cd26490e
1 /*
2 Gwenview: an image viewer
3 Copyright 2007 Aurélien Gâteau <aurelien.gateau@free.fr>
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
10 This program 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
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef INFOCONTEXTMANAGERITEM_H
21 #define INFOCONTEXTMANAGERITEM_H
23 // Qt
25 // Local
26 #include "abstractcontextmanageritem.h"
28 class QStringList;
29 class KFileItem;
30 class KFileItemList;
32 namespace Gwenview {
34 struct InfoContextManagerItemPrivate;
36 class InfoContextManagerItem : public AbstractContextManagerItem {
37 Q_OBJECT
38 public:
39 InfoContextManagerItem(ContextManager*);
40 ~InfoContextManagerItem();
42 virtual void setSideBar(SideBar* sideBar);
44 private Q_SLOTS:
45 void updateSideBarContent();
46 void updateOneFileInfo();
47 void showMetaInfoDialog();
48 void slotPreferredMetaInfoKeyListChanged(const QStringList&);
50 private:
51 void fillOneFileGroup(const KFileItem& item);
53 void fillMultipleItemsGroup(const KFileItemList& itemList);
55 InfoContextManagerItemPrivate * const d;
58 } // namespace
60 #endif /* INFOCONTEXTMANAGERITEM_H */