Warning, /education/marble/src/bindings/python/sip/Planet.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 Planet
0025 {
0026 %TypeHeaderCode
0027 #include <Planet.h>
0028 %End
0029 
0030 public:
0031                             Planet ();
0032     explicit                Planet (const QString& id);
0033                             Planet (const Marble::Planet& other);
0034     qreal                   M_0 () const;
0035     qreal                   M_1 () const;
0036     qreal                   C_1 () const;
0037     qreal                   C_2 () const;
0038     qreal                   C_3 () const;
0039     qreal                   C_4 () const;
0040     qreal                   C_5 () const;
0041     qreal                   C_6 () const;
0042     qreal                   Pi () const;
0043     qreal                   epsilon () const;
0044     qreal                   theta_0 () const;
0045     qreal                   theta_1 () const;
0046     qreal                   radius () const;
0047     QString                 name () const;
0048     QString                 id () const;
0049     void                    setM_0 (qreal M_0);
0050     void                    setM_1 (qreal M_1);
0051     void                    setC_1 (qreal C_1);
0052     void                    setC_2 (qreal C_2);
0053     void                    setC_3 (qreal C_3);
0054     void                    setC_4 (qreal C_4);
0055     void                    setC_5 (qreal C_5);
0056     void                    setC_6 (qreal C_6);
0057     void                    setPi (qreal Pi);
0058     void                    setEpsilon (qreal epsilon);
0059     void                    setTheta_0 (qreal theta_0);
0060     void                    setTheta_1 (qreal theta_1);
0061     void                    setRadius (qreal radius);
0062     void                    setName (const QString& name);
0063     void                    setId (const QString& id);
0064     static QString          name (const QString& id);
0065     ~Planet ();
0066     static QStringList      planetList ();
0067     bool                    hasAtmosphere () const;
0068     void                    setHasAtmosphere (bool enabled);
0069     QColor                  atmosphereColor () const;
0070     void                    setAtmosphereColor (const QColor& color);
0071 };
0072 // Planet
0073 
0074 };
0075 // Marble
0076 
0077