Commit Graph

203 Commits (6b1f9116760b2a693428cc93a0304dd3d7d2856a)

Author SHA1 Message Date
Michele Calgaro 8e0a91b1a7
libemailfunctions: move kAscii* functions to tdelibs
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 months ago
Michele Calgaro 1fb5101d49
Remove unused code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 months ago
Michele Calgaro 3353e7fa30
Replace kdemacros.h with tdemacros.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro d6705bac5d
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 months ago
pschwabauer 8c541bef93
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>
10 months ago
Slávek Banko 3d5bff624a
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 months ago
pschwabauer 9ab93f257b
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>
11 months ago
pschwabauer 33ffa95233
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
1 year ago
Michele Calgaro 477975ca20
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro d2f343cc23
Replace auto_ptr
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 3b3f9ec8f3
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 762dc98fa6
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro ef173e633b
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 1d421717fb
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 3b66617d9d
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro d470e73134
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 98876ba8c5
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 33ba77ee89
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 84129a6fad
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro ca120c61e6
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro ddf896e8d2
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 33b2a9cc7d
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro cd4b0ac226
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 3055550710
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>
2 years ago
Denis Kozadaev 5d5c7b022d SunOS requires fcntl.h without any condition
Signed-off-by: Denis Kozadaev <denis@dilos.org>
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