Commit Graph

149 Commits (98c0efd2fa66bc5c8a3285da028d85a350054eb7)

Author SHA1 Message Date
Michele Calgaro 16d42ec461
Fix conversion of TQString to const char* (modules)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 days ago
Michele Calgaro a09cecfffd
Some generic fixes required for future cmake conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 days ago
Michele Calgaro beec6cf1c3
Remove files generated at build time from the sources
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 weeks ago
Michele Calgaro 7dd6e31b98
Include moc files directly from the related source files (modules)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 weeks ago
Michele Calgaro ed184e8a40
Fix conversion of TQString to const char*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 weeks ago
Michele Calgaro 164a5bd91a
Fix wrong parameter in KviTQString::sprintf call
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro 34ccc36dae
Use correct license file name
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro f27be165c4
Split kvirc executable into a shared library (libkvirc) and a stub executable (kvirc).
Autotool builds kvirc with '-export-dynamic', which exports all global symbols from the main executable to the dynamic symbol table. This allows 'modules' to access those symbols and build successfully.
CMake build kvirc without '-export-dynamic' and with hidden symbol visibitily by default, resulting in FTBFS when the build process reaches the 'modules' part. This is caused by the modules referring to symbols define in code under the 'src/kvirc' folder
Splitting 'kvirc' into an additional 'libkvirc' shared library plus a simple executable stub that creates the application and run it, allows modules to be linked against the library part and build successfully also with cmake.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro 5f11552ae3
Add visibility attributes to library functions
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro 22304a213f
Include moc files directly from the related source files
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro ed70becf9c
Fix debug format strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro e7c2992a48
Improvements suggested on PR #58
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro ec97d6d21f
Remove unused config defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro ab0b59c0c1
Remove BUILD_FLAGS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro 209c97c466
Remove VERSION_BRANCH and SS_DIRTAG
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro 562f8a7669
Fix invalid comparison warnings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro 33b84dbbb4
Fix 'this if clause does not guard...' warnings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro a9f2b04e53
Fix 'ISO C++11 forbids converting a string constant to char*' warnings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro 99e229125e
Remove code related to obsoleted thread libraries
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro 62c2474c8c
Remove kvirc-config
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Michele Calgaro 6d7d4ce7f3
Install script examples files in the application data folder
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Michele Calgaro 73ddf4aa7f
Move scripts folder to src/scripts
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Michele Calgaro caab44d2c4
Look for translation .mo files in the new location
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Michele Calgaro 1c8f24439b
Fix TQString formatting in 'KviTQString::sprintf'.
This was causing translation catalouges not to be found and eventually the program to always display in English.

The problem was introduced by an automated Q --> TQ renaming done sometime in the past. 'KviTQString::sprintf' uses '%Q' as a marker for a TQString* argument, so using '%TQ' was resulting in garbage bytes being fed and the catalouges not being found.

This resolves issue #44.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Michele Calgaro 5e55ee7988
Move config.h.in to main folder, similar to other TDE applications
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Michele Calgaro 93ec9dda87
Remove src/kvi_configstatus.h, which is generated at build time
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Michele Calgaro 2136673d4c
Remove KVI_VERSION_BRANCH since the version number is no longer used in the application path
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Michele Calgaro 6138cbba10
Remove warning about 'template-id not allowed for constructor in C++20'
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Michele Calgaro 60f2efab89
Remove build date code. The info does not add anything useful and make reproducible builds not possible
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Michele Calgaro 7fa16e5ac8
Remove kvirc version number from module files installation location.
In TDE there is a single version of kvirc, so there is no need to have
separate locations for multiple versions.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 months ago
Michele Calgaro 291b4f5da2
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
11 months ago
Michele Calgaro 8c8555a719
Use tdestandarddirs.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 06aada7f8e
Replace obsolete kstddirs.h with kstandarddirs.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 2a9db75e0d
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 627315e495
Don't use obsolete header kapp.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro f887a3ee8f
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 209ac1e561
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro eab2995851
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 236b93c726
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro d65a880c1c
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 3c626b9f1a
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 9577f4de07
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 87c77000cf
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro ee077affc0
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 030a2248f3
Drop USE_QT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko 17118265cf
Fix FTBFS from issue #9.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro 3ec2ac7ee5
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 0130e6d75a
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 6df27473e5
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 5e2a1ae3fe
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago