diff options
author | Michele Calgaro <[email protected]> | 2023-12-03 00:49:17 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-05 11:41:58 +0900 |
commit | 5b1fdb9a3fa898c7bc3921e75ae04eece2332fb3 (patch) | |
tree | 8f4b12ee79c899ad27380ae0e0b995252a0855ef /superkaramba | |
parent | 5ecef94fcb0ab49312273a1541025165499afa38 (diff) | |
download | tdeutils-5b1fdb9a3fa898c7bc3921e75ae04eece2332fb3.tar.gz tdeutils-5b1fdb9a3fa898c7bc3921e75ae04eece2332fb3.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit aa69f1c2ffda0e4e0339c1686a9ff4b3d00f4ac7)
Diffstat (limited to 'superkaramba')
-rw-r--r-- | superkaramba/src/systemtray.cpp | 2 | ||||
-rw-r--r-- | superkaramba/src/themelocale.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/superkaramba/src/systemtray.cpp b/superkaramba/src/systemtray.cpp index ab539cd..f8397de 100644 --- a/superkaramba/src/systemtray.cpp +++ b/superkaramba/src/systemtray.cpp @@ -62,7 +62,7 @@ void Systemtray::updateBackgroundPixmap ( const TQPixmap & pixmap) { //Stupid stupid stupid work around for annoying bug //QXEmbed ignores setBackgroundOrigin(AncestorOrigin).... TQPixmap bug = TQPixmap(emb->size()); - bitBlt(TQT_TQPAINTDEVICE(&bug), 0, 0, TQT_TQPAINTDEVICE(const_cast<TQPixmap*>(&pixmap)), emb->parentWidget()->x()+emb->x(), emb->parentWidget()->y()+emb->y(), emb->width(), emb->height(),TQt::CopyROP, false); + bitBlt(&bug, 0, 0, const_cast<TQPixmap*>(&pixmap), emb->parentWidget()->x()+emb->x(), emb->parentWidget()->y()+emb->y(), emb->width(), emb->height(),TQt::CopyROP, false); emb->setPaletteBackgroundPixmap (bug); } diff --git a/superkaramba/src/themelocale.cpp b/superkaramba/src/themelocale.cpp index f451eaf..9f77c19 100644 --- a/superkaramba/src/themelocale.cpp +++ b/superkaramba/src/themelocale.cpp @@ -162,7 +162,7 @@ void ThemeLocale::setLanguage(const TQStringList &languages) if(m_theme->fileExists(file)) { TQBuffer buffer(m_theme->readThemeFile(file)); - tl_nl_load_domain(TQT_TQIODEVICE(&buffer), buffer.size(), &m_domain); + tl_nl_load_domain(&buffer, buffer.size(), &m_domain); m_language = *it; return; } |