author | zecke <zecke> | 2002-12-13 21:57:31 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-12-13 21:57:31 (UTC) |
commit | de449c83cf37a64a9d2df586f6d1acecf3bc0c6e (patch) (unidiff) | |
tree | ec75354c1d0c3731b675df639e29e173a2967f7e | |
parent | d00761e2b3b69e1edddcb2115c4c0ae6b5aa4265 (diff) | |
download | opie-de449c83cf37a64a9d2df586f6d1acecf3bc0c6e.zip opie-de449c83cf37a64a9d2df586f6d1acecf3bc0c6e.tar.gz opie-de449c83cf37a64a9d2df586f6d1acecf3bc0c6e.tar.bz2 |
No default arguments in implementation please
-rw-r--r-- | core/pim/addressbook/abview.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/core/pim/addressbook/abview.cpp b/core/pim/addressbook/abview.cpp index 7226e82..161b163 100644 --- a/core/pim/addressbook/abview.cpp +++ b/core/pim/addressbook/abview.cpp | |||
@@ -59,3 +59,3 @@ AbView::AbView ( QWidget* parent, const QValueList<int>& ordered ): | |||
59 | vb->addWidget( m_viewStack ); | 59 | vb->addWidget( m_viewStack ); |
60 | 60 | ||
61 | // Creat TableView | 61 | // Creat TableView |
@@ -75,4 +75,4 @@ AbView::AbView ( QWidget* parent, const QValueList<int>& ordered ): | |||
75 | // Connect views to me | 75 | // Connect views to me |
76 | connect ( m_abTable, SIGNAL( signalSwitch( void ) ), | 76 | connect ( m_abTable, SIGNAL( signalSwitch( void ) ), |
77 | this, SLOT( slotSwitch( void ) ) ); | 77 | this, SLOT( slotSwitch( void ) ) ); |
78 | connect ( m_ablabel, SIGNAL( signalOkPressed( void ) ), | 78 | connect ( m_ablabel, SIGNAL( signalOkPressed( void ) ), |
@@ -107,3 +107,3 @@ void AbView::addEntry( const OContact &newContact ) | |||
107 | load(); | 107 | load(); |
108 | 108 | ||
109 | } | 109 | } |
@@ -153,3 +153,3 @@ void AbView::load() | |||
153 | emit signalClearLetterPicker(); | 153 | emit signalClearLetterPicker(); |
154 | 154 | ||
155 | if ( m_inPersonal ) | 155 | if ( m_inPersonal ) |
@@ -163,4 +163,4 @@ void AbView::load() | |||
163 | 163 | ||
164 | updateView( true ); | 164 | updateView( true ); |
165 | 165 | ||
166 | } | 166 | } |
@@ -198,3 +198,3 @@ void AbView::setShowByCategory( const QString& cat ) | |||
198 | emit signalClearLetterPicker(); | 198 | emit signalClearLetterPicker(); |
199 | 199 | ||
200 | load(); | 200 | load(); |
@@ -242,3 +242,3 @@ void AbView::setListOrder( const QValueList<int>& ordered ) | |||
242 | 242 | ||
243 | QString AbView::showCategory() const | 243 | QString AbView::showCategory() const |
244 | { | 244 | { |
@@ -261,3 +261,3 @@ void AbView::showPersonal( bool personal ) | |||
261 | 261 | ||
262 | OContactAccessBackend* vcard_backend = new OContactAccessBackend_VCard( QString::null, | 262 | OContactAccessBackend* vcard_backend = new OContactAccessBackend_VCard( QString::null, |
263 | addressbookPersonalVCardName() ); | 263 | addressbookPersonalVCardName() ); |
@@ -267,3 +267,3 @@ void AbView::showPersonal( bool personal ) | |||
267 | m_curr_View = CardView; | 267 | m_curr_View = CardView; |
268 | 268 | ||
269 | }else{ | 269 | }else{ |
@@ -282,3 +282,3 @@ void AbView::showPersonal( bool personal ) | |||
282 | m_inPersonal = false; | 282 | m_inPersonal = false; |
283 | 283 | ||
284 | } | 284 | } |
@@ -287,3 +287,3 @@ void AbView::showPersonal( bool personal ) | |||
287 | 287 | ||
288 | QStringList AbView::categories() | 288 | QStringList AbView::categories() |
289 | { | 289 | { |
@@ -293,6 +293,6 @@ QStringList AbView::categories() | |||
293 | } | 293 | } |
294 | 294 | ||
295 | // BEGIN: Slots | 295 | // BEGIN: Slots |
296 | void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp, | 296 | void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp, |
297 | bool , QString cat = QString::null ) | 297 | bool , QString cat ) |
298 | { | 298 | { |
@@ -317,3 +317,3 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp, | |||
317 | r.setWildcard( !useRegExp ); | 317 | r.setWildcard( !useRegExp ); |
318 | 318 | ||
319 | // Get all matching entries out of the database | 319 | // Get all matching entries out of the database |
@@ -331,3 +331,3 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp, | |||
331 | clearForCategory(); | 331 | clearForCategory(); |
332 | 332 | ||
333 | // Now show all found entries | 333 | // Now show all found entries |
@@ -358,3 +358,3 @@ void AbView::slotSwitch(){ | |||
358 | updateView(); | 358 | updateView(); |
359 | 359 | ||
360 | } | 360 | } |
@@ -371,3 +371,3 @@ void AbView::clearForCategory() | |||
371 | for ( it = allList.begin(); it != allList.end(); ++it ){ | 371 | for ( it = allList.begin(); it != allList.end(); ++it ){ |
372 | if ( !contactCompare( *it, m_curr_category ) ){ | 372 | if ( !contactCompare( *it, m_curr_category ) ){ |
373 | qWarning("Removing %d", (*it).uid()); | 373 | qWarning("Removing %d", (*it).uid()); |
@@ -437,3 +437,3 @@ void AbView::updateView( bool newdata ) | |||
437 | } | 437 | } |
438 | 438 | ||
439 | // Feed all views with new lists | 439 | // Feed all views with new lists |
@@ -462,3 +462,3 @@ void AbView::updateView( bool newdata ) | |||
462 | } | 462 | } |
463 | 463 | ||
464 | // Raise the current View | 464 | // Raise the current View |