author | zecke <zecke> | 2004-02-18 22:45:27 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-02-18 22:45:27 (UTC) |
commit | f8caabcef314cad5007fec940af48d8cd4612c49 (patch) (unidiff) | |
tree | 3d094ccc98d3c72de7b921900e898ba79133aef3 /library | |
parent | cfd235730a4619ae9181f0d78d78a7f9360ea49e (diff) | |
download | opie-f8caabcef314cad5007fec940af48d8cd4612c49.zip opie-f8caabcef314cad5007fec940af48d8cd4612c49.tar.gz opie-f8caabcef314cad5007fec940af48d8cd4612c49.tar.bz2 |
Clarify on the start date for searches
-rw-r--r-- | library/findwidget_p.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/findwidget_p.cpp b/library/findwidget_p.cpp index 9ecaa40..287e125 100644 --- a/library/findwidget_p.cpp +++ b/library/findwidget_p.cpp | |||
@@ -99,21 +99,22 @@ void FindWidget::setUseDate( bool show ) | |||
99 | void FindWidget::setDate( const QDate &dt ) | 99 | void FindWidget::setDate( const QDate &dt ) |
100 | { | 100 | { |
101 | slotDateChanged( dt.year(), dt.month(), dt.day() ); | 101 | slotDateChanged( dt.year(), dt.month(), dt.day() ); |
102 | } | 102 | } |
103 | 103 | ||
104 | void FindWidget::slotNotFound() | 104 | void FindWidget::slotNotFound() |
105 | { | 105 | { |
106 | lblStatus->setText( tr("String Not Found.") ); | 106 | lblStatus->setText( tr("String Not Found.") ); |
107 | } | 107 | } |
108 | 108 | ||
109 | void FindWidget::slotWrapAround() | 109 | void FindWidget::slotWrapAround() |
110 | { | 110 | { |
111 | lblStatus->setText( tr("End reached, starting at beginning") ); | 111 | lblStatus->setText( tr("End reached, starting at %1", "Date using TimeString::shortDate") |
112 | .arg(TimeString::shortDate( mDate ) ) ); | ||
112 | } | 113 | } |
113 | 114 | ||
114 | void FindWidget::slotDateChanged( int year, int month, int day ) | 115 | void FindWidget::slotDateChanged( int year, int month, int day ) |
115 | { | 116 | { |
116 | mDate.setYMD( year, month, day ); | 117 | mDate.setYMD( year, month, day ); |
117 | cmdStartDate->setText( TimeString::shortDate( mDate ) ); | 118 | cmdStartDate->setText( TimeString::shortDate( mDate ) ); |
118 | dtPicker->setDate( year, month, day ); | 119 | dtPicker->setDate( year, month, day ); |
119 | } | 120 | } |