mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:52:43 +00:00 
			
		
		
		
	IRCClient: Add menus.
This commit is contained in:
		
							parent
							
								
									746144f783
								
							
						
					
					
						commit
						5c2d405e1f
					
				
					 6 changed files with 75 additions and 34 deletions
				
			
		|  | @ -5,6 +5,7 @@ | |||
| #include "IRCClient.h" | ||||
| #include "IRCClientWindow.h" | ||||
| 
 | ||||
| class GAction; | ||||
| class GStackWidget; | ||||
| 
 | ||||
| class IRCAppWindow : public GWindow { | ||||
|  | @ -14,6 +15,8 @@ public: | |||
| 
 | ||||
| private: | ||||
|     void setup_client(); | ||||
|     void setup_actions(); | ||||
|     void setup_menus(); | ||||
|     void setup_widgets(); | ||||
| 
 | ||||
|     IRCClientWindow& create_subwindow(IRCClientWindow::Type, const String& name); | ||||
|  | @ -22,4 +25,10 @@ private: | |||
|     IRCClient m_client; | ||||
| 
 | ||||
|     GStackWidget* m_container { nullptr }; | ||||
| 
 | ||||
|     RetainPtr<GAction> m_join_action; | ||||
|     RetainPtr<GAction> m_part_action; | ||||
|     RetainPtr<GAction> m_whois_action; | ||||
|     RetainPtr<GAction> m_open_query_action; | ||||
|     RetainPtr<GAction> m_close_query_action; | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling