Warning, /education/marble/src/bindings/python/sip/AbstractDataPlugin.sip is written in an unsupported language. File is not indexed.
0001 //
0002 // Copyright 2009 Simon Edwards <simon@simonzone.com>
0003
0004 // Generated by twine
0005
0006 // This file is part of PyKDE4.
0007
0008 // PyKDE4 is free software; you can redistribute it and/or modify
0009 // it under the terms of the GNU Lesser General Public License as
0010 // published by the Free Software Foundation; either version 2.1 of
0011 // the License, or (at your option) any later version.
0012
0013 // PyKDE4 is distributed in the hope that it will be useful,
0014 // but WITHOUT ANY WARRANTY; without even the implied warranty of
0015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0016 // GNU General Public License for more details.
0017
0018 // You should have received a copy of the GNU General Public License
0019 // along with this program. If not, see <http://www.gnu.org/licenses/>.
0020
0021 namespace Marble
0022 {
0023
0024 class AbstractDataPlugin : Marble::RenderPlugin /Abstract/
0025 {
0026 %TypeHeaderCode
0027 #include <AbstractDataPlugin.h>
0028 %End
0029
0030 public:
0031 QStringList backendTypes () const;
0032 QString renderPolicy () const;
0033 QStringList renderPosition () const;
0034 Marble::AbstractDataPluginModel* model () const;
0035 void setModel (Marble::AbstractDataPluginModel* model);
0036 quint32 numberOfItems () const;
0037 void setNumberOfItems (quint32 number);
0038 QList<Marble::AbstractDataPluginItem*> whichItemAt (const QPoint& curpos);
0039 virtual ~AbstractDataPlugin ();
0040 bool render (Marble::GeoPainter* painter, Marble::ViewportParams* viewport, const QString& renderPos = "NONE", Marble::GeoSceneLayer* layer = 0);
0041 signals:
0042 void changedNumberOfItems (quint32 number);
0043 public:
0044 AbstractDataPlugin (const Marble::MarbleModel* marbleModel);
0045 bool isInitialized () const;
0046 // FIXME
0047 //ig void setDelegate (QDeclarativeComponent* delegate, QGraphicsItem* parent);
0048 void setFavoriteItemsOnly (bool favoriteOnly);
0049 bool isFavoriteItemsOnly () const;
0050 QObject* favoritesModel ();
0051 signals:
0052 void favoriteItemsOnlyChanged ();
0053 void favoritesModelChanged ();
0054 public:
0055 virtual Marble::RenderPlugin::RenderType renderType () const;
0056 void handleViewportChange (const Marble::ViewportParams* viewport);
0057 };
0058 // AbstractDataPlugin
0059
0060 };
0061 // Marble
0062
0063