mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-12-26 01:11:47 +00:00
NS-IRC support purged
This commit is contained in:
parent
96dde371f3
commit
a3f06269ff
BIN
00000036.wav
BIN
00000036.wav
Binary file not shown.
BIN
ActivityDrawerTh_HorNet.o
Normal file
BIN
ActivityDrawerTh_HorNet.o
Normal file
Binary file not shown.
BIN
BasicAuth.o
Normal file
BIN
BasicAuth.o
Normal file
Binary file not shown.
BIN
BruteUtils.o
Normal file
BIN
BruteUtils.o
Normal file
Binary file not shown.
@ -1,5 +1,4 @@
|
||||
#include "CheckKey_Th.h"
|
||||
#include "CheckProxy_Th.h"
|
||||
#include "STh.h"
|
||||
#include "externData.h"
|
||||
#include "externFunctions.h"
|
||||
|
BIN
CheckKey_Th.o
Normal file
BIN
CheckKey_Th.o
Normal file
Binary file not shown.
@ -1,149 +0,0 @@
|
||||
#include "CheckProxy_Th.h"
|
||||
#include "externData.h"
|
||||
|
||||
void CheckProxy_Th::doEmitChangeRedIRCData(QString str)
|
||||
{
|
||||
emit chPTh->changeRedIRCData(str);
|
||||
};
|
||||
void CheckProxy_Th::doEmitChangeGreenIRCData(QString str)
|
||||
{
|
||||
emit chPTh->changeGreenIRCData(str);
|
||||
};
|
||||
void CheckProxy_Th::doEmitChangeYellowIRCData(QString str)
|
||||
{
|
||||
emit chPTh->changeYellowIRCData(str);
|
||||
};
|
||||
void CheckProxy_Th::doEmitChangeRawIRCDataInc(QString str)
|
||||
{
|
||||
emit chPTh->changeRawIRCDataInc(str);
|
||||
};
|
||||
void CheckProxy_Th::doEmitChangeRawIRCDataOut(QString str)
|
||||
{
|
||||
emit chPTh->changeRawIRCDataOut(str);
|
||||
};
|
||||
|
||||
void CheckProxyLogic()
|
||||
{
|
||||
QString str1 = ui->ircProxyPort->text();
|
||||
QString str2 = ui->ircProxy->text();
|
||||
strcpy(ircProxy, str2.toUtf8().data());
|
||||
strcpy(ircProxyPort, str1.toUtf8().data());
|
||||
|
||||
SOCKET pSock;
|
||||
char precvBuff[2048] = {0};
|
||||
sockaddr_in addr;
|
||||
addr.sin_family = AF_INET;
|
||||
addr.sin_port = htons(atoi(ircProxyPort));
|
||||
|
||||
HOSTENT *host;
|
||||
|
||||
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
|
||||
if(inet_addr(ircProxy) != INADDR_NONE) addr.sin_addr.S_un.S_addr = inet_addr(ircProxy);
|
||||
else if(host = gethostbyname (ircProxy)) ((unsigned long*) &addr.sin_addr)[0] = ((unsigned long**)host->h_addr_list)[0][0];
|
||||
#else
|
||||
if(inet_addr(ircProxy) != INADDR_NONE) addr.sin_addr.s_addr = inet_addr(ircProxy);
|
||||
else if(host=gethostbyname (ircProxy)) ((unsigned long*) &addr.sin_addr)[0] = ((unsigned long**)host->h_addr_list)[0][0];
|
||||
#endif
|
||||
pSock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
|
||||
|
||||
if(pSock == INVALID_SOCKET)
|
||||
{
|
||||
|
||||
chPTh->doEmitChangeRedIRCData("CheckProxy: -INVALID SOCKET.");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
if(connect(pSock, (sockaddr*)&addr, sizeof(addr)) != SOCKET_ERROR)
|
||||
{
|
||||
|
||||
chPTh->doEmitChangeRawIRCDataOut(QString::fromLocal8Bit("CONNECT 2ip.ru HTTP/1.1\r\n\r\n"));
|
||||
|
||||
send(pSock, "CONNECT 2ip.ru HTTP/1.1\r\n\r\n", strlen("CONNECT 2ip.ru HTTP/1.1\r\n\r\n"), 0);
|
||||
|
||||
while(recv(pSock, precvBuff, sizeof(precvBuff), 0) > 0)
|
||||
{
|
||||
|
||||
chPTh->doEmitChangeRawIRCDataInc(QString::fromLocal8Bit(precvBuff));
|
||||
|
||||
if( (strstr(precvBuff, "HTTP/1.1 200 OK") || strstr(precvBuff, "200 OK")
|
||||
|| strstr(precvBuff, "OK 200") || strstr(precvBuff, "200 Connection")
|
||||
)
|
||||
&& (strlen(precvBuff) < 150)
|
||||
&& strstr(precvBuff, "404 File Not Found") == NULL
|
||||
&&
|
||||
(
|
||||
strstr(precvBuff, "Invalid Request") == NULL
|
||||
|| strstr(precvBuff, "Invalid request") == NULL || strstr(precvBuff, "invalid request") == NULL
|
||||
|| strstr(precvBuff, "400 Bad Request") == NULL || strstr(precvBuff, " 400 bad request") == NULL
|
||||
)
|
||||
)
|
||||
{
|
||||
|
||||
chPTh->doEmitChangeRawIRCDataOut(QString::fromLocal8Bit("GET / HTTP/1.1\r\nHost: 2ip.ru\r\n\r\n"));
|
||||
|
||||
send(pSock, "GET / HTTP/1.1\r\nHost: 2ip.ru\r\n\r\n", strlen("GET / HTTP/1.1\r\nHost: 2ip.ru\r\n\r\n"), 0);
|
||||
ZeroMemory(precvBuff, sizeof(precvBuff));
|
||||
while(recv(pSock, precvBuff, sizeof(precvBuff), 0) > 0)
|
||||
{
|
||||
|
||||
chPTh->doEmitChangeRawIRCDataInc(QString::fromLocal8Bit(precvBuff));
|
||||
|
||||
if(strstr(precvBuff, "404 File Not Found") == NULL && strstr(precvBuff, "Invalid Request") == NULL
|
||||
&& strstr(precvBuff, "Invalid request") == NULL && strstr(precvBuff, "invalid request") == NULL
|
||||
&& strstr(precvBuff, "400 Bad Request") == NULL && strstr(precvBuff, "400 bad request") == NULL
|
||||
&& strstr(precvBuff, "404 Not") == NULL && strstr(precvBuff, "404 not") == NULL
|
||||
&& strstr(precvBuff, "500 Internal") == NULL && strstr(precvBuff, "500 internal") == NULL
|
||||
&& strstr(precvBuff, "401 Unauthorized") == NULL && strstr(precvBuff, "401 unauthorized") == NULL
|
||||
&& strstr(precvBuff, "InvalidUrl") == NULL && strstr(precvBuff, "invalidurl") == NULL
|
||||
&& strstr(precvBuff, "Invalid Url") == NULL && strstr(precvBuff, "invalid url") == NULL
|
||||
&& strstr(precvBuff, "Gateway Timeout") == NULL && strstr(precvBuff, "Gateway timeout") == NULL
|
||||
&& strstr(precvBuff, "gateway timeout") == NULL
|
||||
)
|
||||
{
|
||||
chPTh->doEmitChangeGreenIRCData("[OK] Success! Now using " + QString(ircProxy) + ":" + QString(ircProxyPort) + ".");
|
||||
|
||||
proxyEnabledFlag = 1;
|
||||
|
||||
CSSOCKET(pSock);
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
chPTh->doEmitChangeRedIRCData(QString(ircProxy) + ":" + QString(ircProxyPort) + " - is not CONNECT proxy? Try another one.");
|
||||
|
||||
proxyEnabledFlag = 0;
|
||||
|
||||
CSSOCKET(pSock);
|
||||
break;
|
||||
};
|
||||
};
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
chPTh->doEmitChangeRedIRCData(QString(ircProxy) + ":" + QString(ircProxyPort) + " - is not CONNECT proxy? Try another one.");
|
||||
|
||||
proxyEnabledFlag = 0;
|
||||
|
||||
CSSOCKET(pSock);
|
||||
break;
|
||||
};
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
chPTh->doEmitChangeRedIRCData("Cannot connect to " + QString(ircProxy) + ":" + QString(ircProxyPort) + ".");
|
||||
|
||||
proxyEnabledFlag = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
void CheckProxy_Th::run()
|
||||
{
|
||||
CheckProxyLogic();
|
||||
};
|
@ -1,27 +0,0 @@
|
||||
#ifndef CHECKPROXY_TH_H
|
||||
#define CHECKPROXY_TH_H
|
||||
|
||||
#pragma once
|
||||
#include "nesca_3.h"
|
||||
|
||||
class CheckProxy_Th : public QThread
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public: signals: void changeRedIRCData(QString);
|
||||
public: signals: void changeGreenIRCData(QString);
|
||||
public: signals: void changeYellowIRCData(QString);
|
||||
public: signals: void changeRawIRCDataInc(QString);
|
||||
public: signals: void changeRawIRCDataOut(QString);
|
||||
|
||||
public:
|
||||
void doEmitChangeRedIRCData(QString str);
|
||||
void doEmitChangeGreenIRCData(QString str);
|
||||
void doEmitChangeYellowIRCData(QString str);
|
||||
void doEmitChangeRawIRCDataOut(QString str);
|
||||
void doEmitChangeRawIRCDataInc(QString str);
|
||||
protected:
|
||||
void run();
|
||||
};
|
||||
extern CheckProxy_Th *chPTh;
|
||||
#endif // CHECKPROXY_TH_H
|
BIN
CheckProxy_Th.o
Normal file
BIN
CheckProxy_Th.o
Normal file
Binary file not shown.
BIN
Connector.o
Normal file
BIN
Connector.o
Normal file
Binary file not shown.
BIN
DrawerTh_GridQoSScanner.o
Normal file
BIN
DrawerTh_GridQoSScanner.o
Normal file
Binary file not shown.
BIN
DrawerTh_HorNet.o
Normal file
BIN
DrawerTh_HorNet.o
Normal file
Binary file not shown.
BIN
DrawerTh_ME2Scanner.o
Normal file
BIN
DrawerTh_ME2Scanner.o
Normal file
Binary file not shown.
BIN
DrawerTh_QoSScanner.o
Normal file
BIN
DrawerTh_QoSScanner.o
Normal file
Binary file not shown.
BIN
DrawerTh_VoiceScanner.o
Normal file
BIN
DrawerTh_VoiceScanner.o
Normal file
Binary file not shown.
@ -1,30 +0,0 @@
|
||||
#include "IRCPinger_Th.h"
|
||||
#include "externData.h"
|
||||
|
||||
void IRCPinger_Th::doEmitChangeRedIRCData(QString str)
|
||||
{
|
||||
emit ircPTh->changeRedIRCData(str);
|
||||
};
|
||||
void IRCPinger_Th::doEmitRestartIRC()
|
||||
{
|
||||
emit ircPTh->RestartIRC();
|
||||
};
|
||||
|
||||
void IRCPinger_Th::run()
|
||||
{
|
||||
while(iWantToConnect)
|
||||
{
|
||||
if(globalPinger >= 360) //6min timeout
|
||||
{
|
||||
|
||||
ircPTh->doEmitChangeRedIRCData("-//- Ping timeout. Reconnecting... ");
|
||||
|
||||
|
||||
ircPTh->doEmitRestartIRC();
|
||||
globalPinger = 0;
|
||||
msleep(10000);
|
||||
};
|
||||
++globalPinger;
|
||||
msleep(1000);
|
||||
};
|
||||
};
|
@ -1,23 +0,0 @@
|
||||
#ifndef IRCPINGER_TH_H
|
||||
#define IRCPINGER_TH_H
|
||||
|
||||
#pragma once
|
||||
#include "nesca_3.h"
|
||||
extern int iWantToConnect;
|
||||
|
||||
class IRCPinger_Th : public QThread
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
static void doEmitChangeRedIRCData(QString str);
|
||||
static void doEmitRestartIRC();
|
||||
|
||||
public: signals: void changeRedIRCData(QString);
|
||||
public: signals: void RestartIRC();
|
||||
|
||||
protected:
|
||||
void run();
|
||||
};
|
||||
extern IRCPinger_Th *ircPTh;
|
||||
#endif // IRCPINGER_TH_H
|
BIN
IRCPinger_Th.o
Normal file
BIN
IRCPinger_Th.o
Normal file
Binary file not shown.
BIN
Threader.o
Normal file
BIN
Threader.o
Normal file
Binary file not shown.
BIN
WebformWorker.o
Normal file
BIN
WebformWorker.o
Normal file
Binary file not shown.
BIN
connector_old.o
Normal file
BIN
connector_old.o
Normal file
Binary file not shown.
@ -5,7 +5,6 @@
|
||||
#define RECV_MAX_SIZE 350000
|
||||
#define REQUEST_MAX_SIZE 4096
|
||||
#define PORTSET "80,81,88,8080,8081,60001,60002,8008,8888,554,9000,441,4111,6667,3536,22,21"
|
||||
#define IRC_CHAN "iskopasi_lab03"
|
||||
#define CSSOCKET(Socket) shutdown(Socket, SD_BOTH); closesocket(Socket); Socket = -1;
|
||||
|
||||
|
||||
@ -27,7 +26,7 @@ extern char top_level_domain[128];
|
||||
extern volatile int cons, BrutingThrds, gThreads;
|
||||
extern char **loginLst, **passLst, **wfLoginLst, **wfPassLst, **sshlpLst, **GlobalNegatives;
|
||||
extern bool trackerOK, __savingBackUpFile, globalScanFlag, MapWidgetOpened,
|
||||
widgetIsHidden, OnlineMsgSentFlag, utfIRCFlag, HTMLDebugMode, gNegDebugMode,
|
||||
widgetIsHidden, OnlineMsgSentFlag, HTMLDebugMode, gNegDebugMode,
|
||||
gDebugMode, horLineFlag, gPingNScan, gShuffle,
|
||||
BALogSwitched;
|
||||
extern int found, indexIP, gMode,
|
||||
@ -41,7 +40,6 @@ extern int found, indexIP, gMode,
|
||||
offlines, ssh, globalPinger, gPingTimeout, nickFlag, offlineFlag;
|
||||
extern unsigned int Activity;
|
||||
extern char trcSrv[256], trcScr[256], trcProxy[128], trcPersKey[64],
|
||||
ircServer[32], ircPort[32], ircProxy[64], ircProxyPort[8], ircNick[32],
|
||||
trcPort[32], trcSrvPortLine[32], saveEndIP[128],
|
||||
gRange[128], gFirstDom[128], gPorts[65536],
|
||||
gVER[16],
|
||||
|
129
finder.cpp
129
finder.cpp
@ -489,7 +489,6 @@ char topBuff[1024] = {"<div id=\"tit\"><a href=\"strange.html\">.strange</a> <a
|
||||
void fputsf(char *text, int flag, char *msg)
|
||||
{
|
||||
FILE *file = NULL;
|
||||
char wew[256] = {0};
|
||||
|
||||
if(flag == 0 || flag == 15 || flag == -10)
|
||||
{
|
||||
@ -760,7 +759,7 @@ void putInFile(int flag, const char *ip, char *port, int recd, char *finalstr, c
|
||||
ZeroMemory(msg, strlen(msg));
|
||||
}
|
||||
|
||||
void _specFillerBA(char *hl, const char *ip, char *port, char *finalstr, const char *login, const char *pass, int flag)
|
||||
void _specFillerBA(const char *ip, char *port, char *finalstr, const char *login, const char *pass, int flag)
|
||||
{
|
||||
char log[512] = {0};
|
||||
|
||||
@ -779,7 +778,7 @@ void _specFillerBA(char *hl, const char *ip, char *port, char *finalstr, const c
|
||||
fputsf (log , flag, "Basic Authorization");
|
||||
}
|
||||
|
||||
void _specFillerWF(char *hl, const char *ip, char *port, char *finalstr, char *login, char *pass, int flag)
|
||||
void _specFillerWF(const char *ip, char *port, char *finalstr, char *login, char *pass, int flag)
|
||||
{
|
||||
char log[512] = {0};
|
||||
|
||||
@ -1144,7 +1143,7 @@ void _specWFBrute(const char *ip, int port, char *hl, const char *buff, int flag
|
||||
|
||||
if(strstr(lps.login, "UNKNOWN") == NULL && strlen(lps.other) == 0)
|
||||
{
|
||||
_specFillerWF(hl, ip, tport, title, lps.login, lps.pass, flag);
|
||||
_specFillerWF(ip, tport, title, lps.login, lps.pass, flag);
|
||||
|
||||
fillGlobalLogData(ip, hl, tport, std::to_string(recd).c_str(), title, lps.login, lps.pass, comment, cp, tclass);
|
||||
putInFile(flag, ip, tport, recd, title, hl, cp);
|
||||
@ -1172,13 +1171,13 @@ void _specWEBIPCAMBrute(const char *ip, int port, char *hl, char *finalstr, int
|
||||
|
||||
if(strstr(lps.login, "UNKNOWN") == NULL && strlen(lps.other) == 0)
|
||||
{
|
||||
_specFillerBA(hl, ip, tport, finalstr, lps.login, lps.pass, flag);
|
||||
_specFillerBA(ip, tport, finalstr, lps.login, lps.pass, flag);
|
||||
|
||||
fillGlobalLogData(ip, hl, tport, std::to_string(recd).c_str(), finalstr, lps.login, lps.pass, comment, cp, "Basic Authorization");
|
||||
};
|
||||
}
|
||||
|
||||
void _specBrute(char *cookie, const char *ip, int port,
|
||||
void _specBrute(const char *ip, int port,
|
||||
char *hl, char *finalstr, int flag,
|
||||
char *path, char *comment, char *cp, int recd)
|
||||
{
|
||||
@ -1190,7 +1189,7 @@ void _specBrute(char *cookie, const char *ip, int port,
|
||||
|
||||
if(strstr(lps.login, "UNKNOWN") == NULL && strlen(lps.other) == 0)
|
||||
{
|
||||
_specFillerBA(hl, ip, tport, finalstr, lps.login, lps.pass, flag);
|
||||
_specFillerBA(ip, tport, finalstr, lps.login, lps.pass, flag);
|
||||
|
||||
fillGlobalLogData(ip, hl, tport, std::to_string(recd).c_str(), finalstr, lps.login, lps.pass, comment, cp, "Basic Authorization");
|
||||
};
|
||||
@ -1417,11 +1416,7 @@ int Lexems::_filler(int p, const char* buffcpy, char* ip, int recd, Lexems *lx,
|
||||
|
||||
int sz = strlen(ps.path);
|
||||
strncpy(baPath, ps.path, (sz < 256 ? sz : 256));
|
||||
}
|
||||
else
|
||||
{
|
||||
if(strstr(buffcpy, "Set-Cookie:") != NULL) strncpy(ps.cookie, _getAttribute(buffcpy, "Set-Cookie:"), COOKIE_MAX_SIZE);
|
||||
};
|
||||
};
|
||||
|
||||
sprintf(port, "%d", p);
|
||||
|
||||
@ -1480,47 +1475,47 @@ int Lexems::_filler(int p, const char* buffcpy, char* ip, int recd, Lexems *lx,
|
||||
}
|
||||
else if(flag == 21) //Eyeon
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "Eyeon Camera", flag, "/user/index.htm", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "Eyeon Camera", flag, "/user/index.htm", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 22) //IP Camera control
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "IP camera Control webpage", flag, "/main/cs_motion.asp", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "IP camera Control webpage", flag, "/main/cs_motion.asp", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 23) //Network Camera BB-SC384
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "Network Camera BB-SC384", flag, "/live/index2.html", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "Network Camera BB-SC384", flag, "/live/index2.html", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 24) //Network Camera VB-M40
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "Network Camera VB-M40", flag, "/-wvhttp-01-/open.cgi?", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "Network Camera VB-M40", flag, "/-wvhttp-01-/open.cgi?", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 25) //Panasonic WTFISTHISAreaOMGIDONTEVEN-camera
|
||||
{
|
||||
_specBrute(ps.cookie, ip, 60002, hl, "Panasonic WTFISTHISAreaOMGIDONTEVEN-camera", flag, "/SnapshotJPEG", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, 60002, hl, "Panasonic WTFISTHISAreaOMGIDONTEVEN-camera", flag, "/SnapshotJPEG", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 26) //Sony Network Camera
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "Sony Network Camera", flag, "/oneshotimage?", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "Sony Network Camera", flag, "/oneshotimage?", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 27) //UA Network Camera
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "UA Network Camera", flag, "/webs.cgi?", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "UA Network Camera", flag, "/webs.cgi?", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 28) //Network Camera VB-M40
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "Network Camera VB-??", flag, "/-wvhttp-01-/open.cgi?", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "Network Camera VB-??", flag, "/-wvhttp-01-/open.cgi?", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 29) //LG Smart IP Device
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "LG Smart IP Device Camera", flag, "/digest.php", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "LG Smart IP Device Camera", flag, "/digest.php", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 30) //NAS
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "NAS", flag, "/cgi-bin/data/viostor-220/viostor/viostor.cgi", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "NAS", flag, "/cgi-bin/data/viostor-220/viostor/viostor.cgi", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 31) //ip cam
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "IP Camera", flag, "/check_user.cgi", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "IP Camera", flag, "/check_user.cgi", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 32) //IPC WEB ip cam
|
||||
{
|
||||
@ -1532,7 +1527,7 @@ int Lexems::_filler(int p, const char* buffcpy, char* ip, int recd, Lexems *lx,
|
||||
}
|
||||
else if(flag == 34) //Hikvision ip cam
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "[Hikvision] IP Camera", flag, "/PSIA/Custom/SelfExt/userCheck", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "[Hikvision] IP Camera", flag, "/PSIA/Custom/SelfExt/userCheck", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 35) //EasyCam
|
||||
{
|
||||
@ -1540,11 +1535,11 @@ int Lexems::_filler(int p, const char* buffcpy, char* ip, int recd, Lexems *lx,
|
||||
}
|
||||
else if(flag == 36) //Panasonic Cam
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "[Panasonic] IP Camera", flag, "/config/index.cgi", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "[Panasonic] IP Camera", flag, "/config/index.cgi", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 37) //Panasonic Cam
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "[Panasonic] IP Camera", flag, "/view/getuid.cgi", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "[Panasonic] IP Camera", flag, "/view/getuid.cgi", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 38) //Foscam
|
||||
{
|
||||
@ -1552,11 +1547,11 @@ int Lexems::_filler(int p, const char* buffcpy, char* ip, int recd, Lexems *lx,
|
||||
}
|
||||
else if(flag == 39) //EagleEye
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "[EagleEye] IP Camera", flag, "/cgi-bin/guest/Video.cgi?", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "[EagleEye] IP Camera", flag, "/cgi-bin/guest/Video.cgi?", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 40) //Network Camera VB-C??
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "[Network Camera VB-C??] IP Camera", flag, "/admin/index.shtml?", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "[Network Camera VB-C??] IP Camera", flag, "/admin/index.shtml?", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 41) //AVIOSYS-camera
|
||||
{
|
||||
@ -1564,19 +1559,19 @@ int Lexems::_filler(int p, const char* buffcpy, char* ip, int recd, Lexems *lx,
|
||||
}
|
||||
else if(flag == 42) //NW_camera
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "[NW_camera] IP Camera", flag, "/cgi-bin/getuid?FILE=indexnw.html", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "[NW_camera] IP Camera", flag, "/cgi-bin/getuid?FILE=indexnw.html", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 43) //NW_camera
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "[Micros] IP Camera", flag, "/gui/rem_display.shtml", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "[Micros] IP Camera", flag, "/gui/rem_display.shtml", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 44) //Hikvision ip cam 2
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "[Hikvision] IP Camera 2", flag, "/ISAPI/Security/userCheck", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "[Hikvision] IP Camera 2", flag, "/ISAPI/Security/userCheck", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 45) //Panasonic ip cam
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "[Panasonic] IP Camera", flag, "/config/index.cgi", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "[Panasonic] IP Camera", flag, "/config/index.cgi", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 46) //Buffalo disk
|
||||
{
|
||||
@ -1596,39 +1591,39 @@ int Lexems::_filler(int p, const char* buffcpy, char* ip, int recd, Lexems *lx,
|
||||
}
|
||||
else if (flag == 50) //IP Camera
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "IP Camera", flag, "/app/multi/single.asp", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "IP Camera", flag, "/app/multi/single.asp", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 20) //AXIS Camera
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "AXIS Camera", flag, "/axis-cgi/com/ptz.cgi?", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "AXIS Camera", flag, "/axis-cgi/com/ptz.cgi?", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 19) //reecam cameras
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "Reecam (network camera)", flag, "/videostream.cgi", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "Reecam (network camera)", flag, "/videostream.cgi", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 18) //linksys camera
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "Linksys camera", flag, "/img/main.cgi", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "Linksys camera", flag, "/img/main.cgi", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 17) //Real-time IP Camera Monitoring System
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "Real-time IP Camera Monitoring System", flag, "/live.htm", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "Real-time IP Camera Monitoring System", flag, "/live.htm", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 11)
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "Netwave IP Camera", flag, "/videostream.cgi", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "Netwave IP Camera", flag, "/videostream.cgi", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 12)
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "IP Camera", flag, "/view/view.shtml?videos=", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "IP Camera", flag, "/view/view.shtml?videos=", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 13)
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "IP Camera", flag, "/eng/view/indexjava.html", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "IP Camera", flag, "/eng/view/indexjava.html", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 14)
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, "IP Camera", flag, "/rdr.cgi", "Basic Authorization", cp, recd);
|
||||
_specBrute(ip, p, hl, "IP Camera", flag, "/rdr.cgi", "Basic Authorization", cp, recd);
|
||||
}
|
||||
else if(flag == 15) //For HFS
|
||||
{
|
||||
@ -1645,11 +1640,11 @@ int Lexems::_filler(int p, const char* buffcpy, char* ip, int recd, Lexems *lx,
|
||||
}
|
||||
else if(flag == 1)
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, finalstr, flag, baPath, "[NORMAL]", cp, recd);
|
||||
_specBrute(ip, p, hl, finalstr, flag, baPath, "[NORMAL]", cp, recd);
|
||||
}
|
||||
else if(flag == 101)
|
||||
{
|
||||
_specBrute(ps.cookie, ip, p, hl, finalstr, flag, baPath, "[DIGEST]", cp, recd);
|
||||
_specBrute(ip, p, hl, finalstr, flag, baPath, "[DIGEST]", cp, recd);
|
||||
}
|
||||
else if(flag == 10)
|
||||
{
|
||||
@ -1663,7 +1658,7 @@ int Lexems::_filler(int p, const char* buffcpy, char* ip, int recd, Lexems *lx,
|
||||
return flag;
|
||||
}
|
||||
|
||||
int redirectReconnect(char *cookie, char *ip, int port, char *str, Lexems *ls, PathStr *ps, std::vector<std::string> *redirStrLst)
|
||||
int redirectReconnect(char *ip, int port, char *str, Lexems *ls, PathStr *ps, std::vector<std::string> *redirStrLst)
|
||||
{
|
||||
if(ls->iterationCount++ == 5)
|
||||
{
|
||||
@ -2151,33 +2146,11 @@ void _getLinkFromJSLocation(char *dataBuff, char *str, char *tag, char *ip, int
|
||||
};
|
||||
}
|
||||
|
||||
void _getJSCookie(char *dataBuff, const char *str, char *ip, int port)
|
||||
{
|
||||
char *ptr1 = strstri(str, "document.cookie");
|
||||
if(ptr1 != NULL)
|
||||
{
|
||||
char *ptr2 = _findFirst(ptr1, "\"'");
|
||||
if(ptr2 != NULL)
|
||||
{
|
||||
char *ptr3 = _findFirst(ptr2 + 1, "\"'");
|
||||
if(ptr3 != NULL)
|
||||
{
|
||||
int sz = ptr3 - ptr2 - 1;
|
||||
if(sz < 1024) strncpy(dataBuff, ptr2 + 1, sz);
|
||||
else
|
||||
{
|
||||
stt->doEmitionRedFoundData("[_getJSCookie] Cookie exceeds max value [" + QString(ip) + ":" + QString::number(port) + "]");
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
int Lexems::_header(char *ip, int port, const char str[], Lexems *l, PathStr *ps, std::vector<std::string> *redirStrLst)
|
||||
{
|
||||
std::string redirectStr = "";
|
||||
if(strstr(str, "Set-Cookie:") != NULL) strncpy(ps->cookie, _getAttribute(str, "Set-Cookie:"), COOKIE_MAX_SIZE);
|
||||
strcpy(ps->codepage, GetCodePage(str));
|
||||
|
||||
strcpy(ps->codepage, GetCodePage(str));
|
||||
char finalstr[512] = {0};
|
||||
|
||||
if(strstri(str, "notice auth :*** looking up your hostname...")
|
||||
@ -2279,15 +2252,17 @@ int Lexems::_header(char *ip, int port, const char str[], Lexems *l, PathStr *ps
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
redirectStr = std::string(temp3);
|
||||
if(std::find(redirStrLst->begin(), redirStrLst->end(), redirectStr) == redirStrLst->end())
|
||||
{
|
||||
redirStrLst->push_back(redirectStr);
|
||||
return redirectReconnect(ps->cookie, ip, port, temp3, l, ps, redirStrLst);
|
||||
return redirectReconnect(ip, port, temp3, l, ps, redirStrLst);
|
||||
} return -1;
|
||||
strcat(ps->headr, " ");
|
||||
return -2;
|
||||
};
|
||||
|
||||
strcat(ps->headr, finalstr);
|
||||
strcat(ps->headr, " ");
|
||||
return 0;
|
||||
@ -2295,13 +2270,7 @@ int Lexems::_header(char *ip, int port, const char str[], Lexems *l, PathStr *ps
|
||||
};
|
||||
|
||||
if(strstri(str, "<script") != NULL)
|
||||
{
|
||||
if(strstri(str, "document.cookie") != NULL)
|
||||
{
|
||||
ZeroMemory(ps->cookie, sizeof(ps->cookie));
|
||||
_getJSCookie(ps->cookie, str, ip, port);
|
||||
};
|
||||
|
||||
{
|
||||
char *ptr1 = strstri(str, "<script");
|
||||
char *ptr2 = NULL;
|
||||
char linkPtr[512] = {0};
|
||||
@ -2330,7 +2299,7 @@ int Lexems::_header(char *ip, int port, const char str[], Lexems *l, PathStr *ps
|
||||
if(std::find(redirStrLst->begin(), redirStrLst->end(), redirectStr) == redirStrLst->end())
|
||||
{
|
||||
redirStrLst->push_back(redirectStr);
|
||||
redirectReconnect(ps->cookie, ip, port, linkPtr, l, ps, redirStrLst);
|
||||
redirectReconnect(ip, port, linkPtr, l, ps, redirStrLst);
|
||||
};
|
||||
};
|
||||
delete []scriptContainer;
|
||||
@ -2381,7 +2350,7 @@ int Lexems::_header(char *ip, int port, const char str[], Lexems *l, PathStr *ps
|
||||
if(std::find(redirStrLst->begin(), redirStrLst->end(), redirectStr) == redirStrLst->end())
|
||||
{
|
||||
redirStrLst->push_back(redirectStr);
|
||||
return redirectReconnect(ps->cookie, ip, port, linkPtr, l, ps, redirStrLst);
|
||||
return redirectReconnect(ip, port, linkPtr, l, ps, redirStrLst);
|
||||
} return -1;
|
||||
};
|
||||
delete []scriptContainer;
|
||||
@ -2495,7 +2464,7 @@ int Lexems::_header(char *ip, int port, const char str[], Lexems *l, PathStr *ps
|
||||
if(std::find(redirStrLst->begin(), redirStrLst->end(), redirectStr) == redirStrLst->end())
|
||||
{
|
||||
redirStrLst->push_back(redirectStr);
|
||||
return redirectReconnect(ps->cookie, ip, port, lol, l, ps, redirStrLst);
|
||||
return redirectReconnect(ip, port, lol, l, ps, redirStrLst);
|
||||
};
|
||||
}
|
||||
else
|
||||
@ -2565,7 +2534,7 @@ int Lexems::_header(char *ip, int port, const char str[], Lexems *l, PathStr *ps
|
||||
// if (std::find(redirStrLst->begin(), redirStrLst->end(), redirStr) == redirStrLst->end())
|
||||
// {
|
||||
// redirStrLst->push_back(redirStr);
|
||||
// return redirectReconnect(ps->cookie, ip, port, redirStr, l, ps, redirStrLst);
|
||||
// return redirectReconnect(ip, port, redirStr, l, ps, redirStrLst);
|
||||
// } return -1;
|
||||
// }
|
||||
// return -2;
|
||||
|
@ -1,16 +0,0 @@
|
||||
#include "irc_nmblinker.h"
|
||||
#include "nesca_3.h"
|
||||
|
||||
void IRC_NMBlinker::doEmitBlinkMessage()
|
||||
{
|
||||
emit irc_nmb->sBlinkMessage();
|
||||
};
|
||||
|
||||
void IRC_NMBlinker::run()
|
||||
{
|
||||
while(widgetIsHidden == false && disableBlink == false && tray->isVisible() == false)
|
||||
{
|
||||
irc_nmb->doEmitBlinkMessage();
|
||||
msleep(500);
|
||||
};
|
||||
};
|
@ -1,20 +0,0 @@
|
||||
#ifndef IRC_NMBLINKER_H
|
||||
#define IRC_NMBLINKER_H
|
||||
|
||||
#include "nesca_3.h"
|
||||
|
||||
class IRC_NMBlinker : public QThread
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
static void doEmitBlinkMessage();
|
||||
|
||||
public: signals: void sBlinkMessage();
|
||||
|
||||
protected:
|
||||
void run();
|
||||
};
|
||||
extern IRC_NMBlinker *irc_nmb;
|
||||
|
||||
#endif // IRC_NMBLINKER_H
|
BIN
irc_nmblinker.o
Normal file
BIN
irc_nmblinker.o
Normal file
Binary file not shown.
1
main.cpp
1
main.cpp
@ -5,6 +5,7 @@
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
|
||||
QStringList list;
|
||||
list << "Eurostile.ttf";
|
||||
int fontID(-1);
|
||||
|
141
moc_ActivityDrawerTh_HorNet.cpp
Normal file
141
moc_ActivityDrawerTh_HorNet.cpp
Normal file
@ -0,0 +1,141 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'ActivityDrawerTh_HorNet.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "ActivityDrawerTh_HorNet.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'ActivityDrawerTh_HorNet.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_ActivityDrawerTh_HorNet_t {
|
||||
QByteArrayData data[4];
|
||||
char stringdata[53];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_ActivityDrawerTh_HorNet_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_ActivityDrawerTh_HorNet_t qt_meta_stringdata_ActivityDrawerTh_HorNet = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 23),
|
||||
QT_MOC_LITERAL(1, 24, 17),
|
||||
QT_MOC_LITERAL(2, 42, 0),
|
||||
QT_MOC_LITERAL(3, 43, 9)
|
||||
},
|
||||
"ActivityDrawerTh_HorNet\0sDrawActivityLine\0"
|
||||
"\0sDrawGrid"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_ActivityDrawerTh_HorNet[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 24, 2, 0x06 /* Public */,
|
||||
3, 0, 27, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void ActivityDrawerTh_HorNet::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
ActivityDrawerTh_HorNet *_t = static_cast<ActivityDrawerTh_HorNet *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->sDrawActivityLine((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 1: _t->sDrawGrid(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (ActivityDrawerTh_HorNet::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ActivityDrawerTh_HorNet::sDrawActivityLine)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (ActivityDrawerTh_HorNet::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ActivityDrawerTh_HorNet::sDrawGrid)) {
|
||||
*result = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject ActivityDrawerTh_HorNet::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_ActivityDrawerTh_HorNet.data,
|
||||
qt_meta_data_ActivityDrawerTh_HorNet, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *ActivityDrawerTh_HorNet::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *ActivityDrawerTh_HorNet::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_ActivityDrawerTh_HorNet.stringdata))
|
||||
return static_cast<void*>(const_cast< ActivityDrawerTh_HorNet*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int ActivityDrawerTh_HorNet::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void ActivityDrawerTh_HorNet::sDrawActivityLine(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void ActivityDrawerTh_HorNet::sDrawGrid()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, 0);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_ActivityDrawerTh_HorNet.o
Normal file
BIN
moc_ActivityDrawerTh_HorNet.o
Normal file
Binary file not shown.
88
moc_CheckKey_Th.cpp
Normal file
88
moc_CheckKey_Th.cpp
Normal file
@ -0,0 +1,88 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'CheckKey_Th.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "CheckKey_Th.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'CheckKey_Th.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_CheckKey_Th_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata[12];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_CheckKey_Th_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_CheckKey_Th_t qt_meta_stringdata_CheckKey_Th = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 11)
|
||||
},
|
||||
"CheckKey_Th"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_CheckKey_Th[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void CheckKey_Th::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject CheckKey_Th::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_CheckKey_Th.data,
|
||||
qt_meta_data_CheckKey_Th, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *CheckKey_Th::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *CheckKey_Th::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_CheckKey_Th.stringdata))
|
||||
return static_cast<void*>(const_cast< CheckKey_Th*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int CheckKey_Th::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_CheckKey_Th.o
Normal file
BIN
moc_CheckKey_Th.o
Normal file
Binary file not shown.
194
moc_CheckProxy_Th.cpp
Normal file
194
moc_CheckProxy_Th.cpp
Normal file
@ -0,0 +1,194 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'CheckProxy_Th.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "CheckProxy_Th.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'CheckProxy_Th.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_CheckProxy_Th_t {
|
||||
QByteArrayData data[7];
|
||||
char stringdata[111];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_CheckProxy_Th_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_CheckProxy_Th_t qt_meta_stringdata_CheckProxy_Th = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 13),
|
||||
QT_MOC_LITERAL(1, 14, 16),
|
||||
QT_MOC_LITERAL(2, 31, 0),
|
||||
QT_MOC_LITERAL(3, 32, 18),
|
||||
QT_MOC_LITERAL(4, 51, 19),
|
||||
QT_MOC_LITERAL(5, 71, 19),
|
||||
QT_MOC_LITERAL(6, 91, 19)
|
||||
},
|
||||
"CheckProxy_Th\0changeRedIRCData\0\0"
|
||||
"changeGreenIRCData\0changeYellowIRCData\0"
|
||||
"changeRawIRCDataInc\0changeRawIRCDataOut"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_CheckProxy_Th[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
5, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 39, 2, 0x06 /* Public */,
|
||||
3, 1, 42, 2, 0x06 /* Public */,
|
||||
4, 1, 45, 2, 0x06 /* Public */,
|
||||
5, 1, 48, 2, 0x06 /* Public */,
|
||||
6, 1, 51, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void CheckProxy_Th::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
CheckProxy_Th *_t = static_cast<CheckProxy_Th *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->changeRedIRCData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 1: _t->changeGreenIRCData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 2: _t->changeYellowIRCData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 3: _t->changeRawIRCDataInc((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 4: _t->changeRawIRCDataOut((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (CheckProxy_Th::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CheckProxy_Th::changeRedIRCData)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (CheckProxy_Th::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CheckProxy_Th::changeGreenIRCData)) {
|
||||
*result = 1;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (CheckProxy_Th::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CheckProxy_Th::changeYellowIRCData)) {
|
||||
*result = 2;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (CheckProxy_Th::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CheckProxy_Th::changeRawIRCDataInc)) {
|
||||
*result = 3;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (CheckProxy_Th::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CheckProxy_Th::changeRawIRCDataOut)) {
|
||||
*result = 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject CheckProxy_Th::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_CheckProxy_Th.data,
|
||||
qt_meta_data_CheckProxy_Th, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *CheckProxy_Th::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *CheckProxy_Th::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_CheckProxy_Th.stringdata))
|
||||
return static_cast<void*>(const_cast< CheckProxy_Th*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int CheckProxy_Th::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void CheckProxy_Th::changeRedIRCData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void CheckProxy_Th::changeGreenIRCData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void CheckProxy_Th::changeYellowIRCData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void CheckProxy_Th::changeRawIRCDataInc(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void CheckProxy_Th::changeRawIRCDataOut(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_CheckProxy_Th.o
Normal file
BIN
moc_CheckProxy_Th.o
Normal file
Binary file not shown.
124
moc_DrawerTh_GridQoSScanner.cpp
Normal file
124
moc_DrawerTh_GridQoSScanner.cpp
Normal file
@ -0,0 +1,124 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'DrawerTh_GridQoSScanner.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "DrawerTh_GridQoSScanner.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'DrawerTh_GridQoSScanner.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_DrawerTh_GridQoSScanner_t {
|
||||
QByteArrayData data[3];
|
||||
char stringdata[34];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_DrawerTh_GridQoSScanner_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_DrawerTh_GridQoSScanner_t qt_meta_stringdata_DrawerTh_GridQoSScanner = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 23),
|
||||
QT_MOC_LITERAL(1, 24, 8),
|
||||
QT_MOC_LITERAL(2, 33, 0)
|
||||
},
|
||||
"DrawerTh_GridQoSScanner\0sAddLine\0"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_DrawerTh_GridQoSScanner[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 19, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void DrawerTh_GridQoSScanner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
DrawerTh_GridQoSScanner *_t = static_cast<DrawerTh_GridQoSScanner *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->sAddLine(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (DrawerTh_GridQoSScanner::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DrawerTh_GridQoSScanner::sAddLine)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject DrawerTh_GridQoSScanner::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_DrawerTh_GridQoSScanner.data,
|
||||
qt_meta_data_DrawerTh_GridQoSScanner, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *DrawerTh_GridQoSScanner::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *DrawerTh_GridQoSScanner::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_DrawerTh_GridQoSScanner.stringdata))
|
||||
return static_cast<void*>(const_cast< DrawerTh_GridQoSScanner*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int DrawerTh_GridQoSScanner::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void DrawerTh_GridQoSScanner::sAddLine()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, 0);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_DrawerTh_GridQoSScanner.o
Normal file
BIN
moc_DrawerTh_GridQoSScanner.o
Normal file
Binary file not shown.
157
moc_DrawerTh_HorNet.cpp
Normal file
157
moc_DrawerTh_HorNet.cpp
Normal file
@ -0,0 +1,157 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'DrawerTh_HorNet.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "DrawerTh_HorNet.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'DrawerTh_HorNet.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_DrawerTh_HorNet_t {
|
||||
QByteArrayData data[5];
|
||||
char stringdata[51];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_DrawerTh_HorNet_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_DrawerTh_HorNet_t qt_meta_stringdata_DrawerTh_HorNet = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 15),
|
||||
QT_MOC_LITERAL(1, 16, 14),
|
||||
QT_MOC_LITERAL(2, 31, 0),
|
||||
QT_MOC_LITERAL(3, 32, 8),
|
||||
QT_MOC_LITERAL(4, 41, 9)
|
||||
},
|
||||
"DrawerTh_HorNet\0sAddDelimLines\0\0"
|
||||
"sAddLine\0sDrawGrid"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_DrawerTh_HorNet[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
3, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 29, 2, 0x06 /* Public */,
|
||||
3, 4, 30, 2, 0x06 /* Public */,
|
||||
4, 0, 39, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, 2, 2, 2, 2,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void DrawerTh_HorNet::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
DrawerTh_HorNet *_t = static_cast<DrawerTh_HorNet *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->sAddDelimLines(); break;
|
||||
case 1: _t->sAddLine((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
|
||||
case 2: _t->sDrawGrid(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (DrawerTh_HorNet::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DrawerTh_HorNet::sAddDelimLines)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (DrawerTh_HorNet::*_t)(int , int , int , int );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DrawerTh_HorNet::sAddLine)) {
|
||||
*result = 1;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (DrawerTh_HorNet::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DrawerTh_HorNet::sDrawGrid)) {
|
||||
*result = 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject DrawerTh_HorNet::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_DrawerTh_HorNet.data,
|
||||
qt_meta_data_DrawerTh_HorNet, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *DrawerTh_HorNet::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *DrawerTh_HorNet::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_DrawerTh_HorNet.stringdata))
|
||||
return static_cast<void*>(const_cast< DrawerTh_HorNet*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int DrawerTh_HorNet::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 3;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void DrawerTh_HorNet::sAddDelimLines()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, 0);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void DrawerTh_HorNet::sAddLine(int _t1, int _t2, int _t3, int _t4)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void DrawerTh_HorNet::sDrawGrid()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, 0);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_DrawerTh_HorNet.o
Normal file
BIN
moc_DrawerTh_HorNet.o
Normal file
Binary file not shown.
141
moc_DrawerTh_ME2Scanner.cpp
Normal file
141
moc_DrawerTh_ME2Scanner.cpp
Normal file
@ -0,0 +1,141 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'DrawerTh_ME2Scanner.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "DrawerTh_ME2Scanner.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'DrawerTh_ME2Scanner.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_DrawerTh_ME2Scanner_t {
|
||||
QByteArrayData data[4];
|
||||
char stringdata[51];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_DrawerTh_ME2Scanner_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_DrawerTh_ME2Scanner_t qt_meta_stringdata_DrawerTh_ME2Scanner = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 19),
|
||||
QT_MOC_LITERAL(1, 20, 12),
|
||||
QT_MOC_LITERAL(2, 33, 0),
|
||||
QT_MOC_LITERAL(3, 34, 16)
|
||||
},
|
||||
"DrawerTh_ME2Scanner\0sAddPolyLine\0\0"
|
||||
"sDrawTextPlacers"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_DrawerTh_ME2Scanner[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 24, 2, 0x06 /* Public */,
|
||||
3, 0, 25, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void DrawerTh_ME2Scanner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
DrawerTh_ME2Scanner *_t = static_cast<DrawerTh_ME2Scanner *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->sAddPolyLine(); break;
|
||||
case 1: _t->sDrawTextPlacers(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (DrawerTh_ME2Scanner::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DrawerTh_ME2Scanner::sAddPolyLine)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (DrawerTh_ME2Scanner::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DrawerTh_ME2Scanner::sDrawTextPlacers)) {
|
||||
*result = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject DrawerTh_ME2Scanner::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_DrawerTh_ME2Scanner.data,
|
||||
qt_meta_data_DrawerTh_ME2Scanner, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *DrawerTh_ME2Scanner::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *DrawerTh_ME2Scanner::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_DrawerTh_ME2Scanner.stringdata))
|
||||
return static_cast<void*>(const_cast< DrawerTh_ME2Scanner*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int DrawerTh_ME2Scanner::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void DrawerTh_ME2Scanner::sAddPolyLine()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, 0);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void DrawerTh_ME2Scanner::sDrawTextPlacers()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, 0);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_DrawerTh_ME2Scanner.o
Normal file
BIN
moc_DrawerTh_ME2Scanner.o
Normal file
Binary file not shown.
124
moc_DrawerTh_QoSScanner.cpp
Normal file
124
moc_DrawerTh_QoSScanner.cpp
Normal file
@ -0,0 +1,124 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'DrawerTh_QoSScanner.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "DrawerTh_QoSScanner.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'DrawerTh_QoSScanner.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_DrawerTh_QoSScanner_t {
|
||||
QByteArrayData data[3];
|
||||
char stringdata[30];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_DrawerTh_QoSScanner_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_DrawerTh_QoSScanner_t qt_meta_stringdata_DrawerTh_QoSScanner = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 19),
|
||||
QT_MOC_LITERAL(1, 20, 8),
|
||||
QT_MOC_LITERAL(2, 29, 0)
|
||||
},
|
||||
"DrawerTh_QoSScanner\0sAddLine\0"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_DrawerTh_QoSScanner[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 19, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void DrawerTh_QoSScanner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
DrawerTh_QoSScanner *_t = static_cast<DrawerTh_QoSScanner *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->sAddLine(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (DrawerTh_QoSScanner::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DrawerTh_QoSScanner::sAddLine)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject DrawerTh_QoSScanner::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_DrawerTh_QoSScanner.data,
|
||||
qt_meta_data_DrawerTh_QoSScanner, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *DrawerTh_QoSScanner::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *DrawerTh_QoSScanner::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_DrawerTh_QoSScanner.stringdata))
|
||||
return static_cast<void*>(const_cast< DrawerTh_QoSScanner*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int DrawerTh_QoSScanner::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void DrawerTh_QoSScanner::sAddLine()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, 0);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_DrawerTh_QoSScanner.o
Normal file
BIN
moc_DrawerTh_QoSScanner.o
Normal file
Binary file not shown.
158
moc_DrawerTh_VoiceScanner.cpp
Normal file
158
moc_DrawerTh_VoiceScanner.cpp
Normal file
@ -0,0 +1,158 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'DrawerTh_VoiceScanner.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "DrawerTh_VoiceScanner.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'DrawerTh_VoiceScanner.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_DrawerTh_VoiceScanner_t {
|
||||
QByteArrayData data[6];
|
||||
char stringdata[66];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_DrawerTh_VoiceScanner_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_DrawerTh_VoiceScanner_t qt_meta_stringdata_DrawerTh_VoiceScanner = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 21),
|
||||
QT_MOC_LITERAL(1, 22, 8),
|
||||
QT_MOC_LITERAL(2, 31, 0),
|
||||
QT_MOC_LITERAL(3, 32, 9),
|
||||
QT_MOC_LITERAL(4, 42, 6),
|
||||
QT_MOC_LITERAL(5, 49, 16)
|
||||
},
|
||||
"DrawerTh_VoiceScanner\0sAddLine\0\0"
|
||||
"sDrawGrid\0factor\0sDrawTextPlacers"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_DrawerTh_VoiceScanner[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
3, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 29, 2, 0x06 /* Public */,
|
||||
3, 1, 30, 2, 0x06 /* Public */,
|
||||
5, 0, 33, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Int, 4,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void DrawerTh_VoiceScanner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
DrawerTh_VoiceScanner *_t = static_cast<DrawerTh_VoiceScanner *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->sAddLine(); break;
|
||||
case 1: _t->sDrawGrid((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 2: _t->sDrawTextPlacers(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (DrawerTh_VoiceScanner::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DrawerTh_VoiceScanner::sAddLine)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (DrawerTh_VoiceScanner::*_t)(int );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DrawerTh_VoiceScanner::sDrawGrid)) {
|
||||
*result = 1;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (DrawerTh_VoiceScanner::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DrawerTh_VoiceScanner::sDrawTextPlacers)) {
|
||||
*result = 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject DrawerTh_VoiceScanner::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_DrawerTh_VoiceScanner.data,
|
||||
qt_meta_data_DrawerTh_VoiceScanner, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *DrawerTh_VoiceScanner::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *DrawerTh_VoiceScanner::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_DrawerTh_VoiceScanner.stringdata))
|
||||
return static_cast<void*>(const_cast< DrawerTh_VoiceScanner*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int DrawerTh_VoiceScanner::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 3;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void DrawerTh_VoiceScanner::sAddLine()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, 0);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void DrawerTh_VoiceScanner::sDrawGrid(int _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void DrawerTh_VoiceScanner::sDrawTextPlacers()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, 0);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_DrawerTh_VoiceScanner.o
Normal file
BIN
moc_DrawerTh_VoiceScanner.o
Normal file
Binary file not shown.
141
moc_IRCPinger_Th.cpp
Normal file
141
moc_IRCPinger_Th.cpp
Normal file
@ -0,0 +1,141 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'IRCPinger_Th.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "IRCPinger_Th.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'IRCPinger_Th.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_IRCPinger_Th_t {
|
||||
QByteArrayData data[4];
|
||||
char stringdata[42];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_IRCPinger_Th_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_IRCPinger_Th_t qt_meta_stringdata_IRCPinger_Th = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 12),
|
||||
QT_MOC_LITERAL(1, 13, 16),
|
||||
QT_MOC_LITERAL(2, 30, 0),
|
||||
QT_MOC_LITERAL(3, 31, 10)
|
||||
},
|
||||
"IRCPinger_Th\0changeRedIRCData\0\0"
|
||||
"RestartIRC"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_IRCPinger_Th[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 24, 2, 0x06 /* Public */,
|
||||
3, 0, 27, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void IRCPinger_Th::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
IRCPinger_Th *_t = static_cast<IRCPinger_Th *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->changeRedIRCData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 1: _t->RestartIRC(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (IRCPinger_Th::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IRCPinger_Th::changeRedIRCData)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (IRCPinger_Th::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IRCPinger_Th::RestartIRC)) {
|
||||
*result = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject IRCPinger_Th::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_IRCPinger_Th.data,
|
||||
qt_meta_data_IRCPinger_Th, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *IRCPinger_Th::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *IRCPinger_Th::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_IRCPinger_Th.stringdata))
|
||||
return static_cast<void*>(const_cast< IRCPinger_Th*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int IRCPinger_Th::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void IRCPinger_Th::changeRedIRCData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void IRCPinger_Th::RestartIRC()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, 0);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_IRCPinger_Th.o
Normal file
BIN
moc_IRCPinger_Th.o
Normal file
Binary file not shown.
520
moc_STh.cpp
Normal file
520
moc_STh.cpp
Normal file
@ -0,0 +1,520 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'STh.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "STh.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'STh.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_STh_t {
|
||||
QByteArrayData data[26];
|
||||
char stringdata[370];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_STh_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_STh_t qt_meta_stringdata_STh = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 3),
|
||||
QT_MOC_LITERAL(1, 4, 14),
|
||||
QT_MOC_LITERAL(2, 19, 0),
|
||||
QT_MOC_LITERAL(3, 20, 11),
|
||||
QT_MOC_LITERAL(4, 32, 12),
|
||||
QT_MOC_LITERAL(5, 45, 15),
|
||||
QT_MOC_LITERAL(6, 61, 15),
|
||||
QT_MOC_LITERAL(7, 77, 17),
|
||||
QT_MOC_LITERAL(8, 95, 15),
|
||||
QT_MOC_LITERAL(9, 111, 12),
|
||||
QT_MOC_LITERAL(10, 124, 13),
|
||||
QT_MOC_LITERAL(11, 138, 13),
|
||||
QT_MOC_LITERAL(12, 152, 17),
|
||||
QT_MOC_LITERAL(13, 170, 13),
|
||||
QT_MOC_LITERAL(14, 184, 13),
|
||||
QT_MOC_LITERAL(15, 198, 9),
|
||||
QT_MOC_LITERAL(16, 208, 15),
|
||||
QT_MOC_LITERAL(17, 224, 18),
|
||||
QT_MOC_LITERAL(18, 243, 20),
|
||||
QT_MOC_LITERAL(19, 264, 21),
|
||||
QT_MOC_LITERAL(20, 286, 20),
|
||||
QT_MOC_LITERAL(21, 307, 12),
|
||||
QT_MOC_LITERAL(22, 320, 17),
|
||||
QT_MOC_LITERAL(23, 338, 13),
|
||||
QT_MOC_LITERAL(24, 352, 8),
|
||||
QT_MOC_LITERAL(25, 361, 8)
|
||||
},
|
||||
"STh\0showRedVersion\0\0startScanIP\0"
|
||||
"startScanDNS\0startScanImport\0"
|
||||
"signalDataSaved\0changeGreenBAData\0"
|
||||
"changeRedBAData\0changeBAData\0changeOffline\0"
|
||||
"changeBAValue\0changeParsedValue\0"
|
||||
"changeIpRange\0changeThreads\0changeIPS\0"
|
||||
"changeFoundData\0changeRedFoundData\0"
|
||||
"changeGreenFoundData\0changeYellowFoundData\0"
|
||||
"changeDebugFoundData\0changeStatus\0"
|
||||
"changeTargetsLeft\0killSttThread\0"
|
||||
"sIncData\0sOutData"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_STh[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
24, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
24, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 134, 2, 0x06 /* Public */,
|
||||
3, 0, 135, 2, 0x06 /* Public */,
|
||||
4, 0, 136, 2, 0x06 /* Public */,
|
||||
5, 0, 137, 2, 0x06 /* Public */,
|
||||
6, 1, 138, 2, 0x06 /* Public */,
|
||||
7, 1, 141, 2, 0x06 /* Public */,
|
||||
8, 1, 144, 2, 0x06 /* Public */,
|
||||
9, 1, 147, 2, 0x06 /* Public */,
|
||||
10, 1, 150, 2, 0x06 /* Public */,
|
||||
11, 1, 153, 2, 0x06 /* Public */,
|
||||
12, 1, 156, 2, 0x06 /* Public */,
|
||||
13, 1, 159, 2, 0x06 /* Public */,
|
||||
14, 1, 162, 2, 0x06 /* Public */,
|
||||
15, 1, 165, 2, 0x06 /* Public */,
|
||||
16, 1, 168, 2, 0x06 /* Public */,
|
||||
17, 1, 171, 2, 0x06 /* Public */,
|
||||
18, 1, 174, 2, 0x06 /* Public */,
|
||||
19, 1, 177, 2, 0x06 /* Public */,
|
||||
20, 1, 180, 2, 0x06 /* Public */,
|
||||
21, 1, 183, 2, 0x06 /* Public */,
|
||||
22, 1, 186, 2, 0x06 /* Public */,
|
||||
23, 0, 189, 2, 0x06 /* Public */,
|
||||
24, 2, 190, 2, 0x06 /* Public */,
|
||||
25, 1, 195, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, QMetaType::QString, 2, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void STh::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
STh *_t = static_cast<STh *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->showRedVersion(); break;
|
||||
case 1: _t->startScanIP(); break;
|
||||
case 2: _t->startScanDNS(); break;
|
||||
case 3: _t->startScanImport(); break;
|
||||
case 4: _t->signalDataSaved((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 5: _t->changeGreenBAData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 6: _t->changeRedBAData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 7: _t->changeBAData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 8: _t->changeOffline((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 9: _t->changeBAValue((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 10: _t->changeParsedValue((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 11: _t->changeIpRange((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 12: _t->changeThreads((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 13: _t->changeIPS((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 14: _t->changeFoundData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 15: _t->changeRedFoundData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 16: _t->changeGreenFoundData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 17: _t->changeYellowFoundData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 18: _t->changeDebugFoundData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 19: _t->changeStatus((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 20: _t->changeTargetsLeft((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 21: _t->killSttThread(); break;
|
||||
case 22: _t->sIncData((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
|
||||
case 23: _t->sOutData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (STh::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::showRedVersion)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::startScanIP)) {
|
||||
*result = 1;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::startScanDNS)) {
|
||||
*result = 2;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::startScanImport)) {
|
||||
*result = 3;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::signalDataSaved)) {
|
||||
*result = 4;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeGreenBAData)) {
|
||||
*result = 5;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeRedBAData)) {
|
||||
*result = 6;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeBAData)) {
|
||||
*result = 7;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeOffline)) {
|
||||
*result = 8;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeBAValue)) {
|
||||
*result = 9;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeParsedValue)) {
|
||||
*result = 10;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeIpRange)) {
|
||||
*result = 11;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeThreads)) {
|
||||
*result = 12;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeIPS)) {
|
||||
*result = 13;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeFoundData)) {
|
||||
*result = 14;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeRedFoundData)) {
|
||||
*result = 15;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeGreenFoundData)) {
|
||||
*result = 16;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeYellowFoundData)) {
|
||||
*result = 17;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeDebugFoundData)) {
|
||||
*result = 18;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeStatus)) {
|
||||
*result = 19;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::changeTargetsLeft)) {
|
||||
*result = 20;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::killSttThread)) {
|
||||
*result = 21;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString , QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::sIncData)) {
|
||||
*result = 22;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (STh::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&STh::sOutData)) {
|
||||
*result = 23;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject STh::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_STh.data,
|
||||
qt_meta_data_STh, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *STh::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *STh::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_STh.stringdata))
|
||||
return static_cast<void*>(const_cast< STh*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int STh::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 24)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 24;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 24)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 24;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void STh::showRedVersion()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, 0);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void STh::startScanIP()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, 0);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void STh::startScanDNS()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, 0);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void STh::startScanImport()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, 0);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void STh::signalDataSaved(bool _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 5
|
||||
void STh::changeGreenBAData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 6
|
||||
void STh::changeRedBAData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 6, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 7
|
||||
void STh::changeBAData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 7, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 8
|
||||
void STh::changeOffline(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 8, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 9
|
||||
void STh::changeBAValue(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 9, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 10
|
||||
void STh::changeParsedValue(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 10, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 11
|
||||
void STh::changeIpRange(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 11, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 12
|
||||
void STh::changeThreads(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 12, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 13
|
||||
void STh::changeIPS(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 13, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 14
|
||||
void STh::changeFoundData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 14, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 15
|
||||
void STh::changeRedFoundData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 15, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 16
|
||||
void STh::changeGreenFoundData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 16, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 17
|
||||
void STh::changeYellowFoundData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 17, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 18
|
||||
void STh::changeDebugFoundData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 18, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 19
|
||||
void STh::changeStatus(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 19, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 20
|
||||
void STh::changeTargetsLeft(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 20, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 21
|
||||
void STh::killSttThread()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 21, 0);
|
||||
}
|
||||
|
||||
// SIGNAL 22
|
||||
void STh::sIncData(QString _t1, QString _t2)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 22, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 23
|
||||
void STh::sOutData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 23, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
124
moc_irc_nmblinker.cpp
Normal file
124
moc_irc_nmblinker.cpp
Normal file
@ -0,0 +1,124 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'irc_nmblinker.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "irc_nmblinker.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'irc_nmblinker.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_IRC_NMBlinker_t {
|
||||
QByteArrayData data[3];
|
||||
char stringdata[29];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_IRC_NMBlinker_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_IRC_NMBlinker_t qt_meta_stringdata_IRC_NMBlinker = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 13),
|
||||
QT_MOC_LITERAL(1, 14, 13),
|
||||
QT_MOC_LITERAL(2, 28, 0)
|
||||
},
|
||||
"IRC_NMBlinker\0sBlinkMessage\0"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_IRC_NMBlinker[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 19, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void IRC_NMBlinker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
IRC_NMBlinker *_t = static_cast<IRC_NMBlinker *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->sBlinkMessage(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (IRC_NMBlinker::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IRC_NMBlinker::sBlinkMessage)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject IRC_NMBlinker::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_IRC_NMBlinker.data,
|
||||
qt_meta_data_IRC_NMBlinker, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *IRC_NMBlinker::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *IRC_NMBlinker::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_IRC_NMBlinker.stringdata))
|
||||
return static_cast<void*>(const_cast< IRC_NMBlinker*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int IRC_NMBlinker::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void IRC_NMBlinker::sBlinkMessage()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, 0);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_irc_nmblinker.o
Normal file
BIN
moc_irc_nmblinker.o
Normal file
Binary file not shown.
124
moc_msgcheckerthread.cpp
Normal file
124
moc_msgcheckerthread.cpp
Normal file
@ -0,0 +1,124 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'msgcheckerthread.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "msgcheckerthread.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'msgcheckerthread.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_MSGCheckerThread_t {
|
||||
QByteArrayData data[3];
|
||||
char stringdata[29];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_MSGCheckerThread_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_MSGCheckerThread_t qt_meta_stringdata_MSGCheckerThread = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 16),
|
||||
QT_MOC_LITERAL(1, 17, 10),
|
||||
QT_MOC_LITERAL(2, 28, 0)
|
||||
},
|
||||
"MSGCheckerThread\0showNewMsg\0"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_MSGCheckerThread[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 19, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void MSGCheckerThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
MSGCheckerThread *_t = static_cast<MSGCheckerThread *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->showNewMsg((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (MSGCheckerThread::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MSGCheckerThread::showNewMsg)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject MSGCheckerThread::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_MSGCheckerThread.data,
|
||||
qt_meta_data_MSGCheckerThread, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *MSGCheckerThread::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *MSGCheckerThread::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_MSGCheckerThread.stringdata))
|
||||
return static_cast<void*>(const_cast< MSGCheckerThread*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int MSGCheckerThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void MSGCheckerThread::showNewMsg(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_msgcheckerthread.o
Normal file
BIN
moc_msgcheckerthread.o
Normal file
Binary file not shown.
713
moc_nesca_3.cpp
Normal file
713
moc_nesca_3.cpp
Normal file
@ -0,0 +1,713 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'nesca_3.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "nesca_3.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'nesca_3.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_nesca_3_t {
|
||||
QByteArrayData data[111];
|
||||
char stringdata[1651];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_nesca_3_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_nesca_3_t qt_meta_stringdata_nesca_3 = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 7),
|
||||
QT_MOC_LITERAL(1, 8, 25),
|
||||
QT_MOC_LITERAL(2, 34, 0),
|
||||
QT_MOC_LITERAL(3, 35, 3),
|
||||
QT_MOC_LITERAL(4, 39, 23),
|
||||
QT_MOC_LITERAL(5, 63, 3),
|
||||
QT_MOC_LITERAL(6, 67, 14),
|
||||
QT_MOC_LITERAL(7, 82, 18),
|
||||
QT_MOC_LITERAL(8, 101, 6),
|
||||
QT_MOC_LITERAL(9, 108, 12),
|
||||
QT_MOC_LITERAL(10, 121, 20),
|
||||
QT_MOC_LITERAL(11, 142, 21),
|
||||
QT_MOC_LITERAL(12, 164, 22),
|
||||
QT_MOC_LITERAL(13, 187, 18),
|
||||
QT_MOC_LITERAL(14, 206, 11),
|
||||
QT_MOC_LITERAL(15, 218, 15),
|
||||
QT_MOC_LITERAL(16, 234, 15),
|
||||
QT_MOC_LITERAL(17, 250, 15),
|
||||
QT_MOC_LITERAL(18, 266, 10),
|
||||
QT_MOC_LITERAL(19, 277, 15),
|
||||
QT_MOC_LITERAL(20, 293, 16),
|
||||
QT_MOC_LITERAL(21, 310, 2),
|
||||
QT_MOC_LITERAL(22, 313, 17),
|
||||
QT_MOC_LITERAL(23, 331, 17),
|
||||
QT_MOC_LITERAL(24, 349, 13),
|
||||
QT_MOC_LITERAL(25, 363, 16),
|
||||
QT_MOC_LITERAL(26, 380, 14),
|
||||
QT_MOC_LITERAL(27, 395, 5),
|
||||
QT_MOC_LITERAL(28, 401, 9),
|
||||
QT_MOC_LITERAL(29, 411, 10),
|
||||
QT_MOC_LITERAL(30, 422, 13),
|
||||
QT_MOC_LITERAL(31, 436, 10),
|
||||
QT_MOC_LITERAL(32, 447, 16),
|
||||
QT_MOC_LITERAL(33, 464, 11),
|
||||
QT_MOC_LITERAL(34, 476, 11),
|
||||
QT_MOC_LITERAL(35, 488, 2),
|
||||
QT_MOC_LITERAL(36, 491, 17),
|
||||
QT_MOC_LITERAL(37, 509, 13),
|
||||
QT_MOC_LITERAL(38, 523, 8),
|
||||
QT_MOC_LITERAL(39, 532, 3),
|
||||
QT_MOC_LITERAL(40, 536, 13),
|
||||
QT_MOC_LITERAL(41, 550, 13),
|
||||
QT_MOC_LITERAL(42, 564, 14),
|
||||
QT_MOC_LITERAL(43, 579, 17),
|
||||
QT_MOC_LITERAL(44, 597, 6),
|
||||
QT_MOC_LITERAL(45, 604, 19),
|
||||
QT_MOC_LITERAL(46, 624, 13),
|
||||
QT_MOC_LITERAL(47, 638, 4),
|
||||
QT_MOC_LITERAL(48, 643, 12),
|
||||
QT_MOC_LITERAL(49, 656, 19),
|
||||
QT_MOC_LITERAL(50, 676, 10),
|
||||
QT_MOC_LITERAL(51, 687, 10),
|
||||
QT_MOC_LITERAL(52, 698, 9),
|
||||
QT_MOC_LITERAL(53, 708, 15),
|
||||
QT_MOC_LITERAL(54, 724, 15),
|
||||
QT_MOC_LITERAL(55, 740, 18),
|
||||
QT_MOC_LITERAL(56, 759, 10),
|
||||
QT_MOC_LITERAL(57, 770, 17),
|
||||
QT_MOC_LITERAL(58, 788, 16),
|
||||
QT_MOC_LITERAL(59, 805, 13),
|
||||
QT_MOC_LITERAL(60, 819, 14),
|
||||
QT_MOC_LITERAL(61, 834, 16),
|
||||
QT_MOC_LITERAL(62, 851, 18),
|
||||
QT_MOC_LITERAL(63, 870, 20),
|
||||
QT_MOC_LITERAL(64, 891, 4),
|
||||
QT_MOC_LITERAL(65, 896, 20),
|
||||
QT_MOC_LITERAL(66, 917, 20),
|
||||
QT_MOC_LITERAL(67, 938, 18),
|
||||
QT_MOC_LITERAL(68, 957, 20),
|
||||
QT_MOC_LITERAL(69, 978, 18),
|
||||
QT_MOC_LITERAL(70, 997, 15),
|
||||
QT_MOC_LITERAL(71, 1013, 14),
|
||||
QT_MOC_LITERAL(72, 1028, 11),
|
||||
QT_MOC_LITERAL(73, 1040, 2),
|
||||
QT_MOC_LITERAL(74, 1043, 2),
|
||||
QT_MOC_LITERAL(75, 1046, 2),
|
||||
QT_MOC_LITERAL(76, 1049, 2),
|
||||
QT_MOC_LITERAL(77, 1052, 12),
|
||||
QT_MOC_LITERAL(78, 1065, 17),
|
||||
QT_MOC_LITERAL(79, 1083, 17),
|
||||
QT_MOC_LITERAL(80, 1101, 14),
|
||||
QT_MOC_LITERAL(81, 1116, 12),
|
||||
QT_MOC_LITERAL(82, 1129, 5),
|
||||
QT_MOC_LITERAL(83, 1135, 15),
|
||||
QT_MOC_LITERAL(84, 1151, 17),
|
||||
QT_MOC_LITERAL(85, 1169, 16),
|
||||
QT_MOC_LITERAL(86, 1186, 22),
|
||||
QT_MOC_LITERAL(87, 1209, 25),
|
||||
QT_MOC_LITERAL(88, 1235, 11),
|
||||
QT_MOC_LITERAL(89, 1247, 15),
|
||||
QT_MOC_LITERAL(90, 1263, 13),
|
||||
QT_MOC_LITERAL(91, 1277, 31),
|
||||
QT_MOC_LITERAL(92, 1309, 18),
|
||||
QT_MOC_LITERAL(93, 1328, 26),
|
||||
QT_MOC_LITERAL(94, 1355, 13),
|
||||
QT_MOC_LITERAL(95, 1369, 12),
|
||||
QT_MOC_LITERAL(96, 1382, 15),
|
||||
QT_MOC_LITERAL(97, 1398, 16),
|
||||
QT_MOC_LITERAL(98, 1415, 17),
|
||||
QT_MOC_LITERAL(99, 1433, 16),
|
||||
QT_MOC_LITERAL(100, 1450, 18),
|
||||
QT_MOC_LITERAL(101, 1469, 19),
|
||||
QT_MOC_LITERAL(102, 1489, 20),
|
||||
QT_MOC_LITERAL(103, 1510, 1),
|
||||
QT_MOC_LITERAL(104, 1512, 23),
|
||||
QT_MOC_LITERAL(105, 1536, 26),
|
||||
QT_MOC_LITERAL(106, 1563, 26),
|
||||
QT_MOC_LITERAL(107, 1590, 17),
|
||||
QT_MOC_LITERAL(108, 1608, 15),
|
||||
QT_MOC_LITERAL(109, 1624, 12),
|
||||
QT_MOC_LITERAL(110, 1637, 13)
|
||||
},
|
||||
"nesca_3\0MaxBrutingThr_ChangeValue\0\0"
|
||||
"str\0ThreadDelay_ChangeValue\0val\0"
|
||||
"ChangePingerOK\0changeNSTrackLabel\0"
|
||||
"status\0slotPBUpdate\0DNSLine_ValueChanged\0"
|
||||
"slotChangeCPModeToUTF\0slotChangeCPModeTo1251\0"
|
||||
"slotShowRedVersion\0ChangeTopic\0"
|
||||
"slotIRCGetTopic\0slotIRCOfflined\0"
|
||||
"slotUnhidePopup\0senderNick\0slotItemClicked\0"
|
||||
"QListWidgetItem*\0wi\0slotClearNickList\0"
|
||||
"slotAppendIRCNick\0slotShowNicks\0"
|
||||
"slotBlinkMessage\0slotTabChanged\0index\0"
|
||||
"IPScanSeq\0DNSScanSeq\0ImportScanSeq\0"
|
||||
"smReaction\0slotShowDataflow\0slotOutData\0"
|
||||
"slotIncData\0ip\0slotShowServerMsg\0"
|
||||
"slotSaveImage\0QAction*\0qwe\0slotUpdatePie\0"
|
||||
"slotClearLogs\0slotRestartIRC\0"
|
||||
"slotDrawVoiceGrid\0factor\0slotDrawTextPlacers\0"
|
||||
"onLinkClicked\0link\0CheckPersKey\0"
|
||||
"slotRestoreDefPorts\0ChangeNick\0"
|
||||
"setNickBox\0SaySmthng\0ChangeIRCRawLog\0"
|
||||
"switchToJobMode\0ConnectToIRCServer\0"
|
||||
"CheckProxy\0ChangeDispalyMode\0"
|
||||
"switchDataFields\0importAndScan\0"
|
||||
"slotQoSAddGrid\0slotVoiceAddLine\0"
|
||||
"slotDrawDelimLines\0slotDrawActivityLine\0"
|
||||
"data\0slotDrawActivityGrid\0"
|
||||
"activateME2ScanScene\0activateQoSScanBut\0"
|
||||
"activateVoiceScanBut\0activatePieStatBut\0"
|
||||
"slotAddPolyLine\0slotQoSAddLine\0"
|
||||
"slotAddLine\0x1\0y1\0x2\0y2\0slotDrawGrid\0"
|
||||
"exitButtonClicked\0trayButtonClicked\0"
|
||||
"mouseMoveEvent\0QMouseEvent*\0event\0"
|
||||
"mousePressEvent\0mouseReleaseEvent\0"
|
||||
"logoLabelClicked\0startScanButtonClicked\0"
|
||||
"startScanButtonClickedDNS\0saveOptions\0"
|
||||
"ChangeTrackerOK\0ChangeShuffle\0"
|
||||
"ChangeLabelThreads_ValueChanged\0"
|
||||
"PingTO_ChangeValue\0ChangeLabelTO_ValueChanged\0"
|
||||
"appendErrText\0appendOKText\0appendDebugText\0"
|
||||
"appendNotifyText\0appendDefaultText\0"
|
||||
"appendRedIRCText\0appendGreenIRCText\0"
|
||||
"appendYellowIRCText\0appendDefaultIRCText\0"
|
||||
"s\0appendDefaultIRCTextOut\0"
|
||||
"appendDefaultIRCRawTextInc\0"
|
||||
"appendDefaultIRCRawTextOut\0appendGreenBAData\0"
|
||||
"appendRedBAData\0STTTerminate\0playFcknSound"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_nesca_3[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
90, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 1, 464, 2, 0x09 /* Protected */,
|
||||
4, 1, 467, 2, 0x09 /* Protected */,
|
||||
6, 1, 470, 2, 0x09 /* Protected */,
|
||||
7, 1, 473, 2, 0x09 /* Protected */,
|
||||
9, 0, 476, 2, 0x09 /* Protected */,
|
||||
10, 0, 477, 2, 0x09 /* Protected */,
|
||||
11, 0, 478, 2, 0x09 /* Protected */,
|
||||
12, 0, 479, 2, 0x09 /* Protected */,
|
||||
13, 0, 480, 2, 0x09 /* Protected */,
|
||||
14, 0, 481, 2, 0x09 /* Protected */,
|
||||
15, 1, 482, 2, 0x09 /* Protected */,
|
||||
16, 0, 485, 2, 0x09 /* Protected */,
|
||||
17, 2, 486, 2, 0x09 /* Protected */,
|
||||
19, 1, 491, 2, 0x09 /* Protected */,
|
||||
22, 0, 494, 2, 0x09 /* Protected */,
|
||||
23, 1, 495, 2, 0x09 /* Protected */,
|
||||
24, 0, 498, 2, 0x09 /* Protected */,
|
||||
25, 0, 499, 2, 0x09 /* Protected */,
|
||||
26, 1, 500, 2, 0x09 /* Protected */,
|
||||
28, 0, 503, 2, 0x09 /* Protected */,
|
||||
29, 0, 504, 2, 0x09 /* Protected */,
|
||||
30, 0, 505, 2, 0x09 /* Protected */,
|
||||
31, 0, 506, 2, 0x09 /* Protected */,
|
||||
32, 0, 507, 2, 0x09 /* Protected */,
|
||||
33, 1, 508, 2, 0x09 /* Protected */,
|
||||
34, 2, 511, 2, 0x09 /* Protected */,
|
||||
36, 1, 516, 2, 0x09 /* Protected */,
|
||||
37, 1, 519, 2, 0x09 /* Protected */,
|
||||
40, 0, 522, 2, 0x09 /* Protected */,
|
||||
41, 0, 523, 2, 0x09 /* Protected */,
|
||||
42, 0, 524, 2, 0x09 /* Protected */,
|
||||
43, 1, 525, 2, 0x09 /* Protected */,
|
||||
45, 0, 528, 2, 0x09 /* Protected */,
|
||||
46, 1, 529, 2, 0x09 /* Protected */,
|
||||
48, 0, 532, 2, 0x09 /* Protected */,
|
||||
48, 1, 533, 2, 0x09 /* Protected */,
|
||||
49, 0, 536, 2, 0x09 /* Protected */,
|
||||
50, 0, 537, 2, 0x09 /* Protected */,
|
||||
51, 1, 538, 2, 0x09 /* Protected */,
|
||||
52, 0, 541, 2, 0x09 /* Protected */,
|
||||
53, 0, 542, 2, 0x09 /* Protected */,
|
||||
54, 0, 543, 2, 0x09 /* Protected */,
|
||||
55, 0, 544, 2, 0x09 /* Protected */,
|
||||
56, 0, 545, 2, 0x09 /* Protected */,
|
||||
57, 0, 546, 2, 0x09 /* Protected */,
|
||||
58, 0, 547, 2, 0x09 /* Protected */,
|
||||
59, 0, 548, 2, 0x09 /* Protected */,
|
||||
60, 0, 549, 2, 0x09 /* Protected */,
|
||||
61, 0, 550, 2, 0x09 /* Protected */,
|
||||
62, 0, 551, 2, 0x09 /* Protected */,
|
||||
63, 1, 552, 2, 0x09 /* Protected */,
|
||||
65, 0, 555, 2, 0x09 /* Protected */,
|
||||
66, 0, 556, 2, 0x09 /* Protected */,
|
||||
67, 0, 557, 2, 0x09 /* Protected */,
|
||||
68, 0, 558, 2, 0x09 /* Protected */,
|
||||
69, 0, 559, 2, 0x09 /* Protected */,
|
||||
70, 0, 560, 2, 0x09 /* Protected */,
|
||||
71, 0, 561, 2, 0x09 /* Protected */,
|
||||
72, 4, 562, 2, 0x09 /* Protected */,
|
||||
77, 0, 571, 2, 0x09 /* Protected */,
|
||||
78, 0, 572, 2, 0x09 /* Protected */,
|
||||
79, 0, 573, 2, 0x09 /* Protected */,
|
||||
80, 1, 574, 2, 0x09 /* Protected */,
|
||||
83, 1, 577, 2, 0x09 /* Protected */,
|
||||
84, 1, 580, 2, 0x09 /* Protected */,
|
||||
85, 0, 583, 2, 0x09 /* Protected */,
|
||||
86, 0, 584, 2, 0x09 /* Protected */,
|
||||
87, 0, 585, 2, 0x09 /* Protected */,
|
||||
88, 0, 586, 2, 0x09 /* Protected */,
|
||||
89, 1, 587, 2, 0x09 /* Protected */,
|
||||
90, 1, 590, 2, 0x09 /* Protected */,
|
||||
91, 1, 593, 2, 0x09 /* Protected */,
|
||||
92, 1, 596, 2, 0x09 /* Protected */,
|
||||
93, 1, 599, 2, 0x09 /* Protected */,
|
||||
94, 1, 602, 2, 0x09 /* Protected */,
|
||||
95, 1, 605, 2, 0x09 /* Protected */,
|
||||
96, 1, 608, 2, 0x09 /* Protected */,
|
||||
97, 1, 611, 2, 0x09 /* Protected */,
|
||||
98, 1, 614, 2, 0x09 /* Protected */,
|
||||
99, 1, 617, 2, 0x09 /* Protected */,
|
||||
100, 1, 620, 2, 0x09 /* Protected */,
|
||||
101, 1, 623, 2, 0x09 /* Protected */,
|
||||
102, 4, 626, 2, 0x09 /* Protected */,
|
||||
104, 1, 635, 2, 0x09 /* Protected */,
|
||||
105, 1, 638, 2, 0x09 /* Protected */,
|
||||
106, 1, 641, 2, 0x09 /* Protected */,
|
||||
107, 1, 644, 2, 0x09 /* Protected */,
|
||||
108, 1, 647, 2, 0x09 /* Protected */,
|
||||
109, 0, 650, 2, 0x09 /* Protected */,
|
||||
110, 0, 651, 2, 0x09 /* Protected */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::QString, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 8,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, QMetaType::QString, 3, 18,
|
||||
QMetaType::Void, 0x80000000 | 20, 21,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Int, 27,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::QString, QMetaType::QString, 35, 3,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, 0x80000000 | 38, 39,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Int, 44,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QUrl, 47,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Int, 5,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 64,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, 73, 74, 75, 76,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, 0x80000000 | 81, 82,
|
||||
QMetaType::Void, 0x80000000 | 81, 82,
|
||||
QMetaType::Void, 0x80000000 | 81, 82,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::Bool, QMetaType::Bool, QMetaType::QString, QMetaType::QString, 2, 2, 3, 103,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void nesca_3::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
nesca_3 *_t = static_cast<nesca_3 *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->MaxBrutingThr_ChangeValue((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 1: _t->ThreadDelay_ChangeValue((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 2: _t->ChangePingerOK((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 3: _t->changeNSTrackLabel((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 4: _t->slotPBUpdate(); break;
|
||||
case 5: _t->DNSLine_ValueChanged(); break;
|
||||
case 6: _t->slotChangeCPModeToUTF(); break;
|
||||
case 7: _t->slotChangeCPModeTo1251(); break;
|
||||
case 8: _t->slotShowRedVersion(); break;
|
||||
case 9: _t->ChangeTopic(); break;
|
||||
case 10: _t->slotIRCGetTopic((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 11: _t->slotIRCOfflined(); break;
|
||||
case 12: _t->slotUnhidePopup((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
|
||||
case 13: _t->slotItemClicked((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
|
||||
case 14: _t->slotClearNickList(); break;
|
||||
case 15: _t->slotAppendIRCNick((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 16: _t->slotShowNicks(); break;
|
||||
case 17: _t->slotBlinkMessage(); break;
|
||||
case 18: _t->slotTabChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 19: _t->IPScanSeq(); break;
|
||||
case 20: _t->DNSScanSeq(); break;
|
||||
case 21: _t->ImportScanSeq(); break;
|
||||
case 22: _t->smReaction(); break;
|
||||
case 23: _t->slotShowDataflow(); break;
|
||||
case 24: _t->slotOutData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 25: _t->slotIncData((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
|
||||
case 26: _t->slotShowServerMsg((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 27: _t->slotSaveImage((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
|
||||
case 28: _t->slotUpdatePie(); break;
|
||||
case 29: _t->slotClearLogs(); break;
|
||||
case 30: _t->slotRestartIRC(); break;
|
||||
case 31: _t->slotDrawVoiceGrid((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 32: _t->slotDrawTextPlacers(); break;
|
||||
case 33: _t->onLinkClicked((*reinterpret_cast< QUrl(*)>(_a[1]))); break;
|
||||
case 34: _t->CheckPersKey(); break;
|
||||
case 35: _t->CheckPersKey((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 36: _t->slotRestoreDefPorts(); break;
|
||||
case 37: _t->ChangeNick(); break;
|
||||
case 38: _t->setNickBox((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 39: _t->SaySmthng(); break;
|
||||
case 40: _t->ChangeIRCRawLog(); break;
|
||||
case 41: _t->switchToJobMode(); break;
|
||||
case 42: _t->ConnectToIRCServer(); break;
|
||||
case 43: _t->CheckProxy(); break;
|
||||
case 44: _t->ChangeDispalyMode(); break;
|
||||
case 45: _t->switchDataFields(); break;
|
||||
case 46: _t->importAndScan(); break;
|
||||
case 47: _t->slotQoSAddGrid(); break;
|
||||
case 48: _t->slotVoiceAddLine(); break;
|
||||
case 49: _t->slotDrawDelimLines(); break;
|
||||
case 50: _t->slotDrawActivityLine((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 51: _t->slotDrawActivityGrid(); break;
|
||||
case 52: _t->activateME2ScanScene(); break;
|
||||
case 53: _t->activateQoSScanBut(); break;
|
||||
case 54: _t->activateVoiceScanBut(); break;
|
||||
case 55: _t->activatePieStatBut(); break;
|
||||
case 56: _t->slotAddPolyLine(); break;
|
||||
case 57: _t->slotQoSAddLine(); break;
|
||||
case 58: _t->slotAddLine((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
|
||||
case 59: _t->slotDrawGrid(); break;
|
||||
case 60: _t->exitButtonClicked(); break;
|
||||
case 61: _t->trayButtonClicked(); break;
|
||||
case 62: _t->mouseMoveEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
|
||||
case 63: _t->mousePressEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
|
||||
case 64: _t->mouseReleaseEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
|
||||
case 65: _t->logoLabelClicked(); break;
|
||||
case 66: _t->startScanButtonClicked(); break;
|
||||
case 67: _t->startScanButtonClickedDNS(); break;
|
||||
case 68: _t->saveOptions(); break;
|
||||
case 69: _t->ChangeTrackerOK((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 70: _t->ChangeShuffle((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 71: _t->ChangeLabelThreads_ValueChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 72: _t->PingTO_ChangeValue((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 73: _t->ChangeLabelTO_ValueChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 74: _t->appendErrText((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 75: _t->appendOKText((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 76: _t->appendDebugText((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 77: _t->appendNotifyText((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 78: _t->appendDefaultText((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 79: _t->appendRedIRCText((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 80: _t->appendGreenIRCText((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 81: _t->appendYellowIRCText((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 82: _t->appendDefaultIRCText((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4]))); break;
|
||||
case 83: _t->appendDefaultIRCTextOut((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 84: _t->appendDefaultIRCRawTextInc((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 85: _t->appendDefaultIRCRawTextOut((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 86: _t->appendGreenBAData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 87: _t->appendRedBAData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 88: _t->STTTerminate(); break;
|
||||
case 89: _t->playFcknSound(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 27:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject nesca_3::staticMetaObject = {
|
||||
{ &QMainWindow::staticMetaObject, qt_meta_stringdata_nesca_3.data,
|
||||
qt_meta_data_nesca_3, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *nesca_3::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *nesca_3::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_nesca_3.stringdata))
|
||||
return static_cast<void*>(const_cast< nesca_3*>(this));
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int nesca_3::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 90)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 90;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 90)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 90;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
struct qt_meta_stringdata_PieStatView_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata[12];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_PieStatView_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_PieStatView_t qt_meta_stringdata_PieStatView = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 11)
|
||||
},
|
||||
"PieStatView"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_PieStatView[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void PieStatView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject PieStatView::staticMetaObject = {
|
||||
{ &QGraphicsView::staticMetaObject, qt_meta_stringdata_PieStatView.data,
|
||||
qt_meta_data_PieStatView, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *PieStatView::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *PieStatView::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_PieStatView.stringdata))
|
||||
return static_cast<void*>(const_cast< PieStatView*>(this));
|
||||
return QGraphicsView::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int PieStatView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QGraphicsView::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
return _id;
|
||||
}
|
||||
struct qt_meta_stringdata_PopupMsgWidget_t {
|
||||
QByteArrayData data[4];
|
||||
char stringdata[32];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_PopupMsgWidget_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_PopupMsgWidget_t qt_meta_stringdata_PopupMsgWidget = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14),
|
||||
QT_MOC_LITERAL(1, 15, 7),
|
||||
QT_MOC_LITERAL(2, 23, 0),
|
||||
QT_MOC_LITERAL(3, 24, 7)
|
||||
},
|
||||
"PopupMsgWidget\0clicked\0\0checked"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_PopupMsgWidget[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 24, 2, 0x06 /* Public */,
|
||||
1, 0, 27, 2, 0x26 /* Public | MethodCloned */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void PopupMsgWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
PopupMsgWidget *_t = static_cast<PopupMsgWidget *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->clicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 1: _t->clicked(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (PopupMsgWidget::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PopupMsgWidget::clicked)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject PopupMsgWidget::staticMetaObject = {
|
||||
{ &QWidget::staticMetaObject, qt_meta_stringdata_PopupMsgWidget.data,
|
||||
qt_meta_data_PopupMsgWidget, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *PopupMsgWidget::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *PopupMsgWidget::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_PopupMsgWidget.stringdata))
|
||||
return static_cast<void*>(const_cast< PopupMsgWidget*>(this));
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int PopupMsgWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void PopupMsgWidget::clicked(bool _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_nesca_3.o
Normal file
BIN
moc_nesca_3.o
Normal file
Binary file not shown.
330
moc_oIRC_Th.cpp
Normal file
330
moc_oIRC_Th.cpp
Normal file
@ -0,0 +1,330 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'oIRC_Th.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "oIRC_Th.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'oIRC_Th.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_oIRC_Th_t {
|
||||
QByteArrayData data[15];
|
||||
char stringdata[194];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_oIRC_Th_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_oIRC_Th_t qt_meta_stringdata_oIRC_Th = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 7),
|
||||
QT_MOC_LITERAL(1, 8, 12),
|
||||
QT_MOC_LITERAL(2, 21, 0),
|
||||
QT_MOC_LITERAL(3, 22, 13),
|
||||
QT_MOC_LITERAL(4, 36, 16),
|
||||
QT_MOC_LITERAL(5, 53, 18),
|
||||
QT_MOC_LITERAL(6, 72, 19),
|
||||
QT_MOC_LITERAL(7, 92, 19),
|
||||
QT_MOC_LITERAL(8, 112, 19),
|
||||
QT_MOC_LITERAL(9, 132, 7),
|
||||
QT_MOC_LITERAL(10, 140, 7),
|
||||
QT_MOC_LITERAL(11, 148, 13),
|
||||
QT_MOC_LITERAL(12, 162, 11),
|
||||
QT_MOC_LITERAL(13, 174, 10),
|
||||
QT_MOC_LITERAL(14, 185, 8)
|
||||
},
|
||||
"oIRC_Th\0sUnhidePopup\0\0changeIRCData\0"
|
||||
"changeRedIRCData\0changeGreenIRCData\0"
|
||||
"changeYellowIRCData\0changeRawIRCDataInc\0"
|
||||
"changeRawIRCDataOut\0setNick\0AddNick\0"
|
||||
"ClearNickList\0IRCOfflined\0notifyPlay\0"
|
||||
"getTopic"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_oIRC_Th[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
13, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
13, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 79, 2, 0x06 /* Public */,
|
||||
3, 5, 84, 2, 0x06 /* Public */,
|
||||
4, 1, 95, 2, 0x06 /* Public */,
|
||||
5, 1, 98, 2, 0x06 /* Public */,
|
||||
6, 1, 101, 2, 0x06 /* Public */,
|
||||
7, 1, 104, 2, 0x06 /* Public */,
|
||||
8, 1, 107, 2, 0x06 /* Public */,
|
||||
9, 1, 110, 2, 0x06 /* Public */,
|
||||
10, 1, 113, 2, 0x06 /* Public */,
|
||||
11, 0, 116, 2, 0x06 /* Public */,
|
||||
12, 0, 117, 2, 0x06 /* Public */,
|
||||
13, 0, 118, 2, 0x06 /* Public */,
|
||||
14, 1, 119, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QString, QMetaType::QString, 2, 2,
|
||||
QMetaType::Void, QMetaType::Bool, QMetaType::Bool, QMetaType::Int, QMetaType::QString, QMetaType::QString, 2, 2, 2, 2, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void oIRC_Th::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
oIRC_Th *_t = static_cast<oIRC_Th *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->sUnhidePopup((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
|
||||
case 1: _t->changeIRCData((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4])),(*reinterpret_cast< QString(*)>(_a[5]))); break;
|
||||
case 2: _t->changeRedIRCData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 3: _t->changeGreenIRCData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 4: _t->changeYellowIRCData((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 5: _t->changeRawIRCDataInc((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 6: _t->changeRawIRCDataOut((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 7: _t->setNick((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 8: _t->AddNick((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 9: _t->ClearNickList(); break;
|
||||
case 10: _t->IRCOfflined(); break;
|
||||
case 11: _t->notifyPlay(); break;
|
||||
case 12: _t->getTopic((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (oIRC_Th::*_t)(QString , QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&oIRC_Th::sUnhidePopup)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (oIRC_Th::*_t)(bool , bool , int , QString , QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&oIRC_Th::changeIRCData)) {
|
||||
*result = 1;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (oIRC_Th::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&oIRC_Th::changeRedIRCData)) {
|
||||
*result = 2;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (oIRC_Th::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&oIRC_Th::changeGreenIRCData)) {
|
||||
*result = 3;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (oIRC_Th::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&oIRC_Th::changeYellowIRCData)) {
|
||||
*result = 4;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (oIRC_Th::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&oIRC_Th::changeRawIRCDataInc)) {
|
||||
*result = 5;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (oIRC_Th::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&oIRC_Th::changeRawIRCDataOut)) {
|
||||
*result = 6;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (oIRC_Th::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&oIRC_Th::setNick)) {
|
||||
*result = 7;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (oIRC_Th::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&oIRC_Th::AddNick)) {
|
||||
*result = 8;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (oIRC_Th::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&oIRC_Th::ClearNickList)) {
|
||||
*result = 9;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (oIRC_Th::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&oIRC_Th::IRCOfflined)) {
|
||||
*result = 10;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (oIRC_Th::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&oIRC_Th::notifyPlay)) {
|
||||
*result = 11;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (oIRC_Th::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&oIRC_Th::getTopic)) {
|
||||
*result = 12;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject oIRC_Th::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_oIRC_Th.data,
|
||||
qt_meta_data_oIRC_Th, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *oIRC_Th::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *oIRC_Th::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_oIRC_Th.stringdata))
|
||||
return static_cast<void*>(const_cast< oIRC_Th*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int oIRC_Th::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 13)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 13;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 13)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 13;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void oIRC_Th::sUnhidePopup(QString _t1, QString _t2)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void oIRC_Th::changeIRCData(bool _t1, bool _t2, int _t3, QString _t4, QString _t5)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void oIRC_Th::changeRedIRCData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void oIRC_Th::changeGreenIRCData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void oIRC_Th::changeYellowIRCData(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 5
|
||||
void oIRC_Th::changeRawIRCDataInc(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 6
|
||||
void oIRC_Th::changeRawIRCDataOut(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 6, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 7
|
||||
void oIRC_Th::setNick(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 7, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 8
|
||||
void oIRC_Th::AddNick(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 8, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 9
|
||||
void oIRC_Th::ClearNickList()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 9, 0);
|
||||
}
|
||||
|
||||
// SIGNAL 10
|
||||
void oIRC_Th::IRCOfflined()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 10, 0);
|
||||
}
|
||||
|
||||
// SIGNAL 11
|
||||
void oIRC_Th::notifyPlay()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 11, 0);
|
||||
}
|
||||
|
||||
// SIGNAL 12
|
||||
void oIRC_Th::getTopic(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 12, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_oIRC_Th.o
Normal file
BIN
moc_oIRC_Th.o
Normal file
Binary file not shown.
124
moc_piestat.cpp
Normal file
124
moc_piestat.cpp
Normal file
@ -0,0 +1,124 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'piestat.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "piestat.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'piestat.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_PieStat_t {
|
||||
QByteArrayData data[3];
|
||||
char stringdata[20];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_PieStat_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_PieStat_t qt_meta_stringdata_PieStat = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 7),
|
||||
QT_MOC_LITERAL(1, 8, 10),
|
||||
QT_MOC_LITERAL(2, 19, 0)
|
||||
},
|
||||
"PieStat\0sUpdatePie\0"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_PieStat[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 19, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void PieStat::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
PieStat *_t = static_cast<PieStat *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->sUpdatePie(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (PieStat::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PieStat::sUpdatePie)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject PieStat::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_PieStat.data,
|
||||
qt_meta_data_PieStat, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *PieStat::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *PieStat::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_PieStat.stringdata))
|
||||
return static_cast<void*>(const_cast< PieStat*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int PieStat::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void PieStat::sUpdatePie()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, 0);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_piestat.o
Normal file
BIN
moc_piestat.o
Normal file
Binary file not shown.
124
moc_progressbardrawer.cpp
Normal file
124
moc_progressbardrawer.cpp
Normal file
@ -0,0 +1,124 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'progressbardrawer.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "progressbardrawer.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'progressbardrawer.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_ProgressbarDrawer_t {
|
||||
QByteArrayData data[3];
|
||||
char stringdata[23];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_ProgressbarDrawer_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_ProgressbarDrawer_t qt_meta_stringdata_ProgressbarDrawer = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 17),
|
||||
QT_MOC_LITERAL(1, 18, 3),
|
||||
QT_MOC_LITERAL(2, 22, 0)
|
||||
},
|
||||
"ProgressbarDrawer\0upd\0"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_ProgressbarDrawer[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 19, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void ProgressbarDrawer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
ProgressbarDrawer *_t = static_cast<ProgressbarDrawer *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->upd(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (ProgressbarDrawer::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ProgressbarDrawer::upd)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject ProgressbarDrawer::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_ProgressbarDrawer.data,
|
||||
qt_meta_data_ProgressbarDrawer, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *ProgressbarDrawer::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *ProgressbarDrawer::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_ProgressbarDrawer.stringdata))
|
||||
return static_cast<void*>(const_cast< ProgressbarDrawer*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int ProgressbarDrawer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void ProgressbarDrawer::upd()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, 0);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_progressbardrawer.o
Normal file
BIN
moc_progressbardrawer.o
Normal file
Binary file not shown.
88
moc_vercheckerthread.cpp
Normal file
88
moc_vercheckerthread.cpp
Normal file
@ -0,0 +1,88 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'vercheckerthread.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "vercheckerthread.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'vercheckerthread.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.3.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_VerCheckerThread_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata[17];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_VerCheckerThread_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_VerCheckerThread_t qt_meta_stringdata_VerCheckerThread = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 16)
|
||||
},
|
||||
"VerCheckerThread"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_VerCheckerThread[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void VerCheckerThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject VerCheckerThread::staticMetaObject = {
|
||||
{ &QThread::staticMetaObject, qt_meta_stringdata_VerCheckerThread.data,
|
||||
qt_meta_data_VerCheckerThread, qt_static_metacall, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *VerCheckerThread::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *VerCheckerThread::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_VerCheckerThread.stringdata))
|
||||
return static_cast<void*>(const_cast< VerCheckerThread*>(this));
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int VerCheckerThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
moc_vercheckerthread.o
Normal file
BIN
moc_vercheckerthread.o
Normal file
Binary file not shown.
BIN
msgcheckerthread.o
Normal file
BIN
msgcheckerthread.o
Normal file
Binary file not shown.
@ -20,18 +20,14 @@ SOURCES +=\
|
||||
ActivityDrawerTh_HorNet.cpp \
|
||||
base64.cpp \
|
||||
CheckKey_Th.cpp \
|
||||
CheckProxy_Th.cpp \
|
||||
DrawerTh_GridQoSScanner.cpp \
|
||||
DrawerTh_HorNet.cpp \
|
||||
DrawerTh_ME2Scanner.cpp \
|
||||
DrawerTh_QoSScanner.cpp \
|
||||
DrawerTh_VoiceScanner.cpp \
|
||||
irc_nmblinker.cpp \
|
||||
IRCPinger_Th.cpp \
|
||||
msgcheckerthread.cpp \
|
||||
nesca_3.cpp \
|
||||
nesca_startModule.cpp \
|
||||
oIRC_Th.cpp \
|
||||
piestat.cpp \
|
||||
progressbardrawer.cpp \
|
||||
STh.cpp \
|
||||
@ -50,7 +46,6 @@ SOURCES +=\
|
||||
HEADERS += ActivityDrawerTh_HorNet.h \
|
||||
base64.h \
|
||||
CheckKey_Th.h \
|
||||
CheckProxy_Th.h \
|
||||
DrawerTh_GridQoSScanner.h \
|
||||
DrawerTh_HorNet.h \
|
||||
DrawerTh_ME2Scanner.h \
|
||||
@ -58,12 +53,9 @@ HEADERS += ActivityDrawerTh_HorNet.h \
|
||||
DrawerTh_VoiceScanner.h \
|
||||
externData.h \
|
||||
externFunctions.h \
|
||||
irc_nmblinker.h \
|
||||
IRCPinger_Th.h \
|
||||
mainResources.h \
|
||||
msgcheckerthread.h \
|
||||
nesca_3.h \
|
||||
oIRC_Th.h \
|
||||
piestat.h \
|
||||
progressbardrawer.h \
|
||||
resource.h \
|
||||
|
957
nesca_3.cpp
957
nesca_3.cpp
File diff suppressed because it is too large
Load Diff
47
nesca_3.h
47
nesca_3.h
@ -24,8 +24,8 @@
|
||||
#include "mainResources.h"
|
||||
|
||||
extern Ui::nesca_3Class *ui;
|
||||
extern bool widgetIsHidden, IRCLogToggled, blinkFlag, disableBlink, QOSWait,
|
||||
connectedToIRC, ME2ScanFlag, QoSScanFlag, VoiceScanFlag, PieStatFlag, proxyEnabledFlag,
|
||||
extern bool widgetIsHidden, blinkFlag, disableBlink, QOSWait,
|
||||
ME2ScanFlag, QoSScanFlag, VoiceScanFlag, PieStatFlag, proxyEnabledFlag,
|
||||
smBit_8, smBit_7, smBit_6, smBit_5, smBit_4, smBit_3, smBit_2, smBit_1, printDelimiter;
|
||||
extern float QoSStep;
|
||||
extern int MaxDataVal;
|
||||
@ -67,18 +67,7 @@ protected:
|
||||
void changeNSTrackLabel(bool status);
|
||||
void slotPBUpdate();
|
||||
void DNSLine_ValueChanged();
|
||||
void slotChangeCPModeToUTF();
|
||||
void slotChangeCPModeTo1251();
|
||||
void slotShowRedVersion();
|
||||
void ChangeTopic();
|
||||
void slotIRCGetTopic(QString str);
|
||||
void slotIRCOfflined();
|
||||
void slotUnhidePopup(QString str, QString senderNick);
|
||||
void slotItemClicked(QListWidgetItem* wi);
|
||||
void slotClearNickList();
|
||||
void slotAppendIRCNick(QString str);
|
||||
void slotShowNicks();
|
||||
void slotBlinkMessage();
|
||||
void slotTabChanged(int index);
|
||||
void IPScanSeq();
|
||||
void DNSScanSeq();
|
||||
@ -90,22 +79,13 @@ protected:
|
||||
void slotShowServerMsg(QString str);
|
||||
void slotSaveImage(QAction *qwe);
|
||||
void slotUpdatePie();
|
||||
void slotClearLogs();
|
||||
void slotRestartIRC();
|
||||
void slotClearLogs();
|
||||
void slotDrawVoiceGrid(int factor);
|
||||
void slotDrawTextPlacers();
|
||||
void onLinkClicked(QUrl link);
|
||||
void slotDrawTextPlacers();
|
||||
void CheckPersKey();
|
||||
void CheckPersKey(int val);
|
||||
void slotRestoreDefPorts();
|
||||
void ChangeNick();
|
||||
void setNickBox(QString str);
|
||||
void SaySmthng();
|
||||
void ChangeIRCRawLog();
|
||||
void switchToJobMode();
|
||||
void ConnectToIRCServer();
|
||||
void CheckProxy();
|
||||
void ChangeDispalyMode();
|
||||
void slotRestoreDefPorts();
|
||||
void switchToJobMode();
|
||||
void switchDataFields();
|
||||
void importAndScan();
|
||||
void slotQoSAddGrid();
|
||||
@ -139,18 +119,10 @@ protected:
|
||||
void appendOKText(QString str);
|
||||
void appendDebugText(QString str);
|
||||
void appendNotifyText(QString str);
|
||||
void appendDefaultText(QString str);
|
||||
void appendRedIRCText(QString str);
|
||||
void appendGreenIRCText(QString str);
|
||||
void appendYellowIRCText(QString str);
|
||||
void appendDefaultIRCText(bool, bool, QString str, QString s);
|
||||
void appendDefaultIRCTextOut(QString str);
|
||||
void appendDefaultIRCRawTextInc(QString str);
|
||||
void appendDefaultIRCRawTextOut(QString str);
|
||||
void appendDefaultText(QString str);
|
||||
void appendGreenBAData(QString str);
|
||||
void appendRedBAData(QString str);
|
||||
void STTTerminate();
|
||||
void playFcknSound();
|
||||
void STTTerminate();
|
||||
private:
|
||||
QPoint dragPosition;
|
||||
};
|
||||
@ -199,8 +171,7 @@ protected:
|
||||
{
|
||||
if(switchWindows)
|
||||
{
|
||||
switchWindows = false;
|
||||
emit ui->IRCModeBut->clicked();
|
||||
switchWindows = false;
|
||||
};
|
||||
}
|
||||
|
||||
|
853
nesca_3.ui
853
nesca_3.ui
@ -3120,797 +3120,6 @@ background-color: #000000;</string>
|
||||
<zorder>rVerLabel</zorder>
|
||||
<zorder>NSTrackStatusLabel</zorder>
|
||||
</widget>
|
||||
<widget class="QWidget" name="widgetIRC" native="true">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>500</x>
|
||||
<y>44</y>
|
||||
<width>498</width>
|
||||
<height>730</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="palette">
|
||||
<palette>
|
||||
<active>
|
||||
<colorrole role="Button">
|
||||
<brush brushstyle="LinearGradientPattern">
|
||||
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
|
||||
<gradientstop position="0.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>16</red>
|
||||
<green>16</green>
|
||||
<blue>16</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
<gradientstop position="1.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
</gradient>
|
||||
</brush>
|
||||
</colorrole>
|
||||
<colorrole role="Base">
|
||||
<brush brushstyle="LinearGradientPattern">
|
||||
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
|
||||
<gradientstop position="0.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>16</red>
|
||||
<green>16</green>
|
||||
<blue>16</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
<gradientstop position="1.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
</gradient>
|
||||
</brush>
|
||||
</colorrole>
|
||||
<colorrole role="Window">
|
||||
<brush brushstyle="LinearGradientPattern">
|
||||
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
|
||||
<gradientstop position="0.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>16</red>
|
||||
<green>16</green>
|
||||
<blue>16</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
<gradientstop position="1.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
</gradient>
|
||||
</brush>
|
||||
</colorrole>
|
||||
</active>
|
||||
<inactive>
|
||||
<colorrole role="Button">
|
||||
<brush brushstyle="LinearGradientPattern">
|
||||
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
|
||||
<gradientstop position="0.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>16</red>
|
||||
<green>16</green>
|
||||
<blue>16</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
<gradientstop position="1.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
</gradient>
|
||||
</brush>
|
||||
</colorrole>
|
||||
<colorrole role="Base">
|
||||
<brush brushstyle="LinearGradientPattern">
|
||||
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
|
||||
<gradientstop position="0.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>16</red>
|
||||
<green>16</green>
|
||||
<blue>16</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
<gradientstop position="1.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
</gradient>
|
||||
</brush>
|
||||
</colorrole>
|
||||
<colorrole role="Window">
|
||||
<brush brushstyle="LinearGradientPattern">
|
||||
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
|
||||
<gradientstop position="0.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>16</red>
|
||||
<green>16</green>
|
||||
<blue>16</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
<gradientstop position="1.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
</gradient>
|
||||
</brush>
|
||||
</colorrole>
|
||||
</inactive>
|
||||
<disabled>
|
||||
<colorrole role="Button">
|
||||
<brush brushstyle="LinearGradientPattern">
|
||||
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
|
||||
<gradientstop position="0.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>16</red>
|
||||
<green>16</green>
|
||||
<blue>16</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
<gradientstop position="1.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
</gradient>
|
||||
</brush>
|
||||
</colorrole>
|
||||
<colorrole role="Base">
|
||||
<brush brushstyle="LinearGradientPattern">
|
||||
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
|
||||
<gradientstop position="0.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>16</red>
|
||||
<green>16</green>
|
||||
<blue>16</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
<gradientstop position="1.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
</gradient>
|
||||
</brush>
|
||||
</colorrole>
|
||||
<colorrole role="Window">
|
||||
<brush brushstyle="LinearGradientPattern">
|
||||
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
|
||||
<gradientstop position="0.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>16</red>
|
||||
<green>16</green>
|
||||
<blue>16</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
<gradientstop position="1.000000000000000">
|
||||
<color alpha="255">
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</color>
|
||||
</gradientstop>
|
||||
</gradient>
|
||||
</brush>
|
||||
</colorrole>
|
||||
</disabled>
|
||||
</palette>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color:qlineargradient(spread:pad, x1:0.541, y1:0.500364, x2:0.54, y2:0, stop:0 rgba(16, 16, 16, 255), stop:1 rgba(0, 0, 0, 255));</string>
|
||||
</property>
|
||||
<widget class="QLineEdit" name="ircServerBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>83</x>
|
||||
<y>30</y>
|
||||
<width>163</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(216, 216, 216);background-color: rgb(56, 56, 56);border:1px solid rgb(221, 221, 221);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>addr.ne.jp</string>
|
||||
</property>
|
||||
<property name="maxLength">
|
||||
<number>128</number>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>IRC server here</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="shoutBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>705</y>
|
||||
<width>469</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color:rgb(124, 124, 124);background-color: rgb(36, 36, 36);border:1px solid rgb(226, 226, 226);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="maxLength">
|
||||
<number>256</number>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="serverPortBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>250</x>
|
||||
<y>30</y>
|
||||
<width>82</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(216, 216, 216);background-color: rgb(56, 56, 56);border:1px solid rgb(221, 221, 221);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>6667</string>
|
||||
</property>
|
||||
<property name="maxLength">
|
||||
<number>5</number>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>IRC port here</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="ircNickBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>369</x>
|
||||
<y>30</y>
|
||||
<width>117</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(216, 216, 216);background-color: rgb(56, 56, 56);border:1px solid rgb(221, 221, 221);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="maxLength">
|
||||
<number>16</number>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>Your nick here</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="IRCConnectBut">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>220</x>
|
||||
<y>85</y>
|
||||
<width>75</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Connect</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QTextBrowser" name="ircText">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>140</y>
|
||||
<width>469</width>
|
||||
<height>556</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: #AFAFAF;background-color: rgb(26, 26,26);border:1px solid rgb(221, 221, 221);</string>
|
||||
</property>
|
||||
<property name="locale">
|
||||
<locale language="Chinese" country="China"/>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Plain</enum>
|
||||
</property>
|
||||
<property name="undoRedoEnabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="html">
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Eurostile'; font-size:11pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"><br /></p></body></html></string>
|
||||
</property>
|
||||
<property name="acceptRichText">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="cursorWidth">
|
||||
<number>5</number>
|
||||
</property>
|
||||
<property name="textInteractionFlags">
|
||||
<set>Qt::TextBrowserInteraction</set>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="openLinks">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="ircProxy">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>83</x>
|
||||
<y>55</y>
|
||||
<width>163</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(216, 216, 216);background-color: rgb(56, 56, 56);border:1px solid rgb(221, 221, 221);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="maxLength">
|
||||
<number>128</number>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>Proxy here</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="ircProxyPort">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>250</x>
|
||||
<y>55</y>
|
||||
<width>82</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(216, 216, 216);background-color: rgb(56, 56, 56);border:1px solid rgb(221, 221, 221);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="maxLength">
|
||||
<number>5</number>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>Proxy port here</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="IRCCheckProxyBut">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>337</x>
|
||||
<y>55</y>
|
||||
<width>149</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Check proxy</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QTextBrowser" name="ircRaw">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>140</y>
|
||||
<width>469</width>
|
||||
<height>556</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(26, 26,26);border:1px solid rgb(221, 221, 221);color:rgb(125, 125, 125);</string>
|
||||
</property>
|
||||
<property name="locale">
|
||||
<locale language="Chinese" country="China"/>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Plain</enum>
|
||||
</property>
|
||||
<property name="undoRedoEnabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="html">
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Eurostile'; font-size:11pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:2px; margin-bottom:2px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"><br /></p></body></html></string>
|
||||
</property>
|
||||
<property name="acceptRichText">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="cursorWidth">
|
||||
<number>5</number>
|
||||
</property>
|
||||
<property name="textInteractionFlags">
|
||||
<set>Qt::TextBrowserInteraction</set>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="openLinks">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="nickShowBut">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>481</x>
|
||||
<y>140</y>
|
||||
<width>16</width>
|
||||
<height>556</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Stalkers online</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>Stalkers online</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border: 1px solid rgb(216, 216, 216);
|
||||
color: rgb(216, 216, 216);
|
||||
background-color: #000000;</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true"><</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QListWidget" name="nickList">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>329</x>
|
||||
<y>145</y>
|
||||
<width>147</width>
|
||||
<height>0</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(0, 0, 0, 0.5);
|
||||
color: rgb(212, 212, 212);</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::Panel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Plain</enum>
|
||||
</property>
|
||||
<property name="resizeMode">
|
||||
<enum>QListView::Adjust</enum>
|
||||
</property>
|
||||
<property name="sortingEnabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="topicLine">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>44</x>
|
||||
<y>115</y>
|
||||
<width>435</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>7</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(26, 26,26);border:1px solid rgb(221, 221, 221);color:orange;</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="maxLength">
|
||||
<number>256</number>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="IRCUTFMode">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>440</x>
|
||||
<y>80</y>
|
||||
<width>48</width>
|
||||
<height>12</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Codepage</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>Codepage</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(2, 2, 2, 0);border: 1px solid rgba(0, 214, 0, 40);
|
||||
color: rgb(0, 214, 0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>UTF-8</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="IRCCP1251Mode">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>392</x>
|
||||
<y>80</y>
|
||||
<width>48</width>
|
||||
<height>12</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Codepage</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>Codepage</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(2, 2, 2, 0);border: 1px solid rgba(255, 255, 255, 40);
|
||||
color: rgb(71, 71, 71);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string> CP-1251</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="labelIPRange_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>30</y>
|
||||
<width>56</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
<pointsize>8</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
<kerning>false</kerning>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(216, 216, 216);background-color: rgba(2, 2, 2, 0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>IRC SERVER</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="labelIPRange_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>55</y>
|
||||
<width>68</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
<pointsize>8</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
<kerning>false</kerning>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(216, 216, 216);background-color: rgba(2, 2, 2, 0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>PROXY&PORT</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="labelIPRange_4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>340</x>
|
||||
<y>30</y>
|
||||
<width>27</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
<pointsize>8</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
<kerning>false</kerning>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(216, 216, 216);background-color: rgba(2, 2, 2, 0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>NICK</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="labelIPRange_5">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>115</y>
|
||||
<width>31</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
<pointsize>8</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
<kerning>false</kerning>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(216, 216, 216);background-color: rgba(2, 2, 2, 0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>TOPIC</string>
|
||||
</property>
|
||||
</widget>
|
||||
<zorder>nickList</zorder>
|
||||
<zorder>ircRaw</zorder>
|
||||
<zorder>ircServerBox</zorder>
|
||||
<zorder>shoutBox</zorder>
|
||||
<zorder>serverPortBox</zorder>
|
||||
<zorder>ircNickBox</zorder>
|
||||
<zorder>IRCConnectBut</zorder>
|
||||
<zorder>ircText</zorder>
|
||||
<zorder>ircProxy</zorder>
|
||||
<zorder>ircProxyPort</zorder>
|
||||
<zorder>IRCCheckProxyBut</zorder>
|
||||
<zorder>nickShowBut</zorder>
|
||||
<zorder>topicLine</zorder>
|
||||
<zorder>IRCUTFMode</zorder>
|
||||
<zorder>IRCCP1251Mode</zorder>
|
||||
<zorder>labelIPRange_2</zorder>
|
||||
<zorder>labelIPRange_3</zorder>
|
||||
<zorder>labelIPRange_4</zorder>
|
||||
<zorder>labelIPRange_5</zorder>
|
||||
</widget>
|
||||
<widget class="QWidget" name="widgetJOB" native="true">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
@ -3988,34 +3197,6 @@ color: rgb(71, 71, 71);</string>
|
||||
<string>:Dataflow</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="IRCModeBut">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>340</x>
|
||||
<y>50</y>
|
||||
<width>48</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
<pointsize>8</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Darknet IRC</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>Darknet IRC</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(216, 216, 216);background-color: rgba(2, 2, 2, 0);border: 1px solid rgba(255, 255, 255, 40);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>:IRC</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="JobModeBut">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
@ -4044,42 +3225,8 @@ color: rgb(71, 71, 71);</string>
|
||||
<string>:Jobs</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="IRCModeChangerBut">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>290</x>
|
||||
<y>50</y>
|
||||
<width>48</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Eurostile</family>
|
||||
<pointsize>8</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Raw or normal log view</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>Raw or normal log view</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(216, 216, 216);background-color: rgba(2, 2, 2, 0);border: 1px solid rgba(255, 255, 255, 40);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>:IRC raw</string>
|
||||
</property>
|
||||
</widget>
|
||||
<zorder>widget</zorder>
|
||||
<zorder>widgetJOB</zorder>
|
||||
<zorder>widgetIRC</zorder>
|
||||
<zorder>IRCModeChangerBut</zorder>
|
||||
<zorder>IRCModeBut</zorder>
|
||||
<zorder>JobModeBut</zorder>
|
||||
<zorder>DataflowModeBut</zorder>
|
||||
</widget>
|
||||
|
@ -243,26 +243,6 @@ void _SaveBackupToFile()
|
||||
strcat(saveBuffer, saveStr);
|
||||
ZeroMemory(saveStr, sizeof(saveStr));
|
||||
|
||||
sprintf(saveStr, "[IRCSERVER]:%s\n", ircServer);
|
||||
strcat(saveBuffer, saveStr);
|
||||
ZeroMemory(saveStr, sizeof(saveStr));
|
||||
|
||||
sprintf(saveStr, "[IRCPORT]:%s\n", ircPort);
|
||||
strcat(saveBuffer, saveStr);
|
||||
ZeroMemory(saveStr, sizeof(saveStr));
|
||||
|
||||
sprintf(saveStr, "[IRCPROXY]:%s\n", ircProxy);
|
||||
strcat(saveBuffer, saveStr);
|
||||
ZeroMemory(saveStr, sizeof(saveStr));
|
||||
|
||||
sprintf(saveStr, "[IRCPROXYPORT]:%s\n", ircProxyPort);
|
||||
strcat(saveBuffer, saveStr);
|
||||
ZeroMemory(saveStr, sizeof(saveStr));
|
||||
|
||||
sprintf(saveStr, "[IRCNICK]:%s\n", ircNick);
|
||||
strcat(saveBuffer, saveStr);
|
||||
ZeroMemory(saveStr, sizeof(saveStr));
|
||||
|
||||
sprintf(saveStr, "[PING]:%s\n", gPingNScan ? "true" : "false");
|
||||
strcat(saveBuffer, saveStr);
|
||||
ZeroMemory(saveStr, sizeof(saveStr));
|
||||
|
BIN
nesca_startModule.o
Normal file
BIN
nesca_startModule.o
Normal file
Binary file not shown.
830
oIRC_Th.cpp
830
oIRC_Th.cpp
@ -1,830 +0,0 @@
|
||||
#include "oIRC_Th.h"
|
||||
#include <QtMultimedia/qsound.h>
|
||||
#include "externData.h"
|
||||
#include "externFunctions.h"
|
||||
|
||||
int iWantToConnect = false;
|
||||
|
||||
#define MAX_IRC_RECV_LEN 2048
|
||||
//#define IRC_CHAN "iskopasi_lab01"
|
||||
|
||||
void oIRC_Th::doEmitionPlayDckingSound()
|
||||
{
|
||||
emit ircTh->notifyPlay();
|
||||
};
|
||||
void oIRC_Th::doEmitUnhidePopup(QString str1, QString str2)
|
||||
{
|
||||
emit ircTh->sUnhidePopup(str1, str2);
|
||||
};
|
||||
void oIRC_Th::doEmitChangeIRCData(bool pm, bool hlflag, int code, QString str, QString s)
|
||||
{
|
||||
emit ircTh->changeIRCData(pm, hlflag, code, str, s);
|
||||
};
|
||||
void oIRC_Th::doEmitChangeRedIRCData(QString str)
|
||||
{
|
||||
emit ircTh->changeRedIRCData(str);
|
||||
};
|
||||
void oIRC_Th::doEmitChangeGreenIRCData(QString str)
|
||||
{
|
||||
emit ircTh->changeGreenIRCData(str);
|
||||
};
|
||||
void oIRC_Th::doEmitChangeYellowIRCData(QString str)
|
||||
{
|
||||
emit ircTh->changeYellowIRCData(str);
|
||||
};
|
||||
void oIRC_Th::doEmitChangeRawIRCDataInc(QString str)
|
||||
{
|
||||
emit ircTh->changeRawIRCDataInc(str);
|
||||
};
|
||||
void oIRC_Th::doEmitChangeRawIRCDataOut(QString str)
|
||||
{
|
||||
emit ircTh->changeRawIRCDataOut(str);
|
||||
};
|
||||
void oIRC_Th::doEmitSetNick(QString str)
|
||||
{
|
||||
emit ircTh->setNick(str);
|
||||
};
|
||||
void oIRC_Th::doEmitAddNick(QString str)
|
||||
{
|
||||
emit ircTh->AddNick(str);
|
||||
};
|
||||
void oIRC_Th::doEmitClearNickList()
|
||||
{
|
||||
emit ircTh->ClearNickList();
|
||||
};
|
||||
void oIRC_Th::doEmitIRCOfflined()
|
||||
{
|
||||
emit ircTh->IRCOfflined();
|
||||
};
|
||||
void oIRC_Th::doEmitGetTopic(QString str)
|
||||
{
|
||||
emit ircTh->getTopic(str);
|
||||
};
|
||||
|
||||
QString GetNickColor(char *sn)
|
||||
{
|
||||
QString str(sn);
|
||||
QString hexNick = str.toLocal8Bit().toHex();
|
||||
int origLen = str.size();
|
||||
int hln = hexNick.length();
|
||||
while(hln < 7)
|
||||
{
|
||||
hexNick += "0";
|
||||
hln = hexNick.length();
|
||||
};
|
||||
|
||||
QString nickColorStr = hexNick.mid(0, 6);
|
||||
QString nickBGColorStr = hexNick.mid(hexNick.size() - 6, hexNick.size());
|
||||
|
||||
int nickColor = nickColorStr.toUInt(NULL, 16);
|
||||
|
||||
nickColor += (7*origLen + nickColor*6 + 123456 - hln*hln*hln*hln + (int)(str[0].toLatin1())*123);
|
||||
nickColorStr.setNum(nickColor, 16);
|
||||
nickColorStr = nickColorStr.mid(nickColorStr.size() - 6, nickColorStr.size());
|
||||
|
||||
int R = nickColorStr.mid(0, 2).toUInt(NULL, 16);
|
||||
int G = nickColorStr.mid(2, 2).toUInt(NULL, 16);
|
||||
int B = nickColorStr.mid(4, 2).toUInt(NULL, 16);
|
||||
|
||||
if(R < 100 && G < 100 && B < 100) nickBGColorStr = "#fd7e31";
|
||||
else nickBGColorStr = "#000000";
|
||||
|
||||
return nickColorStr + "; background-color: " + nickBGColorStr + ";";
|
||||
}
|
||||
|
||||
bool doHL(char *rawData)
|
||||
{
|
||||
if(strstr(rawData, ircNick) != NULL) return true;
|
||||
else return false;
|
||||
}
|
||||
|
||||
void _blinkNLine(QString tempData = "", QString senderNick = "")
|
||||
{
|
||||
if(widgetIsHidden == false && tray->isVisible() == false)
|
||||
{
|
||||
disableBlink = false;
|
||||
if(irc_nmb->isRunning() == false) irc_nmb->start();
|
||||
ircTh->doEmitUnhidePopup(tempData, senderNick);
|
||||
|
||||
if(printDelimiter) ircTh->doEmitChangeIRCData(false, false, 0, "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------", "");
|
||||
printDelimiter = false;
|
||||
};
|
||||
}
|
||||
|
||||
int sendS(int lSock, char *msg, int len, int mode)
|
||||
{
|
||||
if(lSock == WSAENOTSOCK || lSock <= 0 || !connectedToIRC) {
|
||||
ircTh->doEmitChangeRedIRCData("Not connected.");
|
||||
return -1;
|
||||
}
|
||||
int b = send(lSock, msg, len, mode);
|
||||
if(b == -1) ircTh->doEmitChangeRedIRCData("[IRC: RecvS error - (" + QString::number(WSAGetLastError()) + ")]");
|
||||
else
|
||||
{
|
||||
Activity += len;
|
||||
|
||||
ircTh->doEmitChangeRawIRCDataOut(QString::fromLocal8Bit(msg));
|
||||
|
||||
};
|
||||
return b;
|
||||
}
|
||||
|
||||
int recvS(int lSock, char *recvBuffT, int len)
|
||||
{
|
||||
int b;
|
||||
char recvBuff[MAX_IRC_RECV_LEN] = {0};
|
||||
|
||||
b = recv(lSock, recvBuff, sizeof(recvBuff), 0);
|
||||
if(b == -1) ircTh->doEmitChangeRedIRCData("[IRC: RecvS error - (" + QString::number(WSAGetLastError()) + ")]");
|
||||
else
|
||||
{
|
||||
Activity += len;
|
||||
|
||||
strcpy(recvBuffT, recvBuff);
|
||||
|
||||
ircTh->doEmitChangeRawIRCDataInc(QString::fromLocal8Bit(recvBuff));
|
||||
|
||||
ZeroMemory(recvBuff, sizeof(recvBuff));
|
||||
};
|
||||
return b;
|
||||
}
|
||||
|
||||
void UserNickInit()
|
||||
{
|
||||
strcpy(ircNick, ui->ircNickBox->text().toLocal8Bit().data());
|
||||
char tempBuffUser[1024] = {0};
|
||||
strcpy(tempBuffUser, "USER ");
|
||||
strcat(tempBuffUser, ircNick);
|
||||
strcat(tempBuffUser, " \"netstalker01\" * : ");
|
||||
strcat(tempBuffUser, ircNick);
|
||||
strcat(tempBuffUser, "\r\n");
|
||||
|
||||
char tempBuffNick[1024] = {0};
|
||||
|
||||
strcpy(tempBuffNick, "NICK ");
|
||||
strcat(tempBuffNick, ircNick);
|
||||
strcat(tempBuffNick, "\r\n");
|
||||
|
||||
sendS(lSock, tempBuffUser, strlen(tempBuffUser), 0);
|
||||
sendS(lSock, tempBuffNick, strlen(tempBuffNick), 0);
|
||||
|
||||
memset(tempBuffUser, '0', sizeof(tempBuffUser));
|
||||
memset(tempBuffNick, '0', sizeof(tempBuffNick));
|
||||
}
|
||||
|
||||
void GetNicks()
|
||||
{
|
||||
char chanTemp[64] = {0};
|
||||
strcpy(chanTemp, "NAMES #");
|
||||
strcat(chanTemp, IRC_CHAN);
|
||||
strcat(chanTemp, "\r\n");
|
||||
sendS(lSock, chanTemp, strlen(chanTemp), 0);
|
||||
}
|
||||
|
||||
char *GetServerName(char *buff)
|
||||
{
|
||||
char *temp1 = NULL;
|
||||
int sz = 0;
|
||||
char name[128] = {0};
|
||||
|
||||
if(strstr(buff, " ") != NULL)
|
||||
{
|
||||
temp1 = strstr(buff, " ");
|
||||
sz = temp1 - buff - 1;
|
||||
strncpy(name, buff + 1, (sz < 128 ? sz : 128));
|
||||
};
|
||||
|
||||
return name;
|
||||
}
|
||||
|
||||
int jFlag1 = 0;
|
||||
void __pinger(char *recvBuff)
|
||||
{
|
||||
if(strstr(recvBuff, "PING") != NULL)
|
||||
{
|
||||
char tmpa[128] = {0};
|
||||
|
||||
if(strstr(recvBuff, "PING :") != NULL)
|
||||
{
|
||||
if(strstr(strstr(recvBuff, "PING :") + strlen("PING :"), "\r\n") != NULL)
|
||||
{
|
||||
strcpy(tmpa, "PONG ");
|
||||
strncat(tmpa, strstr(recvBuff, "PING :") + strlen("PING "), strlen(strstr(recvBuff, "PING :") + strlen("PING ")) - strlen(strstr(strstr(recvBuff, "PING :") + strlen("PING :"), "\r\n")));
|
||||
strcat(tmpa, "\r\n");
|
||||
|
||||
sendS(lSock, tmpa, strlen(tmpa), 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
strcpy(tmpa, "PONG ");
|
||||
strncat(tmpa, strstr(recvBuff, ":"), 16);
|
||||
strcat(tmpa, "\r\n");
|
||||
|
||||
sendS(lSock, tmpa, strlen(tmpa), 0);
|
||||
};
|
||||
|
||||
|
||||
if(ircPTh->isRunning() == false) ircPTh->start();
|
||||
};
|
||||
|
||||
if(!jFlag1) //Channel-entering sequence
|
||||
{
|
||||
Sleep(500);
|
||||
char chanTemp[32] = {0};
|
||||
strcpy(chanTemp, "JOIN #");
|
||||
strcat(chanTemp, IRC_CHAN);
|
||||
strcat(chanTemp, "\r\n");
|
||||
sendS(lSock, chanTemp, strlen(chanTemp), 0);
|
||||
|
||||
jFlag1 = 1;
|
||||
};
|
||||
|
||||
globalPinger = 0;
|
||||
memset(tmpa, '\0', sizeof(tmpa));
|
||||
}
|
||||
if(strstr(recvBuff, "PONG") != NULL)
|
||||
{
|
||||
char tmpa[128] = {0};
|
||||
|
||||
if(!jFlag1) //Channel-entering sequence
|
||||
{
|
||||
Sleep(500);
|
||||
char chanTemp[32] = {0};
|
||||
strcpy(chanTemp, "JOIN #");
|
||||
strcat(chanTemp, IRC_CHAN);
|
||||
strcat(chanTemp, "\r\n");
|
||||
sendS(lSock, chanTemp, strlen(chanTemp), 0);
|
||||
|
||||
jFlag1 = 1;
|
||||
};
|
||||
|
||||
globalPinger = 0;
|
||||
memset(tmpa, '\0', sizeof(tmpa));
|
||||
}
|
||||
else if(strstr(recvBuff, "G :") != NULL)
|
||||
{
|
||||
char tmpa[128] = {0};
|
||||
if(strstr(recvBuff, "G :") != NULL)
|
||||
{
|
||||
if(strstr(strstr(recvBuff, "G :") + strlen("G :"), "\r\n") != NULL)
|
||||
{
|
||||
strcpy(tmpa, "PONG ");
|
||||
strncat(tmpa, strstr(recvBuff, "G :") + strlen("G :"), strlen(strstr(recvBuff, "G :") + strlen("G :")) - strlen(strstr(strstr(recvBuff, "G :") + strlen("G :"), "\r\n")));
|
||||
strcat(tmpa, "\r\n");
|
||||
sendS(lSock, tmpa, strlen(tmpa), 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
strcpy(tmpa, "PONG ");
|
||||
strncat(tmpa, strstr(recvBuff, ":"), 16);
|
||||
strcat(tmpa, "\r\n");
|
||||
sendS(lSock, tmpa, strlen(tmpa), 0);
|
||||
};
|
||||
};
|
||||
|
||||
if(!jFlag1) //Channel-entering sequence
|
||||
{
|
||||
Sleep(500);
|
||||
char chanTemp[32] = {0};
|
||||
strcpy(chanTemp, "JOIN #");
|
||||
strcat(chanTemp, IRC_CHAN);
|
||||
strcat(chanTemp, "\r\n");
|
||||
sendS(lSock, chanTemp, strlen(chanTemp), 0);
|
||||
|
||||
jFlag1 = 1;
|
||||
};
|
||||
|
||||
globalPinger = 0;
|
||||
if(ircPTh->isRunning() == false) ircPTh->start();
|
||||
memset(tmpa, '\0', sizeof(tmpa));
|
||||
};
|
||||
}
|
||||
|
||||
void IRCLoop()
|
||||
{
|
||||
nickFlag = 0;
|
||||
offlineFlag = 0;
|
||||
|
||||
|
||||
ircTh->doEmitChangeYellowIRCData("Connecting to IRC server " + QString(ircServer) + ":" + QString(ircPort) + "...");
|
||||
|
||||
|
||||
jFlag1 = 0;
|
||||
sockaddr_in addr;
|
||||
addr.sin_family = AF_INET;
|
||||
|
||||
HOSTENT *host;
|
||||
|
||||
if(proxyEnabledFlag)
|
||||
{
|
||||
addr.sin_port = htons(atoi(ircProxyPort));
|
||||
|
||||
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
|
||||
if(inet_addr(ircProxy) != INADDR_NONE) addr.sin_addr.S_un.S_addr = inet_addr(ircProxy);
|
||||
else if(host = gethostbyname (ircProxy)) ((unsigned long*) &addr.sin_addr)[0] = ((unsigned long**)host->h_addr_list)[0][0];
|
||||
#else
|
||||
if(inet_addr(ircProxy) != INADDR_NONE) addr.sin_addr.s_addr = inet_addr(ircProxy);
|
||||
else if(host=gethostbyname (ircProxy)) ((unsigned long*) &addr.sin_addr)[0] = ((unsigned long**)host->h_addr_list)[0][0];
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
addr.sin_port = htons(atoi(ircPort));
|
||||
|
||||
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
|
||||
if(inet_addr(ircServer) != INADDR_NONE) addr.sin_addr.S_un.S_addr = inet_addr(ircServer);
|
||||
else if(host = gethostbyname (ircServer)) ((unsigned long*) &addr.sin_addr)[0] = ((unsigned long**)host->h_addr_list)[0][0];
|
||||
#else
|
||||
if(inet_addr(ircServer) != INADDR_NONE) addr.sin_addr.s_addr = inet_addr(ircServer);
|
||||
else if(host=gethostbyname (ircServer)) ((unsigned long*) &addr.sin_addr)[0] = ((unsigned long**)host->h_addr_list)[0][0];
|
||||
#endif
|
||||
};
|
||||
|
||||
for(int conCounter = 1; conCounter <= 100; ++conCounter)
|
||||
{
|
||||
char topicData[256] = {0};
|
||||
if(iWantToConnect == false) break;
|
||||
OnlineMsgSentFlag = false;
|
||||
|
||||
lSock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
|
||||
|
||||
if(proxyEnabledFlag) ircTh->doEmitChangeYellowIRCData("Connecting to proxy " + QString(ircProxy) + "...");
|
||||
if(connect(lSock, (sockaddr*)&addr, sizeof(addr)) != SOCKET_ERROR)
|
||||
{
|
||||
if(proxyEnabledFlag) ircTh->doEmitChangeYellowIRCData("Connection to proxy " + QString(ircProxy) + " established.");
|
||||
globalPinger = 0;
|
||||
|
||||
char temprecvBuff[512] = {0};
|
||||
char tempSendMsg[512] = {0};
|
||||
|
||||
if(proxyEnabledFlag)
|
||||
{
|
||||
strcpy(tempSendMsg, "CONNECT ");
|
||||
strcat(tempSendMsg, ircServer);
|
||||
strcat(tempSendMsg, ":");
|
||||
strcat(tempSendMsg, ircPort);
|
||||
strcat(tempSendMsg, " HTTP/1.1\r\n\r\n");
|
||||
|
||||
sendS(lSock, tempSendMsg, strlen(tempSendMsg), 0);
|
||||
|
||||
recvS(lSock, temprecvBuff, sizeof(temprecvBuff));
|
||||
|
||||
if(strstr(temprecvBuff, "HTTP/1.1 200 OK") || strstr(temprecvBuff, "200 OK")
|
||||
|| strstr(temprecvBuff, "OK 200") || strstr(temprecvBuff, "200 Connection") )
|
||||
{
|
||||
ircTh->doEmitChangeYellowIRCData("Proxy accepted connection. Waiting for IRC reply...");
|
||||
sendS(lSock, "\r\n", strlen("\r\n"), 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
ircTh->doEmitChangeRedIRCData("[IRC: Bad proxy reply.]");
|
||||
break;
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
sendS(lSock, "\r\n", strlen("\r\n"), 0);
|
||||
};
|
||||
|
||||
UserNickInit();
|
||||
|
||||
char recvBuffG[MAX_IRC_RECV_LEN] = {0};
|
||||
char serverRealName[256] = {0};
|
||||
bool nameLocked = false;
|
||||
|
||||
char pTemp[32] = {0};
|
||||
strcpy(pTemp, "PRIV");
|
||||
strcat(pTemp, "MSG ");
|
||||
while(recvS(lSock, recvBuffG, MAX_IRC_RECV_LEN) > 0 && iWantToConnect)
|
||||
{
|
||||
if(strlen(recvBuffG) > 0)
|
||||
{
|
||||
char *recvBuff = recvBuffG;
|
||||
|
||||
__pinger(recvBuff);
|
||||
|
||||
char comStr[512] = {0};
|
||||
char delimBf[512] = {0};
|
||||
strcpy(delimBf, ":");
|
||||
strcat(delimBf, serverRealName);
|
||||
|
||||
char *Gtemp = recvBuff;
|
||||
while(strstr(Gtemp + 1, "\n") != NULL)
|
||||
{
|
||||
char *temp1 = NULL;
|
||||
if(strstr(Gtemp + 1, "\n") != NULL) temp1 = strstr(Gtemp + 1, "\n");
|
||||
else temp1 = Gtemp + strlen(Gtemp);
|
||||
int csz = temp1 - Gtemp - 1;
|
||||
strncpy(comStr, Gtemp, csz);
|
||||
Gtemp = strstr(Gtemp + 1, "\n");
|
||||
|
||||
char privTemp[64] = {0};
|
||||
|
||||
strcpy(privTemp, "PRIV");
|
||||
strcat(privTemp, "MSG #");
|
||||
strcat(privTemp, IRC_CHAN);
|
||||
strcat(privTemp, " :");
|
||||
|
||||
char pTemp[32] = {0};
|
||||
strcpy(pTemp, " PRIV");
|
||||
strcat(pTemp, "MSG ");
|
||||
if(strstr(comStr, pTemp) == NULL)
|
||||
{
|
||||
char topicTemp[64] = {0};
|
||||
strcpy(topicTemp, "TOPIC #");
|
||||
strcat(topicTemp, IRC_CHAN);
|
||||
strcat(topicTemp, " :");
|
||||
if(strstr(comStr, serverRealName) != NULL && (strstr(comStr, "while we process your") != NULL || strstr(comStr, "Looking up your hostname") != NULL)
|
||||
)
|
||||
{
|
||||
|
||||
ircTh->doEmitChangeGreenIRCData("[OK] Connected to irc server: " + ui->ircServerBox->text()+ ":" + ui->serverPortBox->text() + ".");
|
||||
|
||||
if(nameLocked == false)
|
||||
{
|
||||
nameLocked = true;
|
||||
strncpy(serverRealName, GetServerName(recvBuff), 128);
|
||||
};
|
||||
|
||||
Sleep(500);
|
||||
UserNickInit();
|
||||
|
||||
Sleep(500);
|
||||
char chanTemp[32] = {0};
|
||||
strcpy(chanTemp, "JOIN #");
|
||||
strcat(chanTemp, IRC_CHAN);
|
||||
strcat(chanTemp, "\r\n");
|
||||
sendS(lSock, chanTemp, strlen(chanTemp), 0);
|
||||
}
|
||||
else if(strstr(comStr, serverRealName) != NULL && (strstr(comStr, "ERROR :Closing Link:") != NULL || strstr(comStr, "ERROR :") != NULL) )
|
||||
{
|
||||
if(strstr(comStr, "Registration timed out") != NULL)
|
||||
{
|
||||
|
||||
ircTh->doEmitChangeRedIRCData("-//- [!] Connection failure. (Registration timed out)");
|
||||
ircTh->terminate();
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
ircTh->doEmitChangeRedIRCData("-//- [!] Connection failure. (Closed link)");
|
||||
ircTh->terminate();
|
||||
|
||||
};
|
||||
}
|
||||
else if(strstr(comStr, serverRealName) != NULL && strstr(comStr, "flooding") != NULL)
|
||||
{
|
||||
ircTh->doEmitChangeYellowIRCData("[" + QString::fromLocal8Bit("Óïûðüòå ìåë") + "] Flooding detected.");
|
||||
}
|
||||
else if((strstr(comStr, serverRealName) != NULL && strstr(comStr, " 332 ") != NULL)
|
||||
|| strstr(comStr, topicTemp) != NULL)
|
||||
{
|
||||
char chanTemp[32] = {0};
|
||||
strcpy(chanTemp, IRC_CHAN);
|
||||
strcat(chanTemp, " :");
|
||||
char *temp = strstr(comStr, chanTemp);
|
||||
strncpy(topicData, temp + strlen(chanTemp), 256);
|
||||
if(utfIRCFlag)
|
||||
{
|
||||
QTextCodec *codec = QTextCodec::codecForName("Windows-1251");
|
||||
QByteArray wtf_s(QString::fromLocal8Bit(topicData).toStdString().c_str());
|
||||
QByteArray wtf = codec->fromUnicode(wtf_s);
|
||||
ircTh->doEmitGetTopic(wtf);
|
||||
}
|
||||
else ircTh->doEmitGetTopic(QString::fromLocal8Bit(topicData));
|
||||
}
|
||||
else if(strstr(comStr, "not channel operator") != NULL)
|
||||
{
|
||||
ircTh->doEmitChangeRedIRCData("[Nope] You're not channel operator.");
|
||||
ircTh->doEmitGetTopic(QString::fromLocal8Bit(topicData));
|
||||
}
|
||||
else if(strstr(comStr, serverRealName) != NULL && (strstr(comStr, "353") != NULL || strstr(comStr, "End of /NAMES list") != NULL))
|
||||
{
|
||||
char *strMain = NULL;
|
||||
char *str1 = NULL;
|
||||
char *str2 = NULL;
|
||||
|
||||
if(strstr(comStr, " 353 ") != NULL) strMain = strstr(comStr, " 353 ");
|
||||
if(strMain != NULL)
|
||||
{
|
||||
char cTemp[64] = {0};
|
||||
strcpy(cTemp, IRC_CHAN);
|
||||
strcat(cTemp, " :");
|
||||
|
||||
if(strstri(strMain, cTemp) != NULL) str1 = strstri(strMain, cTemp);
|
||||
else
|
||||
{
|
||||
char chanTemp[64] = {0};
|
||||
strcpy(chanTemp, IRC_CHAN);
|
||||
strcat(chanTemp, " : Error in /NAMES");
|
||||
|
||||
str1 = chanTemp;
|
||||
};
|
||||
if(strstr(str1, ":") != NULL) str2 = strstr(str1 + 1, ":");
|
||||
|
||||
char temp[MAX_IRC_RECV_LEN] = {0};
|
||||
|
||||
int dsz = strlen(str2);
|
||||
if(dsz > 0)
|
||||
{
|
||||
ircTh->doEmitClearNickList();
|
||||
strncpy(temp, str2, dsz);
|
||||
|
||||
char *lex = strtok(temp + 1, " ");
|
||||
|
||||
while(lex != NULL && lex != "" && lex != "\r" && lex != "\r\n" && *lex != 13)
|
||||
{
|
||||
ircTh->doEmitAddNick(QString::fromLocal8Bit(lex));
|
||||
lex = strtok(NULL, " ");
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
else if(strstr(comStr, serverRealName) != NULL && (strstr(comStr, " 432 ") > 0 || strstr(comStr, "Erroneous Nickname") > 0))
|
||||
{
|
||||
|
||||
ircTh->doEmitChangeRedIRCData("[Nope] Erroneous Nickname: Illegal characters.");
|
||||
|
||||
}
|
||||
else if(strstr(comStr, serverRealName) != NULL && (strstr(comStr, " 433 ") > 0 || strstr(comStr, "Nickname is already") > 0) )
|
||||
{
|
||||
QTime time = QTime::currentTime();
|
||||
qsrand((uint)time.msec());
|
||||
ircTh->doEmitChangeRedIRCData("[Nope] Nickname is already in use.");
|
||||
ircTh->doEmitSetNick("ns_" + QString::number(qrand() % 8999 + 1000 ));
|
||||
|
||||
UserNickInit();
|
||||
}
|
||||
else if(strstr(comStr, serverRealName) != NULL && (strstr(comStr, " 438 ") > 0 || strstr(comStr, "Nick change too") > 0))
|
||||
{
|
||||
|
||||
ircTh->doEmitChangeRedIRCData("[Nope] You are changing nicks too fast.");
|
||||
|
||||
}
|
||||
else if(strstr(comStr, serverRealName) != NULL && (strstr(comStr, "End of /NAMES list") != NULL || strstr(comStr, "End of /names list") != NULL
|
||||
|| strstr(comStr, "end of /NAMES list") != NULL || strstr(comStr, "end of /names list") != NULL)
|
||||
&& strstr(comStr, "353") == NULL)
|
||||
{
|
||||
ircTh->doEmitChangeRedIRCData("[IRC: NAMES! lol]");
|
||||
}
|
||||
else if(strstr(comStr, "QUIT :Ping timeout") != NULL || strstr(comStr, "EOF From") != NULL
|
||||
|| strstr(comStr, "EOF from") != NULL || strstr(comStr, " QUIT :") != NULL)
|
||||
{
|
||||
if(strstr(comStr, ":") != NULL)
|
||||
{
|
||||
if(strstr(comStr, "!") != NULL)
|
||||
{
|
||||
if(strstr(comStr, "@") != NULL)
|
||||
{
|
||||
char *temp1 = strstr(comStr, ":");
|
||||
char *temp2 = strstr(temp1, "!");
|
||||
char leaverNick[32] = {0};
|
||||
|
||||
int sz = temp2 - temp1;
|
||||
|
||||
strncpy(leaverNick, temp1, (sz < 16 ? sz : 16));
|
||||
|
||||
|
||||
if(strstr(comStr, "QUIT :Ping timeout") != NULL)
|
||||
{
|
||||
ircTh->doEmitChangeYellowIRCData("-//- " + QString(leaverNick) + " left channel (Ping timeout).");
|
||||
_blinkNLine(QString(leaverNick) + " left channel (Ping timeout)", "[Server]");
|
||||
}
|
||||
else
|
||||
{
|
||||
ircTh->doEmitChangeYellowIRCData("-//- " + QString(leaverNick) + " left channel.");
|
||||
_blinkNLine(QString(leaverNick) + " left channel.", "[Server]");
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
else if(strstr(comStr, "NICK :") != NULL)
|
||||
{
|
||||
char *temp;
|
||||
char *temp2;
|
||||
char senderNick[32] = {0};
|
||||
if(strstr(comStr, ":") != NULL) temp = strstr(comStr, ":");
|
||||
if(strstr(temp, "!") != NULL) temp2 = strstr(comStr, "!");
|
||||
int nickLen = temp2 - temp - 1;
|
||||
if(nickLen > 0) strncpy(senderNick, temp + 1, nickLen);
|
||||
|
||||
if(strstr(comStr, "NICK :") != NULL) temp = strstr(comStr, "NICK :");
|
||||
memset(temp + strlen(temp), '\0', 1);
|
||||
|
||||
QString newNick = QString((char*)(temp + strlen("NICK :")));
|
||||
|
||||
ircTh->doEmitChangeYellowIRCData("[" + QString(senderNick) + "] is now known as [" + newNick + "].");
|
||||
|
||||
_blinkNLine("[" + QString(senderNick) + "] is now known as [" + newNick + "].", "[Server]");
|
||||
|
||||
}
|
||||
else if(iWantToConnect && (strstr(comStr, "JOIN :#") > 0 || strstr(comStr, "Join :#") > 0
|
||||
|| strstr(comStr, "join :#") > 0))
|
||||
{
|
||||
char *temp;
|
||||
char *temp2;
|
||||
char senderNick[32] = {0};
|
||||
if(strstr(comStr, ":") != NULL) temp = strstr(comStr, ":");
|
||||
if(strstr(temp, "!") != NULL) temp2 = strstr(comStr, "!");
|
||||
int nickLen = temp2 - temp;
|
||||
if(nickLen > 0) strncpy(senderNick, temp + 1, nickLen - 1);
|
||||
|
||||
|
||||
if(QString::fromLocal8Bit(senderNick) != ui->ircNickBox->text())
|
||||
{
|
||||
ircTh->doEmitChangeYellowIRCData("[" + QString(senderNick) + "] joined the channel.");
|
||||
_blinkNLine("[" + QString(senderNick) + "] joined the channel.", "[Server]");
|
||||
}
|
||||
else
|
||||
{
|
||||
ircTh->doEmitChangeYellowIRCData("You have joined the channel.");
|
||||
_blinkNLine("You have joined the channel.", "[Server]");
|
||||
if(!OnlineMsgSentFlag) //Sending data only once per connect
|
||||
{
|
||||
OnlineMsgSentFlag = true;
|
||||
|
||||
char temp[64] = {0};
|
||||
strcpy(temp, "PRIV");
|
||||
strcat(temp, "MSG #");
|
||||
strcat(temp, IRC_CHAN);
|
||||
strcat(temp, " :My version: v3_");
|
||||
strcat(temp, gVER);
|
||||
strcat(temp, "\n");
|
||||
sendS(lSock, temp, strlen(temp), 0);
|
||||
|
||||
connectedToIRC = true;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
else if(iWantToConnect && (strstr(comStr, "PART #") > 0 || strstr(comStr, "Part #") > 0
|
||||
|| strstr(comStr, "part #") > 0))
|
||||
{
|
||||
char *temp;
|
||||
char *temp2;
|
||||
char senderNick[32] = {0};
|
||||
if(strstr(comStr, ":") != NULL) temp = strstr(comStr, ":");
|
||||
if(strstr(temp, "!") != NULL) temp2 = strstr(comStr, "!");
|
||||
int nickLen = temp2 - temp;
|
||||
if(nickLen > 0) strncpy(senderNick, temp + 1, nickLen - 1);
|
||||
|
||||
|
||||
if(QString::fromLocal8Bit(senderNick) != ui->ircNickBox->text()) ircTh->doEmitChangeYellowIRCData("[" + QString(senderNick) + "] left the channel.");
|
||||
else ircTh->doEmitChangeYellowIRCData("You have left the channel.");
|
||||
|
||||
};
|
||||
}
|
||||
else if(strstri(comStr, privTemp) != NULL)
|
||||
{
|
||||
char channelName[64] = {0};
|
||||
strcpy(channelName, "PRIV");
|
||||
strcat(channelName, "MSG #");
|
||||
strcat(channelName, IRC_CHAN);
|
||||
strcat(channelName, " :");
|
||||
|
||||
char *tprv = comStr;
|
||||
char *temp = NULL;
|
||||
char *temp2 = NULL;
|
||||
|
||||
__pinger(recvBuff);
|
||||
|
||||
char senderNick[32] = {0};
|
||||
if(strstr(tprv, ":") != NULL) temp = strstr(tprv, ":");
|
||||
if(strstr(temp, "!") != NULL) temp2 = strstr(tprv, "!");
|
||||
if(temp != NULL && temp2 != NULL)
|
||||
{
|
||||
if(strlen(temp) > 0 && strlen(temp2) > 0)
|
||||
{
|
||||
int nickLen = temp2 - temp;
|
||||
if(nickLen <= 32)
|
||||
{
|
||||
char *tempD = strstri(tprv, channelName);
|
||||
int nsz = strlen(channelName);
|
||||
|
||||
if(tempD == NULL) break;
|
||||
char *temp4 = NULL;
|
||||
int dsz = 0;
|
||||
if(strstr(tempD, "\n") != NULL)
|
||||
{
|
||||
temp4 = strstr(tempD, "\n");
|
||||
dsz = temp4 - tempD - nsz - 1;
|
||||
};
|
||||
|
||||
char tempData[512] = {0};
|
||||
if(temp4 != NULL)
|
||||
{
|
||||
strncpy(tempData, tempD + nsz, (dsz == 0 ? strlen(temp4) : dsz));
|
||||
}
|
||||
else strcpy(tempData, tempD + nsz);
|
||||
|
||||
if(nickLen > 0) strncpy(senderNick, temp + 1, nickLen - 1);
|
||||
|
||||
if(strlen(tempData) > 0)
|
||||
{
|
||||
QString strf;
|
||||
strf = QString::fromLocal8Bit(tempData);
|
||||
_blinkNLine(strf, QString::fromLocal8Bit(senderNick));
|
||||
ircTh->doEmitionPlayDckingSound();
|
||||
bool HLFlag = doHL(strf.toLocal8Bit().data());
|
||||
int cCode = 0;
|
||||
ircTh->doEmitChangeIRCData(false, HLFlag, cCode, strf, " <a href=\"nesca:" + QString::fromLocal8Bit(senderNick) + "\"><font style=\"color:#" + GetNickColor(senderNick) + "\">[" + QString::fromLocal8Bit(senderNick) + "]:</font></a>");
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ZeroMemory(senderNick, sizeof(senderNick));
|
||||
|
||||
}
|
||||
else if(strstri( comStr, QString(QString(pTemp) + " " + QString(ircNick)).toLocal8Bit().data() ) != NULL)
|
||||
{
|
||||
char *tprv = comStr;
|
||||
char *temp = NULL;
|
||||
char *temp2 = NULL;
|
||||
char senderNick[32] = {0};
|
||||
if(strstr(tprv, ":") != NULL) temp = strstr(tprv, ":");
|
||||
if(strstr(temp, "!") != NULL) temp2 = strstr(tprv, "!");
|
||||
if(temp != NULL && temp2 != NULL)
|
||||
{
|
||||
if(strlen(temp) > 0 && strlen(temp2) > 0)
|
||||
{
|
||||
int nickLen = temp2 - temp;
|
||||
if(nickLen <= 32)
|
||||
{
|
||||
char *tempD = strstri(tprv, QString(QString(pTemp) + " " + QString(ircNick)).toLocal8Bit().data());
|
||||
int nsz = QString(ircNick).size() + 10;
|
||||
|
||||
if(tempD == NULL) break;
|
||||
char *temp4 = NULL;
|
||||
int dsz = 0;
|
||||
if(strstr(tempD, "\n") != NULL)
|
||||
{
|
||||
temp4 = strstr(tempD, "\n");
|
||||
dsz = temp4 - tempD - nsz - 1;
|
||||
};
|
||||
|
||||
char tempData[512] = {0};
|
||||
if(temp4 != NULL)
|
||||
{
|
||||
strncpy(tempData, tempD + nsz, (dsz == 0 ? strlen(temp4) : dsz));
|
||||
}
|
||||
else strcpy(tempData, tempD + nsz);
|
||||
|
||||
if(nickLen > 0) strncpy(senderNick, temp + 1, nickLen - 1);
|
||||
|
||||
if(strlen(tempData) > 0)
|
||||
{
|
||||
QString strf;
|
||||
strf = QString::fromLocal8Bit(tempData);
|
||||
_blinkNLine(strf, QString::fromLocal8Bit(senderNick));
|
||||
ircTh->doEmitionPlayDckingSound();
|
||||
bool HLFlag = doHL(strf.toLocal8Bit().data());
|
||||
int cCode = 0;
|
||||
|
||||
ircTh->doEmitChangeIRCData(true, HLFlag, cCode, strf, "<a href=\"nesca:" + QString::fromLocal8Bit(senderNick) + "\"><font style=\"color:#" + GetNickColor(senderNick) + "\">[" + QString::fromLocal8Bit(senderNick) + "]:</font></a>");
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
ZeroMemory(senderNick, sizeof(senderNick));
|
||||
};
|
||||
ZeroMemory(comStr, sizeof(comStr));
|
||||
};
|
||||
ZeroMemory(recvBuffG, MAX_IRC_RECV_LEN);
|
||||
};
|
||||
};
|
||||
|
||||
if(iWantToConnect == true)
|
||||
{
|
||||
|
||||
ircTh->doEmitChangeRedIRCData("[-//-] IRC server went offline.");
|
||||
|
||||
_blinkNLine("IRC server offlined!", "[Server]");
|
||||
Sleep(5000);
|
||||
connectedToIRC == false;
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
if(proxyEnabledFlag) ircTh->doEmitChangeRedIRCData("[-//-] Cannot connect to proxy. (" + QString::number(WSAGetLastError()) + ")" );
|
||||
else ircTh->doEmitChangeRedIRCData("[-//-] Connection failed. (" + QString::number(WSAGetLastError()) + ")" );
|
||||
|
||||
|
||||
};
|
||||
CSSOCKET(lSock);
|
||||
};
|
||||
//};
|
||||
CSSOCKET(lSock);
|
||||
};
|
||||
|
||||
void oIRC_Th::run()
|
||||
{
|
||||
IRCLoop();
|
||||
ircTh->doEmitIRCOfflined();
|
||||
};
|
47
oIRC_Th.h
47
oIRC_Th.h
@ -1,47 +0,0 @@
|
||||
#ifndef OIRC_TH_H
|
||||
#define OIRC_TH_H
|
||||
|
||||
#pragma once
|
||||
#include "nesca_3.h"
|
||||
#include "irc_nmblinker.h"
|
||||
#include "IRCPinger_Th.h"
|
||||
|
||||
class oIRC_Th : public QThread
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
void doEmitUnhidePopup(QString, QString);
|
||||
void doEmitChangeIRCData(bool, bool, int, QString, QString);
|
||||
void doEmitChangeRedIRCData(QString);
|
||||
void doEmitChangeGreenIRCData(QString);
|
||||
void doEmitChangeYellowIRCData(QString);
|
||||
void doEmitChangeRawIRCDataInc(QString);
|
||||
void doEmitChangeRawIRCDataOut(QString);
|
||||
void doEmitSetNick(QString);
|
||||
void doEmitAddNick(QString);
|
||||
void doEmitClearNickList();
|
||||
void doEmitIRCOfflined();
|
||||
void doEmitionPlayDckingSound();
|
||||
void doEmitGetTopic(QString str);
|
||||
|
||||
public: signals: void sUnhidePopup(QString, QString);
|
||||
public: signals: void changeIRCData(bool, bool, int, QString, QString);
|
||||
public: signals: void changeRedIRCData(QString);
|
||||
public: signals: void changeGreenIRCData(QString);
|
||||
public: signals: void changeYellowIRCData(QString);
|
||||
public: signals: void changeRawIRCDataInc(QString);
|
||||
public: signals: void changeRawIRCDataOut(QString);
|
||||
public: signals: void setNick(QString);
|
||||
public: signals: void AddNick(QString);
|
||||
public: signals: void ClearNickList();
|
||||
public: signals: void IRCOfflined();
|
||||
public: signals: void notifyPlay();
|
||||
public: signals: void getTopic(QString);
|
||||
|
||||
protected:
|
||||
void run();
|
||||
};
|
||||
|
||||
extern oIRC_Th *ircTh;
|
||||
#endif // OIRC_TH_H
|
BIN
progressbardrawer.o
Normal file
BIN
progressbardrawer.o
Normal file
Binary file not shown.
2473
qrc_nesca_3.cpp
Normal file
2473
qrc_nesca_3.cpp
Normal file
File diff suppressed because it is too large
Load Diff
BIN
qrc_nesca_3.o
Normal file
BIN
qrc_nesca_3.o
Normal file
Binary file not shown.
1596
ui_nesca_3.h~
Normal file
1596
ui_nesca_3.h~
Normal file
File diff suppressed because it is too large
Load Diff
BIN
vercheckerthread.o
Normal file
BIN
vercheckerthread.o
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user