summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/abview.cpp
Unidiff
Diffstat (limited to 'core/pim/addressbook/abview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abview.cpp56
1 files changed, 28 insertions, 28 deletions
diff --git a/core/pim/addressbook/abview.cpp b/core/pim/addressbook/abview.cpp
index 52e5f59..7a5b6d4 100644
--- a/core/pim/addressbook/abview.cpp
+++ b/core/pim/addressbook/abview.cpp
@@ -54,3 +54,3 @@ AbView::AbView ( QWidget* parent, const QValueList<int>& ordered ):
54{ 54{
55 Opie::Core::owarn << "AbView::c'tor" << oendl; 55 owarn << "AbView::c'tor" << oendl;
56 // Load default database and handle syncing myself.. ! 56 // Load default database and handle syncing myself.. !
@@ -102,3 +102,3 @@ void AbView::setView( Views view )
102{ 102{
103 Opie::Core::owarn << "AbView::setView( Views view )" << oendl; 103 owarn << "AbView::setView( Views view )" << oendl;
104 m_curr_View = view; 104 m_curr_View = view;
@@ -109,3 +109,3 @@ void AbView::addEntry( const Opie::OPimContact &newContact )
109{ 109{
110 Opie::Core::owarn << "AbView::AddContact" << oendl; 110 owarn << "AbView::AddContact" << oendl;
111 m_contactdb->add ( newContact ); 111 m_contactdb->add ( newContact );
@@ -116,3 +116,3 @@ void AbView::removeEntry( const int UID )
116{ 116{
117 Opie::Core::owarn << "AbView;:RemoveContact" << oendl; 117 owarn << "AbView;:RemoveContact" << oendl;
118 m_contactdb->remove( UID ); 118 m_contactdb->remove( UID );
@@ -123,3 +123,3 @@ void AbView::replaceEntry( const Opie::OPimContact &contact )
123{ 123{
124 Opie::Core::owarn << "AbView::ReplaceContact" << oendl; 124 owarn << "AbView::ReplaceContact" << oendl;
125 m_contactdb->replace( contact ); 125 m_contactdb->replace( contact );
@@ -147,3 +147,3 @@ bool AbView::save()
147{ 147{
148 //Opie::Core::owarn << "AbView::Save data" << oendl; 148 //owarn << "AbView::Save data" << oendl;
149 149
@@ -154,3 +154,3 @@ void AbView::load()
154{ 154{
155 Opie::Core::owarn << "AbView::Load data" << oendl; 155 owarn << "AbView::Load data" << oendl;
156 156
@@ -168,3 +168,3 @@ void AbView::load()
168 168
169 Opie::Core::owarn << "Number of contacts: " << m_list.count() << oendl; 169 owarn << "Number of contacts: " << m_list.count() << oendl;
170 170
@@ -176,3 +176,3 @@ void AbView::reload()
176{ 176{
177 Opie::Core::owarn << "AbView::::reload()" << oendl; 177 owarn << "AbView::::reload()" << oendl;
178 178
@@ -189,3 +189,3 @@ void AbView::setShowByCategory( const QString& cat )
189{ 189{
190 Opie::Core::owarn << "AbView::setShowCategory( const QString& cat )" << oendl; 190 owarn << "AbView::setShowCategory( const QString& cat )" << oendl;
191 191
@@ -201,3 +201,3 @@ void AbView::setShowByCategory( const QString& cat )
201 if ( intCat != m_curr_category ){ 201 if ( intCat != m_curr_category ){
202 // Opie::Core::owarn << "Categories: Selected " << cat << ".. Number: " 202 // owarn << "Categories: Selected " << cat << ".. Number: "
203 // << m_curr_category << oendl; 203 // << m_curr_category << oendl;
@@ -214,6 +214,6 @@ void AbView::setShowToView( Views view )
214{ 214{
215 Opie::Core::owarn << "void AbView::setShowToView( View " << view << " )" << oendl; 215 owarn << "void AbView::setShowToView( View " << view << " )" << oendl;
216 216
217 if ( m_curr_View != view ){ 217 if ( m_curr_View != view ){
218 Opie::Core::owarn << "Change the View (Category is: " << m_curr_category << ")" << oendl; 218 owarn << "Change the View (Category is: " << m_curr_category << ")" << oendl;
219 m_prev_View = m_curr_View; 219 m_prev_View = m_curr_View;
@@ -228,3 +228,3 @@ void AbView::setShowByLetter( char c, AbConfig::LPSearchMode mode )
228{ 228{
229 Opie::Core::owarn << "void AbView::setShowByLetter( " << c << ", " << mode << " )" << oendl; 229 owarn << "void AbView::setShowByLetter( " << c << ", " << mode << " )" << oendl;
230 230
@@ -251,3 +251,3 @@ void AbView::setShowByLetter( char c, AbConfig::LPSearchMode mode )
251 default: 251 default:
252 Opie::Core::owarn << "Unknown Searchmode for AbView::setShowByLetter ! -> " << mode << oendl 252 owarn << "Unknown Searchmode for AbView::setShowByLetter ! -> " << mode << oendl
253 << "I will ignore it.." << oendl; 253 << "I will ignore it.." << oendl;
@@ -281,3 +281,3 @@ void AbView::showPersonal( bool personal )
281{ 281{
282 Opie::Core::owarn << "void AbView::showPersonal( " << personal << " )" << oendl; 282 owarn << "void AbView::showPersonal( " << personal << " )" << oendl;
283 283
@@ -337,3 +337,3 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp,
337{ 337{
338 //Opie::Core::owarn << "void AbView::slotDoFind" << oendl; 338 //owarn << "void AbView::slotDoFind" << oendl;
339 339
@@ -351,3 +351,3 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp,
351 351
352 //Opie::Core::owarn << "Find in Category " << category << oendl; 352 //owarn << "Find in Category " << category << oendl;
353 353
@@ -360,3 +360,3 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp,
360 360
361 //Opie::Core::owarn << "Found: " << m_list.count() << oendl; 361 //owarn << "Found: " << m_list.count() << oendl;
362 if ( m_list.count() == 0 ){ 362 if ( m_list.count() == 0 ){
@@ -384,3 +384,3 @@ void AbView::offSearch()
384void AbView::slotSwitch(){ 384void AbView::slotSwitch(){
385 //Opie::Core::owarn << "AbView::slotSwitch()" << oendl; 385 //owarn << "AbView::slotSwitch()" << oendl;
386 386
@@ -389,3 +389,3 @@ void AbView::slotSwitch(){
389 case TableView: 389 case TableView:
390 Opie::Core::owarn << "Switching to CardView" << oendl; 390 owarn << "Switching to CardView" << oendl;
391 m_curr_View = CardView; 391 m_curr_View = CardView;
@@ -393,3 +393,3 @@ void AbView::slotSwitch(){
393 case CardView: 393 case CardView:
394 Opie::Core::owarn << "Switching to TableView" << oendl; 394 owarn << "Switching to TableView" << oendl;
395 m_curr_View = TableView; 395 m_curr_View = TableView;
@@ -412,3 +412,3 @@ void AbView::clearForCategory()
412 if ( !contactCompare( *it, m_curr_category ) ){ 412 if ( !contactCompare( *it, m_curr_category ) ){
413 //Opie::Core::owarn << "Removing " << (*it).uid() << oendl; 413 //owarn << "Removing " << (*it).uid() << oendl;
414 m_list.remove( (*it).uid() ); 414 m_list.remove( (*it).uid() );
@@ -422,3 +422,3 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category )
422{ 422{
423 //Opie::Core::owarn << "bool AbView::contactCompare( const Opie::OPimContact &cnt, " 423 //owarn << "bool AbView::contactCompare( const Opie::OPimContact &cnt, "
424 // << category << " )" << oendl; 424 // << category << " )" << oendl;
@@ -429,3 +429,3 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category )
429 429
430 //Opie::Core::owarn << "Number of categories: " << cats.count() << oendl; 430 //owarn << "Number of categories: " << cats.count() << oendl;
431 431
@@ -438,3 +438,3 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category )
438 for ( i = 0; i < int(cats.count()); i++ ) { 438 for ( i = 0; i < int(cats.count()); i++ ) {
439 //Opie::Core::owarn << "Comparing " << cats[i] << " with " << category << oendl; 439 //owarn << "Comparing " << cats[i] << " with " << category << oendl;
440 if ( cats[i] == category ) { 440 if ( cats[i] == category ) {
@@ -445,3 +445,3 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category )
445 } 445 }
446 //Opie::Core::owarn << "Return: " << returnMe << oendl; 446 //owarn << "Return: " << returnMe << oendl;
447 return returnMe; 447 return returnMe;
@@ -458,3 +458,3 @@ void AbView::updateView( bool newdata )
458{ 458{
459 //Opie::Core::owarn << "AbView::updateView()" << oendl; 459 //owarn << "AbView::updateView()" << oendl;
460 460