1 /***************************************************************************
2 copyright : (C) 2006 by Carsten Niehaus
3 email : cniehaus@kde.org
4 ***************************************************************************/
6 /***************************************************************************
8 * This program is free software; you can redistribute it and/or modify *
9 * it under the terms of the GNU General Public License as published by *
10 * the Free Software Foundation; either version 2 of the License, or *
11 * (at your option) any later version. *
13 ***************************************************************************/
14 #ifndef KALZIUMGLPART_H
15 #define KALZIUMGLPART_H
18 #include <kparts/factory.h>
19 #include <kparts/genericfactory.h>
21 #include <avogadro/glwidget.h>
23 class KalziumGLWidget
: public Avogadro::GLWidget
27 KalziumGLWidget(QWidget
*parent
= 0);
28 virtual ~KalziumGLWidget();
31 void setStyle(int style
);
32 void setLabels(int style
);
38 class KalziumGLPart
: public KParts::ReadOnlyPart
42 KalziumGLPart(QWidget
*, QObject
*, const QStringList
&);
43 virtual ~KalziumGLPart();
45 static KAboutData
* createAboutData();
50 KalziumGLWidget
* m_widget
;
53 #endif // KALZIUMGLPART_H