Welcome to mirror list, hosted at ThFree Co, Russian Federation.

UserInformation.h « mumble « src - github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: da8259176ce491ed546b6f31b34eb26d36def8b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright 2005-2016 The Mumble Developers. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#ifndef MUMBLE_MUMBLE_USERINFORMATION_H_
#define MUMBLE_MUMBLE_USERINFORMATION_H_

#include <QtNetwork/QSslCertificate>

#include "Message.h"

#include "ui_UserInformation.h"

namespace MumbleProto {
class UserStats;
}

class QTimer;

class UserInformation : public QDialog, Ui::UserInformation {
	private:
		Q_OBJECT
		Q_DISABLE_COPY(UserInformation)
	protected:
		bool bRequested;
		unsigned int uiSession;
		QTimer *qtTimer;
		QList<QSslCertificate> qlCerts;
		static QString secsToString(unsigned int secs);
		QFont qfCertificateFont;
	protected slots:
		void tick();
		void on_qpbCertificate_clicked();
	public:
		UserInformation(const MumbleProto::UserStats &msg, QWidget *p = NULL);
		void update(const MumbleProto::UserStats &msg);
		unsigned int session() const;
};

#endif