summaryrefslogtreecommitdiff
authorsudonix <sudonix>2004-03-19 03:38:01 (UTC)
committer sudonix <sudonix>2004-03-19 03:38:01 (UTC)
commit9449dc7fe3181a01f187dc5b361312824edd419c (patch) (unidiff)
tree5de78c6b172d650b82f25864b985d607fd68b91b
parent2c8db13612d37c941676b4033298afc8e757765d (diff)
downloadopie-9449dc7fe3181a01f187dc5b361312824edd419c.zip
opie-9449dc7fe3181a01f187dc5b361312824edd419c.tar.gz
opie-9449dc7fe3181a01f187dc5b361312824edd419c.tar.bz2
Minor typo occurence -> occurrence
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/tinykate/libkate/view/kateviewdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/tinykate/libkate/view/kateviewdialog.cpp b/noncore/apps/tinykate/libkate/view/kateviewdialog.cpp
index f82356b..b7cf9f5 100644
--- a/noncore/apps/tinykate/libkate/view/kateviewdialog.cpp
+++ b/noncore/apps/tinykate/libkate/view/kateviewdialog.cpp
@@ -175,33 +175,33 @@ void SearchDialog::setSearchText( const QString &searchstr )
175 { 175 {
176 m_search->insertItem( searchstr, 0 ); 176 m_search->insertItem( searchstr, 0 );
177 m_search->setCurrentItem( 0 ); 177 m_search->setCurrentItem( 0 );
178 m_search->lineEdit()->selectAll(); 178 m_search->lineEdit()->selectAll();
179 } 179 }
180 180
181// this dialog is not modal 181// this dialog is not modal
182ReplacePrompt::ReplacePrompt( QWidget *parent ) 182ReplacePrompt::ReplacePrompt( QWidget *parent )
183 : KDialogBase(parent, 0L, false, i18n( "Replace Text" ), 183 : KDialogBase(parent, 0L, false, i18n( "Replace Text" ),
184 User3 | User2 | User1 | Close, User3, true, 184 User3 | User2 | User1 | Close, User3, true,
185 i18n("&All"), i18n("&No"), i18n("&Yes")) { 185 i18n("&All"), i18n("&No"), i18n("&Yes")) {
186 186
187 QWidget *page = new QWidget(this); 187 QWidget *page = new QWidget(this);
188 setMainWidget(page); 188 setMainWidget(page);
189 189
190 QBoxLayout *topLayout = new QVBoxLayout( page, 0, spacingHint() ); 190 QBoxLayout *topLayout = new QVBoxLayout( page, 0, spacingHint() );
191 QLabel *label = new QLabel(i18n("Replace this occurence?"),page); 191 QLabel *label = new QLabel(i18n("Replace this occurrence?"),page);
192 topLayout->addWidget(label ); 192 topLayout->addWidget(label );
193} 193}
194 194
195void ReplacePrompt::slotUser1( void ) { // All 195void ReplacePrompt::slotUser1( void ) { // All
196 done(KateView::srAll); 196 done(KateView::srAll);
197} 197}
198 198
199void ReplacePrompt::slotUser2( void ) { // No 199void ReplacePrompt::slotUser2( void ) { // No
200 done(KateView::srNo); 200 done(KateView::srNo);
201} 201}
202 202
203void ReplacePrompt::slotUser3( void ) { // Yes 203void ReplacePrompt::slotUser3( void ) { // Yes
204 accept(); 204 accept();
205} 205}
206 206
207void ReplacePrompt::done(int r) { 207void ReplacePrompt::done(int r) {