mirror of
				https://gitlab.com/Syping/luaengineapp.git
				synced 2025-10-31 02:20:20 +01:00 
			
		
		
		
	improved function naming
This commit is contained in:
		
							parent
							
								
									3d920f6168
								
							
						
					
					
						commit
						52cef11986
					
				
					 3 changed files with 8 additions and 10 deletions
				
			
		|  | @ -99,9 +99,6 @@ void LuaEngineGui::pushClass(lua_State *L_p) | |||
|     // Line Edit
 | ||||
|     pushFunction(L_p, "createLineEdit", createLineEdit); | ||||
| 
 | ||||
|     // Key Sequence
 | ||||
|     pushFunction(L_p, "setKeySequence", setKeySequence); | ||||
| 
 | ||||
|     // Main Window
 | ||||
|     pushFunction(L_p, "createMainWindow", createMainWindow); | ||||
|     pushFunction(L_p, "createCentralWidget", createCentralWidget); | ||||
|  | @ -111,6 +108,7 @@ void LuaEngineGui::pushClass(lua_State *L_p) | |||
|     pushFunction(L_p, "createMenuBar", createMenuBar); | ||||
|     pushFunction(L_p, "createMenuEntry", createMenuEntry); | ||||
|     pushFunction(L_p, "createMenuSeparator", createMenuSeparator); | ||||
|     pushFunction(L_p, "setMenuShortcut", setMenuShortcut); | ||||
| 
 | ||||
|     // Plain Text Edit
 | ||||
|     pushFunction(L_p, "createPlainTextEdit", createPlainTextEdit); | ||||
|  | @ -326,7 +324,7 @@ int LuaEngineGui::setLayoutMargins(lua_State *L_p) | |||
|     return 0; | ||||
| } | ||||
| 
 | ||||
| int LuaEngineGui::setKeySequence(lua_State *L_p) | ||||
| int LuaEngineGui::setMenuShortcut(lua_State *L_p) | ||||
| { | ||||
|     if (getArgumentCount(L_p) >= 2) { | ||||
|         void *pointer = getPointer(L_p, 1); | ||||
|  |  | |||
|  | @ -36,7 +36,7 @@ public: | |||
|     static int executeWidget(lua_State *L_p); | ||||
|     static int showWidget(lua_State *L_p); | ||||
|     static int setLayoutMargins(lua_State *L_p); | ||||
|     static int setKeySequence(lua_State *L_p); | ||||
|     static int setMenuShortcut(lua_State *L_p); | ||||
|     static int setWidgetFixedSize(lua_State *L_p); | ||||
|     static int setWidgetLayout(lua_State *L_p); | ||||
|     static int setWidgetText(lua_State *L_p); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue