~ubuntu-branches/ubuntu/utopic/openmsx-debugger/utopic

« back to all changes in this revision

Viewing changes to src/ConnectDialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Joost Yervante Damad
  • Date: 2009-12-06 07:40:02 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20091206074002-kssfkg1d6xbp6w9e
Tags: 0.0.0.svn20091206-1
New svn snapshot (Closes: #559612)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $Id: ConnectDialog.h 6144 2007-03-07 12:21:17Z m9710797 $
 
1
// $Id: ConnectDialog.h 9347 2009-03-06 22:47:13Z m9710797 $
2
2
 
3
3
#ifndef CONNECTDIALOG_HH
4
4
#define CONNECTDIALOG_HH
5
5
 
 
6
#include "OpenMSXConnection.h"
6
7
#include "ui_ConnectDialog.h"
7
 
#include "OpenMSXConnection.h"
8
8
#include <QDialog>
9
9
#include <QList>
10
10
 
17
17
public:
18
18
        static OpenMSXConnection* getConnection(QWidget* parent = 0);
19
19
 
20
 
protected:
21
 
        void timerEvent( QTimerEvent *event );
22
 
 
23
20
private slots:
24
21
        void on_connectButton_clicked();
25
22
        void on_rescanButton_clicked();
32
29
        void connectionOk(OpenMSXConnection& connection,
33
30
                          const QString& title);
34
31
        void connectionBad(OpenMSXConnection& connection);
35
 
        friend class ConnectionInfoRequest;
 
32
 
 
33
        void timerEvent(QTimerEvent *event);
36
34
 
37
35
        int delay;
38
36
        Ui::ConnectDialog ui;
41
39
        OpenMSXConnections confirmedConnections;
42
40
        OpenMSXConnection* result;
43
41
        QList<ConnectionInfoRequest*> connectionInfos;
 
42
 
 
43
        friend class ConnectionInfoRequest;
44
44
};
45
45
 
46
46
// Command handler to get initial info from new openmsx connections