source: trunk/qt/session-dialog.h @ 14241

Last change on this file since 14241 was 14241, checked in by jordan, 9 years ago

Copyedit the license's revised text: (1) remove unnecessary repitition use of the word 'license' from the top of the header and source files (2) add the standard 'we hope it's useful, but no warranty' clause to COPYING (3) make explicit that linking OpenSSL is allowed (see https://people.gnome.org/~markmc/openssl-and-the-gpl.html for background) (4) sync the Qt and GTK+ clients' license popups with COPYING's revised text

  • Property svn:keywords set to Date Rev Author Id
File size: 984 bytes
Line 
1/*
2 * This file Copyright (C) 2010-2014 Mnemosyne LLC
3 *
4 * It may be used under the GNU GPL versions 2 or 3
5 * or any future license endorsed by Mnemosyne LLC.
6 *
7 * $Id: session-dialog.h 14241 2014-01-21 03:10:30Z jordan $
8 */
9
10#ifndef SESSION_DIALOG_H
11#define SESSION_DIALOG_H
12
13#include <QDialog>
14#include <QWidgetList>
15
16class Prefs;
17class Session;
18class QCheckBox;
19class QLineEdit;
20class QRadioButton;
21class QSpinBox;
22
23class SessionDialog: public QDialog
24{
25    Q_OBJECT
26
27  public:
28    SessionDialog (Session& session, Prefs& prefs, QWidget * parent = 0);
29    ~SessionDialog () {}
30
31  private slots:
32    void onAccepted ();
33    void resensitize ();
34
35  private:
36    QCheckBox * myAuthCheckBox;
37    QRadioButton * myRemoteRadioButton;
38    QLineEdit * myHostLineEdit;
39    QSpinBox * myPortSpinBox;
40    QLineEdit * myUsernameLineEdit;
41    QLineEdit * myPasswordLineEdit;
42    QCheckBox * myAutomaticCheckBox;
43
44  private:
45    Session& mySession;
46    Prefs& myPrefs;
47    QWidgetList myRemoteWidgets;
48    QWidgetList myAuthWidgets;
49};
50
51#endif
Note: See TracBrowser for help on using the repository browser.