30 lines
		
	
	
	
		
			723 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
	
		
			723 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
| This file is part of Telegram Desktop,
 | |
| the official desktop application for the Telegram messaging service.
 | |
| 
 | |
| For license and copyright information please follow this link:
 | |
| https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
 | |
| */
 | |
| #pragma once
 | |
| 
 | |
| #include "settings/settings_common.h"
 | |
| 
 | |
| namespace Settings {
 | |
| 
 | |
| bool HasConnectionType();
 | |
| void SetupConnectionType(not_null<Ui::VerticalLayout*> container);
 | |
| bool HasUpdate();
 | |
| void SetupUpdate(not_null<Ui::VerticalLayout*> container);
 | |
| bool HasTray();
 | |
| void SetupTray(not_null<Ui::VerticalLayout*> container);
 | |
| 
 | |
| class General : public Section {
 | |
| public:
 | |
| 	explicit General(QWidget *parent, UserData *self = nullptr);
 | |
| 
 | |
| private:
 | |
| 	void setupContent();
 | |
| 
 | |
| };
 | |
| 
 | |
| } // namespace Settings
 | 
