summaryrefslogtreecommitdiffstats
path: root/examples/demo/graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demo/graph.h')
-rw-r--r--examples/demo/graph.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/examples/demo/graph.h b/examples/demo/graph.h
new file mode 100644
index 0000000..10b04d6
--- /dev/null
+++ b/examples/demo/graph.h
@@ -0,0 +1,31 @@
+/****************************************************************************
+**
+** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of an example program for Qt. This example
+** program may be used, distributed and modified without limitation.
+**
+*****************************************************************************/
+
+#include <qwidget.h>
+class QStyle;
+class QListBox;
+class QListBoxItem;
+class QWidgetStack;
+
+class GraphWidgetPrivate;
+
+class GraphWidget : public QWidget
+{
+ Q_OBJECT
+public:
+ GraphWidget( QWidget *parent=0, const char *name=0 );
+ ~GraphWidget();
+
+private slots:
+ void shuffle();
+ void setSpeed(int);
+
+private:
+ GraphWidgetPrivate* d;
+};