1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-05 06:23:11 +00:00
transmission/qt/SessionDialog.h
2016-09-02 23:10:15 +03:00

44 lines
725 B
C++

/*
* This file Copyright (C) 2010-2015 Mnemosyne LLC
*
* It may be used under the GNU GPL versions 2 or 3
* or any future license endorsed by Mnemosyne LLC.
*
*/
#pragma once
#include <QWidgetList>
#include "BaseDialog.h"
#include "ui_SessionDialog.h"
class Prefs;
class Session;
class SessionDialog: public BaseDialog
{
Q_OBJECT
public:
SessionDialog (Session& session, Prefs& prefs, QWidget * parent = nullptr);
virtual ~SessionDialog () {}
public slots:
// QDialog
virtual void accept ();
private slots:
void resensitize ();
private:
Session& mySession;
Prefs& myPrefs;
Ui::SessionDialog ui;
QWidgetList myRemoteWidgets;
QWidgetList myAuthWidgets;
};