This might be the "right way" to fix the issue - mark our exported classes as
[kdeedu-porting.git] / kalzium / compoundviewer / kalziumglpart.h
blobb1c0a34d3826805bfaa479b802da80ab2178a896
1 /***************************************************************************
2 copyright : (C) 2006 by Carsten Niehaus
3 email : cniehaus@kde.org
4 ***************************************************************************/
6 /***************************************************************************
7 * *
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. *
12 * *
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
25 Q_OBJECT
26 public:
27 KalziumGLWidget(QWidget *parent = 0);
28 virtual ~KalziumGLWidget();
30 public slots:
31 void setStyle(int style);
32 void setLabels(int style);
34 protected:
35 QString lc_numeric;
38 class KalziumGLPart : public KParts::ReadOnlyPart
40 Q_OBJECT
41 public:
42 KalziumGLPart(QWidget*, QObject*, const QStringList&);
43 virtual ~KalziumGLPart();
45 static KAboutData* createAboutData();
47 protected:
48 bool openFile();
50 KalziumGLWidget* m_widget;
53 #endif // KALZIUMGLPART_H