Alexander Golubev
3b32c2fa89
tdeio/kdirlister: better handle if TDEIO::localURL() failed
...
This shouldn't generally happend, but better safe than sorry.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
7 months ago
Alexander Golubev
3b1b97d7fe
tdeio/kdirlister: reset complete flag earlier for remote URLs
...
Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/gwenview/issues/20
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
7 months ago
Alexander Golubev
f34601e77a
tdeio/kdirlister: add some cleanups for LocalURLJob's
...
Theoretically the lack of those could lead to segfaults and data
corruptions, hard to debug but very rare.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
7 months ago
Alexander Golubev
2c18d241d8
tdeio/KDirLister: add url validity check
...
Before 0756aab51
and 4d6667159
this validity check was done for all URLs
inside KDirListerCache::listDir(). But since those two commits the result
of this check for remote URLs is impossible to propagate to the user. So
implicit check is in order.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
7 months ago
Alexander Golubev
c4ebd9d0e7
tdeio/kdirlister: some refactoring
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
7 months ago
Michele Calgaro
03aa7238b3
Replace Q_WS_* defines with TQ_WS_* equivalents
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 months ago
Michele Calgaro
ba3b5b77e1
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro
d5688771d8
Replace various '#define' strings - part 6
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro
44e712a770
Replaced various '#define' with actual strings - part 5
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 months ago
Michele Calgaro
138bb80efa
Replaced various '#define' with actual strings - part 4
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 months ago
Michele Calgaro
d42f9ae842
Replaced various '#define' with actual strings - part 2
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 months ago
Michele Calgaro
c8ece3630d
Replace Qt with TQt
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 months ago
OBATA Akio
419c185be7
Prevent to use conditional inclusion preprocessor feature (since C++23)
...
`#elifdef` is supported since C23 and C++23, but such newer compiler
is not required here.
Signed-off-by: OBATA Akio <obache@wizdas.com>
10 months ago
Michele Calgaro
4c0dae60b2
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
0f36f89663
Replace various tqtinterface's TQ_* defines with actual types
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
1e5d5c92c3
Replace TQ_*Focus* and TQ_Scale* defines
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
57af4f9d87
Drop USE_TQT4 code
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
23278d2593
Drop TQT_TQ*_CONST defines
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
8eb500c4e8
Replace Q_OBJECT with TQ_OBJECT
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
36c049e135
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
54b5898649
Rework and fix commit 4d90cc61
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Denis Kozadaev
e5acdb1b39
Add SunOS specific patches
...
Signed-off-by: Denis Kozadaev <denis@dilos.org>
1 year ago
Michele Calgaro
ea10b6290d
tdeio: only create the internal guarded pointer for TDEIO::Job if it is really required. This fix avoid creation and destruction of unnecessary TQObjects and helps speeding up operations which requires lot of Jobs.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro
4d90cc6117
Add single TQObject root parent for all TDEIO::Job objects.
...
This helps keeping the object root list shorter, speeding up operations
which require lot of TQObject trees. This relates to TDE/tdebase#309 .
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko
eaa7f3e3d4
Fix the last wrong condition from commit 99739b6114
.
...
Revert the wrong fix from commit 3d3e77773d
.
If desktop file does not include X-TDE-Protocols property, use X-KDE-Protocols
property to limit the use of TDEIO protocols for non-TDE programs.
This resolves issue TDE/tdebase#224 .
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Slávek Banko
a5def4f9a4
Add a definition of MIME type application/x-pie-executable.
...
This resolves incorrect identification of binary executables with libmagick >= 5.33.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Mavridis Philippe
646661d0be
iconForURL(): Fix root directory (/) icon.
...
This resolves issue #128 .
This also resolves issue TDE/tdebase#1 .
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
4 years ago
Alexander Golubev
9cc0522efd
tdeio: minor simplification of plurals in translation
...
A fixup for the d3d85b65
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
4 years ago
Alexander Golubev
d3d85b6550
tdeio: minor improvement of translatability of a message
...
* added plural forms
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
4 years ago
Michele Calgaro
3d3e77773d
krun: prevent media:/ or system:/media urls to be replaced by their respective /media/... path.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
90bf877604
Fixed handling of files containing an # in the name when using the system:/media or media:/ protocol. This resolves bug 3022 and bug 3063.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
9468d05e3d
Fixed second pass uncrustify's code formatting offending files.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
491e1c72c7
Fixed some uncrustify's code formatting offending files.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
4f99f868f0
Renaming of files in preparation for code style tools.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
ed8e30bc6d
Removed code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
OBATA Akio
965a808b91
Improve progname detection portability
...
`getprogname()` of FreeBSD is based on NetBSD's one, no reason to
prevent using it on NetBSD.
glibc also has own special variable for progname.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
Slávek Banko
c2b90055a5
Drop explicit dependencies on dcopidl and dcopidl2cpp,
...
because thanks to the replacement of KDE3 CMake macros
with TDE macros, this is no longer needed.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro
9cd27dbaa3
Fixed tde branding of services in tdebuildsycoca. This was creating old
...
kde-* entries in profilerc when updating file type preferences. This
relates to bug 3083.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
8b8f5064f7
Security: remove support for $(...) in KRun which could have allowed
...
execution of malicious code. This is similar to issue #45 for .desktop
files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
e5256a1bd6
Removed beagle related code.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
aa98dbfe80
Removed explicit usage of the 'register' keyword.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Matías Fonzo
c2adce2e13
Redirect some headers noticed by the compiler
...
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
/usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Wcpp]
1 | #warning redirecting incorrect #include <sys/signal.h> to <signal.h>
Note: <sys/signal.h> has been removed from the tdeio/tdeio/connection.cpp source - it was already declared.
Signed-off-by: Matías Fonzo <selk@dragora.org>
5 years ago
Michele Calgaro
d3119bb794
Fixed missing update of mime comment in refreshed KFileItem. This
...
resolves issue #35 .
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Chris
0e071064b9
Fix remaining brandings in tdelibs and adopt to modern age.
...
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Michele Calgaro
aaaf378033
Adjusted to use new TQStringVariantMap type.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
352c8f6a21
Adjusted to latest TQVariant::TQVariant(bool) function.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
OBATA Akio
08b7645468
Change to always build and install KACL
...
It is used by others even if missing POSIX ACL support.
6 years ago
Michele Calgaro
2e0398f755
QT_NO_* -> TQT_NO_* renaming.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
8d88f31f74
Replaced _BSD_SOURCE, _SVID_SOURCE with _DEFAULT_SOURCE. Removed AC_CHECK_GNU_EXTENSIONS.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
8d07cff840
qt -> tqt conversion:
...
kdeqt -> kdetqt
qtkde -> tqtkde
qtdesigner -> tqtdesigner
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago