summaryrefslogtreecommitdiffstats
path: root/dcop
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-10-09 16:28:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-10-09 17:02:58 +0900
commit8d49342be2a800f97e338a179c3d9dfd6dac2d47 (patch)
tree89272e1a9b4e1d884acd3f376fe55e4e6ff2451a /dcop
parent04d353236066b9aa85f6387fa05d3d37b75a7dd2 (diff)
downloadtdelibs-8d49342be2a800f97e338a179c3d9dfd6dac2d47.tar.gz
tdelibs-8d49342be2a800f97e338a179c3d9dfd6dac2d47.zip
Removed unsupported qtint*/qtuint* types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9300f9e576b0f014f2f18e9204d8bad7e2cc68a9)
Diffstat (limited to 'dcop')
-rw-r--r--dcop/dcopclient.cpp2
-rw-r--r--dcop/dcopglobal.h2
-rw-r--r--dcop/dcopserver.cpp2
-rw-r--r--dcop/dcopserver.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/dcop/dcopclient.cpp b/dcop/dcopclient.cpp
index f5588ad3c..0aae67b7a 100644
--- a/dcop/dcopclient.cpp
+++ b/dcop/dcopclient.cpp
@@ -821,7 +821,7 @@ bool DCOPClient::attachInternal( bool registerAsAnonymous )
emit attachFailed(TQString::fromLatin1( "Could not read network connection list.\n" )+TQFile::decodeName(fName));
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 );
if ( f.readBlock( contents.data(), size ) != size )
{
diff --git a/dcop/dcopglobal.h b/dcop/dcopglobal.h
index 559037d2f..de6a9b223 100644
--- a/dcop/dcopglobal.h
+++ b/dcop/dcopglobal.h
@@ -37,7 +37,7 @@
#define DCOPReplyDelayed 6
#define DCOPFind 7
-#define INT32 QINT32
+#define INT32 TQ_INT32
#ifdef Q_WS_X11
#include <X11/Xlib.h>
#include <X11/Xmd.h>
diff --git a/dcop/dcopserver.cpp b/dcop/dcopserver.cpp
index ec6086f09..a565df405 100644
--- a/dcop/dcopserver.cpp
+++ b/dcop/dcopserver.cpp
@@ -1618,7 +1618,7 @@ static bool isRunning(const TQCString &fName, bool printNetworkId = false)
if (::access(fName.data(), R_OK) == 0) {
TQFile f(fName);
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 );
bool ok = f.readBlock( contents.data(), size ) == size;
contents[size] = '\0';
diff --git a/dcop/dcopserver.h b/dcop/dcopserver.h
index 77c88f62e..c9ff4d3ff 100644
--- a/dcop/dcopserver.h
+++ b/dcop/dcopserver.h
@@ -34,7 +34,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <tqintdict.h>
#include <tqapplication.h>
-#define INT32 QINT32
+#define INT32 TQ_INT32
#ifdef Q_WS_X11
#include <X11/Xlib.h>
#include <X11/Xmd.h>