author | zecke <zecke> | 2003-09-13 15:04:36 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-09-13 15:04:36 (UTC) |
commit | 6b4c7e5d9f5c21bf044afb260fcfa066e86c12a1 (patch) (side-by-side diff) | |
tree | 736f68df631447b88768cb8f080306e78ae3cd20 /libopie/big-screen/omodalhelper.cpp | |
parent | 14db240e82c6208277946c6a76fe1d41615d6804 (diff) | |
download | opie-6b4c7e5d9f5c21bf044afb260fcfa066e86c12a1.zip opie-6b4c7e5d9f5c21bf044afb260fcfa066e86c12a1.tar.gz opie-6b4c7e5d9f5c21bf044afb260fcfa066e86c12a1.tar.bz2 |
The rest of the implementation.
Theoretically you could use it, now writing the example and
then finally compile that sucker for the 1st time
Diffstat (limited to 'libopie/big-screen/omodalhelper.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/big-screen/omodalhelper.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libopie/big-screen/omodalhelper.cpp b/libopie/big-screen/omodalhelper.cpp index e3d1c70..c5a47b3 100644 --- a/libopie/big-screen/omodalhelper.cpp +++ b/libopie/big-screen/omodalhelper.cpp @@ -76,7 +76,7 @@ void OModalHelperControler::done( int result ) { if ( sender() && !sender()->isA("OModalQueuedDialog") ) m_dia = static_cast<QDialog*>( sender() ); - m_base->done( m_id ); + m_base->done( result, m_id ); } void OModalHelperControler::next() { @@ -155,6 +155,11 @@ void OModalQueuedDialog::setRecord( int record, int count ) { }else show(); + if ( count > 1 ) + m_bar->show(); + else + m_bar->hide(); + m_bar->setText( tr("Editing record %1 out of %2", "Shows the current edited record out of an array of records").arg( record ). arg( count ) ); } |