author | ulf69 <ulf69> | 2004-09-24 19:51:43 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-09-24 19:51:43 (UTC) |
commit | a884dac6f756b3702a10ae97aa8782e4d2a84b20 (patch) (side-by-side diff) | |
tree | 08e50146a3176848455db29e0c0ff0309c6f7b4c /pwmanager/pwmanager/findwndimpl.cpp | |
parent | ae069aa892b29a96a923e49254cc89e65d0393eb (diff) | |
download | kdepimpi-a884dac6f756b3702a10ae97aa8782e4d2a84b20.zip kdepimpi-a884dac6f756b3702a10ae97aa8782e4d2a84b20.tar.gz kdepimpi-a884dac6f756b3702a10ae97aa8782e4d2a84b20.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'pwmanager/pwmanager/findwndimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | pwmanager/pwmanager/findwndimpl.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pwmanager/pwmanager/findwndimpl.cpp b/pwmanager/pwmanager/findwndimpl.cpp index fec1a6a..059219f 100644 --- a/pwmanager/pwmanager/findwndimpl.cpp +++ b/pwmanager/pwmanager/findwndimpl.cpp @@ -108,9 +108,22 @@ void FindWndImpl::findButton_slot() currFoundPos = 0; } + +#ifdef PWM_EMBEDDED +void FindWndImpl::slotOk() +{ + findButton_slot(); + + //do not call KDialogBase::slotOk() here + // user should press the close button instead +} +#endif + void FindWndImpl::closeButton_slot() { +#ifndef PWM_EMBEDDED done(0); +#endif } void FindWndImpl::selectionChanged_slot() |