Removed unsupported qtint*/qtuint* types

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/230/head
Michele Calgaro 1 year ago
parent 4c0dae60b2
commit 9300f9e576
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -821,7 +821,7 @@ bool DCOPClient::attachInternal( bool registerAsAnonymous )
emit attachFailed(TQString::fromLatin1( "Could not read network connection list.\n" )+TQFile::decodeName(fName)); emit attachFailed(TQString::fromLatin1( "Could not read network connection list.\n" )+TQFile::decodeName(fName));
return false; return false;
} }
int size = TQMIN( (qint64)1024, f.size() ); // protection against a huge file int size = TQMIN( (long)1024, f.size() ); // protection against a huge file
TQCString contents( size+1 ); TQCString contents( size+1 );
if ( f.readBlock( contents.data(), size ) != size ) if ( f.readBlock( contents.data(), size ) != size )
{ {

@ -37,7 +37,7 @@
#define DCOPReplyDelayed 6 #define DCOPReplyDelayed 6
#define DCOPFind 7 #define DCOPFind 7
#define INT32 QINT32 #define INT32 TQ_INT32
#ifdef Q_WS_X11 #ifdef Q_WS_X11
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xmd.h> #include <X11/Xmd.h>

@ -1618,7 +1618,7 @@ static bool isRunning(const TQCString &fName, bool printNetworkId = false)
if (::access(fName.data(), R_OK) == 0) { if (::access(fName.data(), R_OK) == 0) {
TQFile f(fName); TQFile f(fName);
f.open(IO_ReadOnly); f.open(IO_ReadOnly);
int size = TQMIN( (qint64)1024, f.size() ); // protection against a huge file int size = TQMIN( (long)1024, f.size() ); // protection against a huge file
TQCString contents( size+1 ); TQCString contents( size+1 );
bool ok = f.readBlock( contents.data(), size ) == size; bool ok = f.readBlock( contents.data(), size ) == size;
contents[size] = '\0'; contents[size] = '\0';

@ -34,7 +34,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <tqintdict.h> #include <tqintdict.h>
#include <tqapplication.h> #include <tqapplication.h>
#define INT32 QINT32 #define INT32 TQ_INT32
#ifdef Q_WS_X11 #ifdef Q_WS_X11
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xmd.h> #include <X11/Xmd.h>

Loading…
Cancel
Save