Commit Graph

203 Commits (fa1eb649773c0e4042b4a11a494c97a4e3909404)

Author SHA1 Message Date
Michele Calgaro 30de6cffc7
libemailfunctions: move kAscii* functions to tdelibs
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8e0a91b1a7)
5 months ago
Michele Calgaro 94890b77a5
Remove unused code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1fb5101d49)
5 months ago
Michele Calgaro 04db7b27ae
Replace kdemacros.h with tdemacros.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3353e7fa30)
8 months ago
Michele Calgaro 7bfa0fb615
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d6705bac5d)
10 months ago
pschwabauer 622ea70bfc
Fix attachment filename handling
Currently filenames containing '#' are not correctly escaped, which
prevents to open attachments. This resolves issue #119.

Signed-off-by: pschwabauer <pschwabauer@intevation.de>
(cherry picked from commit 8c541bef93)
10 months ago
Slávek Banko d77e599ffa
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3d5bff624a)
11 months ago
pschwabauer f315d011c0
Allow open on all HTML parts
Currently, it is not possible to open a mail with HTML as main body part.
This fixes it by checking if the content type is of `HTML` and allow it
to be opened. This resolves issue #89.

Signed-off-by: pschwabauer <pschwabauer@intevation.de>
(cherry picked from commit 9ab93f257b)
11 months ago
pschwabauer 112a9744d3
Fix open HTML with an external program
HTML emails can't be opened because they are not written to disk. This
fixes it by writing HTML parts of the email unconditionally to disk and
adds a '.html' file extension if the part is of type HTML. This resolves
Issue #94

(cherry picked from commit 33ffa95233)
1 year ago
Michele Calgaro 7ad14b004a
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 477975ca20)
1 year ago
Michele Calgaro 3b1e4bbb3d
Replace auto_ptr
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d2f343cc23)
1 year ago
Michele Calgaro b0f8eef013
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3b3f9ec8f3)
1 year ago
Michele Calgaro 3b25eb314a Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 762dc98fa6)
1 year ago
Michele Calgaro ae35bc48cb
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ef173e633b)
1 year ago
Michele Calgaro 51d0291b08
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1d421717fb)
1 year ago
Michele Calgaro 22da7013ff
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3b66617d9d)
1 year ago
Michele Calgaro 4a793dd7c1
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d470e73134)
1 year ago
Michele Calgaro 7a712e6185
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 98876ba8c5)
1 year ago
Michele Calgaro 1a3e938ea6
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 33ba77ee89)
1 year ago
Michele Calgaro 91d0481e3b
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 84129a6fad)
2 years ago
Michele Calgaro 829b015f6e
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ca120c61e6)
2 years ago
Michele Calgaro fab4aa3bdd
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ddf896e8d2)
2 years ago
Michele Calgaro 99823e0320
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 33b2a9cc7d)
2 years ago
Michele Calgaro efa5508016
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit cd4b0ac226)
2 years ago
Michele Calgaro c56e9aa280
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>
(cherry picked from commit 3055550710)
2 years ago
Denis Kozadaev 55afe358c4
SunOS requires fcntl.h without any condition
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit 5d5c7b022d)
2 years ago
Slávek Banko c8e1b254e2
Distinguish between settings and explicit override for external content
Summary:
This will allow KMail to properly communicate the difference also when
using per-folder settings for loading external references. This in turn
makes 746e02af07 also work in that case.

Taken from KDE patches and adapted to TDE.
See https://phabricator.kde.org/D12393 and https://phabricator.kde.org/D12394

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Slávek Banko 746e02af07
Load external references in encrypted emails only on explicit request.
Taken from KDE patches and adapted to TDE.
See https://phabricator.kde.org/D12391

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro 94a38124fc
Remove unnecessary accelerators from .ui files
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Mavridis Philippe b4a0d3cc1e
Gender-neutral language
Related to TDE/tde#93.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Michele Calgaro ed455b74cd
kmail: use default transport for message redirect. This resolves issue #54.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 555db88cd8
Replaced 'includehints' with 'includes' in *.ui files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko e77087ce3d
The workaround that tdepimmacros.h do is no longer needed
and kdemacros.h can be used directly.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro 3a75bdfe83
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko cae557256d
KMail: Add the missing translation of the default search filter entry.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro cf916d8af7
Removed code formatting modelines.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko b4f9572404
KMail: Fix wrong line wrapping for "what is this" strings.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko 0d3043b630
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko fc457719cf
KMail: Delete a separate rule for processing the kcfg file.
The tde_add_kcfg_files macro already properly defines the header file
as the output file, so there is no need for separate rules for
processing the kcfg file.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 8f777f3fc8
Use TDE CMake macros instead of the former KDE3 CMake macros.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Chris dcbadd8017 Fix KMail misc icon and streamline German translation.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Slávek Banko f4be3a6e19
Fix unintended rename of LOCKFILE.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro 41190e6edd
Action "Email file" is no longer shown on folders and media items.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 6d2f3127be
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro f007b524fb
Fixed crashed in kmail/kontact when trying to print a message.
The problem was introduced by #25.
This resolves #27.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 70cc9c7408 Improvements on previous commit and other commits published in #19. This removes the need for mIsPlainText caching and also avoid to reread the configuration every time a message is changed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Luke Dashjr c0e7939083 KMail: Menu options to toggle "Show Message Structure"
Subtly different from the same feature in KDE:
KDE's menu items toggle the default behaviour between always/never, and the menu item is disabled if smart is set.
For Trinity, the option is always available, and only toggles visibility of the structure for the current session.

Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
6 years ago
Luke Dashjr e53303b929
Bugfix: KMail: Detach from message observation when destructing KMReaderWin
Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
6 years ago
Slávek Banko 72b5adf49c
Add CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
gregory guy 74cbb937c7
Update About Info for kmail, kontact and korganizer, this relates to bug 2401
Signed-off-by: gregory guy <g-gregory@gmx.fr>
6 years ago
Michele Calgaro 12212efecb
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