QT KTV 源码,QT designer

源代码在线查看: private.cpp

软件大小: 15896 K
上传用户: qqpp2q
关键词: designer QT KTV 源码
下载地址: 免注册下载 普通下载 VIP

相关代码

				#include "../headers/Private.h"
				
				Private::Private() : SongListTemplate() {
					InterfaceConfig config(GlobalData::ConfigPrefix + "Private.ini");
					this->AddButton(&config);
					this->SetupSignalConnection(config.GetNameList());
					this->_queryStr = "SELECT a.* FROM Song AS a,PrivateSong AS b WHERE a.songId=b.songId AND b.userId=" + QString::number(GlobalData::CurrentUserId) + " ORDER BY a.songId DESC";
					this->DisplayData();
				}
				void Private::ActionToDo(){
					MyButton* p_mb = (MyButton*)this->sender();
					if(p_mb->Name() == "Private/jvimage4") KtvScreenController::GetController()->Forward(new Register("register"));
					if(p_mb->Name() == "Private/jvimage3") KtvScreenController::GetController()->Forward(new Register("login"));
				}
							

相关资源