diff options
author | Michele Calgaro <[email protected]> | 2023-11-30 20:43:20 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-30 21:03:28 +0900 |
commit | d7ae9fb514226c126e04cfe4f34800beb9f4ea19 (patch) | |
tree | 4d12f786f3541b9ff0225f0ceb2bec0b9268a163 /kexi/kexiutils | |
parent | b727f4b3b1957bec28a350575237b93f8f278cdb (diff) | |
download | koffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.tar.gz koffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kexi/kexiutils')
-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 ed62c07c..4a0d5489 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) |