1 #ifndef __MAINWINDOW_H__
2 #define __MAINWINDOW_H__
10 class ConnectionManager;
16 class MainWindow : public QMainWindow {
19 MainWindow(QWidget* parent = 0);
27 void switchToConnect();
28 void showError(QString error);
31 void marshallAction(Action* action);
32 void updateSliderRange(int newmax);
39 void createToolBars();
42 // QAction* joinAction; // Removed in favor of central widget handling this.
43 QAction* loadPastAction;
50 QAction* eraserAction;
51 QSpinBox* spinboxWidget;
52 QSlider* sliderWidget;
53 ConnectionManager* connMan;
54 // HistoryManager* historyManager;
56 ConnectWidget* prompt;
60 #endif // __MAINWINDOW_H__