summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmunknownview.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpovmodeler/pmunknownview.h')
-rw-r--r--kpovmodeler/pmunknownview.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/kpovmodeler/pmunknownview.h b/kpovmodeler/pmunknownview.h
new file mode 100644
index 00000000..b8921dd6
--- /dev/null
+++ b/kpovmodeler/pmunknownview.h
@@ -0,0 +1,47 @@
+/*
+**************************************************************************
+ description
+ --------------------
+ copyright : (C) 2003 by Andreas Zehender
+ email : zehender@kde.org
+**************************************************************************
+
+**************************************************************************
+* *
+* This program is free software; you can redistribute it and/or modify *
+* it under the terms of the GNU General Public License as published by *
+* the Free Software Foundation; either version 2 of the License, or *
+* (at your option) any later version. *
+* *
+**************************************************************************/
+
+#ifndef PMUNKNOWNVIEW_H
+#define PMUNKNOWNVIEW_H
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <qlabel.h>
+#include "pmviewbase.h"
+
+/**
+ * Helper view for unknown view types
+ */
+class PMUnknownView : public PMViewBase
+{
+public:
+ /**
+ * Default constructor
+ */
+ PMUnknownView( const QString& viewType, QWidget* parent,
+ const char* name = 0 );
+ /** */
+ virtual QString viewType( ) const { return m_viewType; }
+ /** */
+ virtual QString description( ) const;
+private:
+ QString m_viewType;
+};
+
+#endif