Skip to content

Commit

Permalink
TLString = QString, TLBytes = QByteArray
Browse files Browse the repository at this point in the history
  • Loading branch information
Dax89 committed Dec 2, 2016
1 parent 127368a commit 6f505a8
Show file tree
Hide file tree
Showing 93 changed files with 8,903 additions and 8,917 deletions.
6 changes: 3 additions & 3 deletions autogenerated/clientsyncmanager.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
// Generated by APIGenerator 1.0
// DO NOT EDIT!!!

#include "types/update.h"
#include <QObject>
#include "../config/telegramconfig.h"
#include "tltypes.h"
#include "types/updatesstate.h"
#include <QObject>
#include "types/updates.h"
#include "../config/telegramconfig.h"
#include "types/update.h"

class ClientSyncManager: public QObject
{
Expand Down
8 changes: 4 additions & 4 deletions autogenerated/mtproto/clientdhinnerdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void ClientDHInnerData::read(MTProtoStream* mtstream)
this->_nonce = mtstream->readTLInt128();
this->_server_nonce = mtstream->readTLInt128();
this->_retry_id = mtstream->readTLLong();
this->_g_b = mtstream->readTLString();
this->_g_b = mtstream->readTLBytes();
}
}

Expand All @@ -37,7 +37,7 @@ void ClientDHInnerData::write(MTProtoStream* mtstream)
mtstream->writeTLInt128(this->_nonce);
mtstream->writeTLInt128(this->_server_nonce);
mtstream->writeTLLong(this->_retry_id);
mtstream->writeTLString(this->_g_b);
mtstream->writeTLBytes(this->_g_b);
}
}

Expand Down Expand Up @@ -88,12 +88,12 @@ void ClientDHInnerData::setRetryId(TLLong retry_id)
emit retryIdChanged();
}

TLString ClientDHInnerData::gB() const
TLBytes ClientDHInnerData::gB() const
{
return this->_g_b;
}

void ClientDHInnerData::setGB(TLString g_b)
void ClientDHInnerData::setGB(TLBytes g_b)
{
if(this->_g_b == g_b)
return;
Expand Down
8 changes: 4 additions & 4 deletions autogenerated/mtproto/clientdhinnerdata.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ClientDHInnerData: public TelegramObject
Q_PROPERTY(TLInt128 nonce READ nonce WRITE setNonce NOTIFY nonceChanged)
Q_PROPERTY(TLInt128 serverNonce READ serverNonce WRITE setServerNonce NOTIFY serverNonceChanged)
Q_PROPERTY(TLLong retryId READ retryId WRITE setRetryId NOTIFY retryIdChanged)
Q_PROPERTY(TLString gB READ gB WRITE setGB NOTIFY gBChanged)
Q_PROPERTY(TLBytes gB READ gB WRITE setGB NOTIFY gBChanged)

Q_ENUMS(Constructors)

Expand All @@ -36,8 +36,8 @@ class ClientDHInnerData: public TelegramObject
void setServerNonce(TLInt128 server_nonce);
TLLong retryId() const;
void setRetryId(TLLong retry_id);
TLString gB() const;
void setGB(TLString g_b);
TLBytes gB() const;
void setGB(TLBytes g_b);

signals:
void nonceChanged();
Expand All @@ -49,7 +49,7 @@ class ClientDHInnerData: public TelegramObject
TLInt128 _nonce;
TLInt128 _server_nonce;
TLLong _retry_id;
TLString _g_b;
TLBytes _g_b;

};

Expand Down
378 changes: 189 additions & 189 deletions autogenerated/mtproto/decompiler/decompilertable.cpp

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions autogenerated/mtproto/decompiler/decompilertable.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
// DO NOT EDIT!!!

#include <QHash>
#include "../../tltypes.h"
#include <QObject>
#include "../../../types/basic.h"
#include <QObject>
#include "../../tltypes.h"

class DecompilerTable: public QObject
{
Expand Down
16,632 changes: 8,316 additions & 8,316 deletions autogenerated/mtproto/decompiler/mtprotodecompiler.cpp

Large diffs are not rendered by default.

340 changes: 170 additions & 170 deletions autogenerated/mtproto/decompiler/mtprotodecompiler.h

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion autogenerated/mtproto/futuresalts.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
// DO NOT EDIT!!!

#include "../../types/basic.h"
#include "../../types/telegramobject.h"
#include "futuresalt.h"
#include "../../types/telegramobject.h"

class FutureSalts: public TelegramObject
{
Expand Down
6 changes: 3 additions & 3 deletions autogenerated/mtproto/mtproto.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
#include "destroysessionres.h"
#include "newsession.h"
#include "httpwait.h"
#include "../../types/mtproto/mtprotomessage.h"
#include "../../types/mtproto/rpcresult.h"
#include "../../types/mtproto/mtprotoobject.h"
#include "../../types/mtproto/messagecontainer.h"
#include "../../types/mtproto/messagecopy.h"
#include "../../types/mtproto/rpcresult.h"
#include "../../types/mtproto/mtprotomessage.h"
#include "../../types/mtproto/messagecontainer.h"

#endif // MTPROTO_H
24 changes: 12 additions & 12 deletions autogenerated/mtproto/pqinnerdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ void PQInnerData::read(MTProtoStream* mtstream)

if(this->_constructorid == PQInnerData::CtorPQInnerData)
{
this->_pq = mtstream->readTLString();
this->_p = mtstream->readTLString();
this->_q = mtstream->readTLString();
this->_pq = mtstream->readTLBytes();
this->_p = mtstream->readTLBytes();
this->_q = mtstream->readTLBytes();
this->_nonce = mtstream->readTLInt128();
this->_server_nonce = mtstream->readTLInt128();
this->_new_nonce = mtstream->readTLInt256();
Expand All @@ -35,9 +35,9 @@ void PQInnerData::write(MTProtoStream* mtstream)

if(this->_constructorid == PQInnerData::CtorPQInnerData)
{
mtstream->writeTLString(this->_pq);
mtstream->writeTLString(this->_p);
mtstream->writeTLString(this->_q);
mtstream->writeTLBytes(this->_pq);
mtstream->writeTLBytes(this->_p);
mtstream->writeTLBytes(this->_q);
mtstream->writeTLInt128(this->_nonce);
mtstream->writeTLInt128(this->_server_nonce);
mtstream->writeTLInt256(this->_new_nonce);
Expand All @@ -49,12 +49,12 @@ void PQInnerData::compileFlags()

}

TLString PQInnerData::pq() const
TLBytes PQInnerData::pq() const
{
return this->_pq;
}

void PQInnerData::setPq(TLString pq)
void PQInnerData::setPq(TLBytes pq)
{
if(this->_pq == pq)
return;
Expand All @@ -63,12 +63,12 @@ void PQInnerData::setPq(TLString pq)
emit pqChanged();
}

TLString PQInnerData::p() const
TLBytes PQInnerData::p() const
{
return this->_p;
}

void PQInnerData::setP(TLString p)
void PQInnerData::setP(TLBytes p)
{
if(this->_p == p)
return;
Expand All @@ -77,12 +77,12 @@ void PQInnerData::setP(TLString p)
emit pChanged();
}

TLString PQInnerData::q() const
TLBytes PQInnerData::q() const
{
return this->_q;
}

void PQInnerData::setQ(TLString q)
void PQInnerData::setQ(TLBytes q)
{
if(this->_q == q)
return;
Expand Down
24 changes: 12 additions & 12 deletions autogenerated/mtproto/pqinnerdata.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ class PQInnerData: public TelegramObject
{
Q_OBJECT

Q_PROPERTY(TLString pq READ pq WRITE setPq NOTIFY pqChanged)
Q_PROPERTY(TLString p READ p WRITE setP NOTIFY pChanged)
Q_PROPERTY(TLString q READ q WRITE setQ NOTIFY qChanged)
Q_PROPERTY(TLBytes pq READ pq WRITE setPq NOTIFY pqChanged)
Q_PROPERTY(TLBytes p READ p WRITE setP NOTIFY pChanged)
Q_PROPERTY(TLBytes q READ q WRITE setQ NOTIFY qChanged)
Q_PROPERTY(TLInt128 nonce READ nonce WRITE setNonce NOTIFY nonceChanged)
Q_PROPERTY(TLInt128 serverNonce READ serverNonce WRITE setServerNonce NOTIFY serverNonceChanged)
Q_PROPERTY(TLInt256 newNonce READ newNonce WRITE setNewNonce NOTIFY newNonceChanged)
Expand All @@ -32,12 +32,12 @@ class PQInnerData: public TelegramObject
protected:
virtual void compileFlags();
public:
TLString pq() const;
void setPq(TLString pq);
TLString p() const;
void setP(TLString p);
TLString q() const;
void setQ(TLString q);
TLBytes pq() const;
void setPq(TLBytes pq);
TLBytes p() const;
void setP(TLBytes p);
TLBytes q() const;
void setQ(TLBytes q);
TLInt128 nonce() const;
void setNonce(TLInt128 nonce);
TLInt128 serverNonce() const;
Expand All @@ -54,9 +54,9 @@ class PQInnerData: public TelegramObject
void newNonceChanged();

private:
TLString _pq;
TLString _p;
TLString _q;
TLBytes _pq;
TLBytes _p;
TLBytes _q;
TLInt128 _nonce;
TLInt128 _server_nonce;
TLInt256 _new_nonce;
Expand Down
8 changes: 4 additions & 4 deletions autogenerated/mtproto/respq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ void ResPQ::read(MTProtoStream* mtstream)
{
this->_nonce = mtstream->readTLInt128();
this->_server_nonce = mtstream->readTLInt128();
this->_pq = mtstream->readTLString();
this->_pq = mtstream->readTLBytes();
mtstream->readTLVector<TLLong>(this->_server_public_key_fingerprints, false);
}
}
Expand All @@ -35,7 +35,7 @@ void ResPQ::write(MTProtoStream* mtstream)
{
mtstream->writeTLInt128(this->_nonce);
mtstream->writeTLInt128(this->_server_nonce);
mtstream->writeTLString(this->_pq);
mtstream->writeTLBytes(this->_pq);
mtstream->writeTLVector(this->_server_public_key_fingerprints, false);
}
}
Expand Down Expand Up @@ -73,12 +73,12 @@ void ResPQ::setServerNonce(TLInt128 server_nonce)
emit serverNonceChanged();
}

TLString ResPQ::pq() const
TLBytes ResPQ::pq() const
{
return this->_pq;
}

void ResPQ::setPq(TLString pq)
void ResPQ::setPq(TLBytes pq)
{
if(this->_pq == pq)
return;
Expand Down
8 changes: 4 additions & 4 deletions autogenerated/mtproto/respq.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ResPQ: public TelegramObject

Q_PROPERTY(TLInt128 nonce READ nonce WRITE setNonce NOTIFY nonceChanged)
Q_PROPERTY(TLInt128 serverNonce READ serverNonce WRITE setServerNonce NOTIFY serverNonceChanged)
Q_PROPERTY(TLString pq READ pq WRITE setPq NOTIFY pqChanged)
Q_PROPERTY(TLBytes pq READ pq WRITE setPq NOTIFY pqChanged)
Q_PROPERTY(TLVector<TLLong> serverPublicKeyFingerprints READ serverPublicKeyFingerprints WRITE setServerPublicKeyFingerprints NOTIFY serverPublicKeyFingerprintsChanged)

Q_ENUMS(Constructors)
Expand All @@ -34,8 +34,8 @@ class ResPQ: public TelegramObject
void setNonce(TLInt128 nonce);
TLInt128 serverNonce() const;
void setServerNonce(TLInt128 server_nonce);
TLString pq() const;
void setPq(TLString pq);
TLBytes pq() const;
void setPq(TLBytes pq);
const TLVector<TLLong>& serverPublicKeyFingerprints() const;
void setServerPublicKeyFingerprints(const TLVector<TLLong>& server_public_key_fingerprints);

Expand All @@ -48,7 +48,7 @@ class ResPQ: public TelegramObject
private:
TLInt128 _nonce;
TLInt128 _server_nonce;
TLString _pq;
TLBytes _pq;
TLVector<TLLong> _server_public_key_fingerprints;

};
Expand Down
16 changes: 8 additions & 8 deletions autogenerated/mtproto/serverdhinnerdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ void ServerDHInnerData::read(MTProtoStream* mtstream)
this->_nonce = mtstream->readTLInt128();
this->_server_nonce = mtstream->readTLInt128();
this->_g = mtstream->readTLInt();
this->_dh_prime = mtstream->readTLString();
this->_g_a = mtstream->readTLString();
this->_dh_prime = mtstream->readTLBytes();
this->_g_a = mtstream->readTLBytes();
this->_server_time = mtstream->readTLInt();
}
}
Expand All @@ -40,8 +40,8 @@ void ServerDHInnerData::write(MTProtoStream* mtstream)
mtstream->writeTLInt128(this->_nonce);
mtstream->writeTLInt128(this->_server_nonce);
mtstream->writeTLInt(this->_g);
mtstream->writeTLString(this->_dh_prime);
mtstream->writeTLString(this->_g_a);
mtstream->writeTLBytes(this->_dh_prime);
mtstream->writeTLBytes(this->_g_a);
mtstream->writeTLInt(this->_server_time);
}
}
Expand Down Expand Up @@ -93,12 +93,12 @@ void ServerDHInnerData::setG(TLInt g)
emit gChanged();
}

TLString ServerDHInnerData::dhPrime() const
TLBytes ServerDHInnerData::dhPrime() const
{
return this->_dh_prime;
}

void ServerDHInnerData::setDhPrime(TLString dh_prime)
void ServerDHInnerData::setDhPrime(TLBytes dh_prime)
{
if(this->_dh_prime == dh_prime)
return;
Expand All @@ -107,12 +107,12 @@ void ServerDHInnerData::setDhPrime(TLString dh_prime)
emit dhPrimeChanged();
}

TLString ServerDHInnerData::gA() const
TLBytes ServerDHInnerData::gA() const
{
return this->_g_a;
}

void ServerDHInnerData::setGA(TLString g_a)
void ServerDHInnerData::setGA(TLBytes g_a)
{
if(this->_g_a == g_a)
return;
Expand Down
16 changes: 8 additions & 8 deletions autogenerated/mtproto/serverdhinnerdata.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ class ServerDHInnerData: public TelegramObject
Q_PROPERTY(TLInt128 nonce READ nonce WRITE setNonce NOTIFY nonceChanged)
Q_PROPERTY(TLInt128 serverNonce READ serverNonce WRITE setServerNonce NOTIFY serverNonceChanged)
Q_PROPERTY(TLInt g READ g WRITE setG NOTIFY gChanged)
Q_PROPERTY(TLString dhPrime READ dhPrime WRITE setDhPrime NOTIFY dhPrimeChanged)
Q_PROPERTY(TLString gA READ gA WRITE setGA NOTIFY gAChanged)
Q_PROPERTY(TLBytes dhPrime READ dhPrime WRITE setDhPrime NOTIFY dhPrimeChanged)
Q_PROPERTY(TLBytes gA READ gA WRITE setGA NOTIFY gAChanged)
Q_PROPERTY(TLInt serverTime READ serverTime WRITE setServerTime NOTIFY serverTimeChanged)

Q_ENUMS(Constructors)
Expand All @@ -38,10 +38,10 @@ class ServerDHInnerData: public TelegramObject
void setServerNonce(TLInt128 server_nonce);
TLInt g() const;
void setG(TLInt g);
TLString dhPrime() const;
void setDhPrime(TLString dh_prime);
TLString gA() const;
void setGA(TLString g_a);
TLBytes dhPrime() const;
void setDhPrime(TLBytes dh_prime);
TLBytes gA() const;
void setGA(TLBytes g_a);
TLInt serverTime() const;
void setServerTime(TLInt server_time);

Expand All @@ -57,8 +57,8 @@ class ServerDHInnerData: public TelegramObject
TLInt128 _nonce;
TLInt128 _server_nonce;
TLInt _g;
TLString _dh_prime;
TLString _g_a;
TLBytes _dh_prime;
TLBytes _g_a;
TLInt _server_time;

};
Expand Down
Loading

0 comments on commit 6f505a8

Please sign in to comment.