summaryrefslogtreecommitdiff
authorzecke <zecke>2002-12-13 21:57:31 (UTC)
committer zecke <zecke>2002-12-13 21:57:31 (UTC)
commitde449c83cf37a64a9d2df586f6d1acecf3bc0c6e (patch) (side-by-side diff)
treeec75354c1d0c3731b675df639e29e173a2967f7e
parentd00761e2b3b69e1edddcb2115c4c0ae6b5aa4265 (diff)
downloadopie-de449c83cf37a64a9d2df586f6d1acecf3bc0c6e.zip
opie-de449c83cf37a64a9d2df586f6d1acecf3bc0c6e.tar.gz
opie-de449c83cf37a64a9d2df586f6d1acecf3bc0c6e.tar.bz2
No default arguments in implementation please
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abview.cpp46
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 ):
vb->addWidget( m_viewStack );
-
+
// Creat TableView
@@ -75,4 +75,4 @@ AbView::AbView ( QWidget* parent, const QValueList<int>& ordered ):
// Connect views to me
- connect ( m_abTable, SIGNAL( signalSwitch( void ) ),
- this, SLOT( slotSwitch( void ) ) );
+ connect ( m_abTable, SIGNAL( signalSwitch( void ) ),
+ this, SLOT( slotSwitch( void ) ) );
connect ( m_ablabel, SIGNAL( signalOkPressed( void ) ),
@@ -107,3 +107,3 @@ void AbView::addEntry( const OContact &newContact )
load();
-
+
}
@@ -153,3 +153,3 @@ void AbView::load()
emit signalClearLetterPicker();
-
+
if ( m_inPersonal )
@@ -163,4 +163,4 @@ void AbView::load()
- updateView( true );
-
+ updateView( true );
+
}
@@ -198,3 +198,3 @@ void AbView::setShowByCategory( const QString& cat )
emit signalClearLetterPicker();
-
+
load();
@@ -242,3 +242,3 @@ void AbView::setListOrder( const QValueList<int>& ordered )
-QString AbView::showCategory() const
+QString AbView::showCategory() const
{
@@ -261,3 +261,3 @@ void AbView::showPersonal( bool personal )
- OContactAccessBackend* vcard_backend = new OContactAccessBackend_VCard( QString::null,
+ OContactAccessBackend* vcard_backend = new OContactAccessBackend_VCard( QString::null,
addressbookPersonalVCardName() );
@@ -267,3 +267,3 @@ void AbView::showPersonal( bool personal )
m_curr_View = CardView;
-
+
}else{
@@ -282,3 +282,3 @@ void AbView::showPersonal( bool personal )
m_inPersonal = false;
-
+
}
@@ -287,3 +287,3 @@ void AbView::showPersonal( bool personal )
-QStringList AbView::categories()
+QStringList AbView::categories()
{
@@ -293,6 +293,6 @@ QStringList AbView::categories()
}
-
-// BEGIN: Slots
-void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp,
- bool , QString cat = QString::null )
+
+// BEGIN: Slots
+void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp,
+ bool , QString cat )
{
@@ -317,3 +317,3 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp,
r.setWildcard( !useRegExp );
-
+
// Get all matching entries out of the database
@@ -331,3 +331,3 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp,
clearForCategory();
-
+
// Now show all found entries
@@ -358,3 +358,3 @@ void AbView::slotSwitch(){
updateView();
-
+
}
@@ -371,3 +371,3 @@ void AbView::clearForCategory()
for ( it = allList.begin(); it != allList.end(); ++it ){
- if ( !contactCompare( *it, m_curr_category ) ){
+ if ( !contactCompare( *it, m_curr_category ) ){
qWarning("Removing %d", (*it).uid());
@@ -437,3 +437,3 @@ void AbView::updateView( bool newdata )
}
-
+
// Feed all views with new lists
@@ -462,3 +462,3 @@ void AbView::updateView( bool newdata )
}
-
+
// Raise the current View