File indexing completed on 2024-05-05 03:50:48
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2009 Bastian Holst <bastianholst@gmx.de> 0004 // 0005 0006 #ifndef PANORAMIOPLUGIN_H 0007 #define PANORAMIOPLUGIN_H 0008 0009 #include "AbstractDataPlugin.h" 0010 0011 namespace Marble 0012 { 0013 0014 class PanoramioPlugin : public AbstractDataPlugin 0015 { 0016 Q_OBJECT 0017 Q_PLUGIN_METADATA(IID "org.kde.marble.PanoramioPlugin") 0018 Q_INTERFACES( Marble::RenderPluginInterface ) 0019 MARBLE_PLUGIN( PanoramioPlugin ) 0020 0021 public: 0022 explicit PanoramioPlugin( const MarbleModel *marbleModel = 0 ); 0023 0024 QString nameId() const; 0025 0026 QString version() const; 0027 0028 QString copyrightYears() const; 0029 0030 QVector<PluginAuthor> pluginAuthors() const override; 0031 0032 void initialize(); 0033 0034 QString name() const; 0035 0036 QString guiString() const; 0037 0038 QString description() const; 0039 0040 QIcon icon() const; 0041 0042 protected: 0043 bool eventFilter( QObject *object, QEvent *event ); 0044 }; 0045 0046 } 0047 0048 #endif // PANORAMIOPLUGIN_H