summaryrefslogtreecommitdiff
Side-by-side diff
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