summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/mainwindow.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/mainwindow.h b/noncore/apps/opie-console/mainwindow.h
index b6a8419..be4b469 100644
--- a/noncore/apps/opie-console/mainwindow.h
+++ b/noncore/apps/opie-console/mainwindow.h
@@ -13,12 +13,13 @@
*/
class QToolBar;
class QMenuBar;
class QAction;
class MetaFactory;
+class ProfileManager;
class MainWindow : public QMainWindow {
Q_OBJECT
public:
MainWindow( );
~MainWindow();
@@ -36,21 +37,29 @@ public:
/**
* the session list
*/
QList<Session> sessions();
+ /**
+ *
+ */
+ ProfileManager* manager();
+
private slots:
void slotNew();
void slotConnect();
void slotDisconnect();
void slotTerminate();
void slotConfigure();
+ void slotClose();
+ void slotProfile(int);
private:
void initUI();
+ void populateProfiles();
/**
* the current session
*/
Session* m_curSession;
/**
@@ -59,12 +68,13 @@ private:
QList<Session> m_sessions;
/**
* the metafactory
*/
MetaFactory* m_factory;
+ ProfileManager* m_manager;
QToolBar* m_tool;
QMenuBar* m_bar;
QPopupMenu* m_console;
QPopupMenu* m_settings;
QPopupMenu* m_sessionsPop;