diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 20:43:20 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 23:46:05 +0900 |
| commit | 5761876d3a71e9b3c5a93b5b535b071d2240b08e (patch) | |
| tree | 0ea383b7af28380ecec4a4059b1ed0bdcdbe8338 /kexi/kexiutils/utils.cpp | |
| parent | 2891d3c2d54dea1e2dd2a6702ee209b6f01f73f4 (diff) | |
| download | koffice-5761876d3a71e9b3c5a93b5b535b071d2240b08e.tar.gz koffice-5761876d3a71e9b3c5a93b5b535b071d2240b08e.zip | |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d7ae9fb514226c126e04cfe4f34800beb9f4ea19)
Diffstat (limited to 'kexi/kexiutils/utils.cpp')
| -rw-r--r-- | kexi/kexiutils/utils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/kexiutils/utils.cpp b/kexi/kexiutils/utils.cpp index ed62c07cb..4a0d54896 100644 --- a/kexi/kexiutils/utils.cpp +++ b/kexi/kexiutils/utils.cpp @@ -375,17 +375,17 @@ void* KexiUtils::stringToPtrInternal(const TQString& str, uint size) void KexiUtils::setFocusWithReason(TQWidget* widget, TQFocusEvent::Reason reason) { TQEvent fe( TQEvent::FocusIn ); - TQT_TQFOCUSEVENT(&fe)->setReason(reason); + static_cast<TQFocusEvent*>(&fe)->setReason(reason); TQApplication::sendEvent( widget, &fe ); - TQT_TQFOCUSEVENT(&fe)->resetReason(); + static_cast<TQFocusEvent*>(&fe)->resetReason(); } void KexiUtils::unsetFocusWithReason(TQWidget* widget, TQFocusEvent::Reason reason) { TQEvent fe( TQEvent::FocusOut ); - TQT_TQFOCUSEVENT(&fe)->setReason(reason); + static_cast<TQFocusEvent*>(&fe)->setReason(reason); TQApplication::sendEvent( widget, &fe ); - TQT_TQFOCUSEVENT(&fe)->resetReason(); + static_cast<TQFocusEvent*>(&fe)->resetReason(); } CopyFileResult KexiUtils::copyFile(const TQString& src, const TQString& dest) |
