summaryrefslogtreecommitdiff
authoreilers <eilers>2003-09-29 07:48:56 (UTC)
committer eilers <eilers>2003-09-29 07:48:56 (UTC)
commit9883c4ba419d93e101991a3337ba1ac5de3273c8 (patch) (side-by-side diff)
treeecb5d96884914a8578f040d4b558f8697b3d60f5
parent93b76e67cf954eab09091996a790301369d77a88 (diff)
downloadopie-9883c4ba419d93e101991a3337ba1ac5de3273c8.zip
opie-9883c4ba419d93e101991a3337ba1ac5de3273c8.tar.gz
opie-9883c4ba419d93e101991a3337ba1ac5de3273c8.tar.bz2
ocontactfields is now moved to libopie/pim
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abtable.cpp4
-rw-r--r--core/pim/addressbook/abview.cpp3
-rw-r--r--core/pim/addressbook/addressbook.pro2
-rw-r--r--core/pim/addressbook/configdlg.cpp2
-rw-r--r--core/pim/addressbook/contacteditor.cpp1
-rw-r--r--core/pim/addressbook/contacteditor.h3
6 files changed, 6 insertions, 9 deletions
diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp
index 4705c78..70330c7 100644
--- a/core/pim/addressbook/abtable.cpp
+++ b/core/pim/addressbook/abtable.cpp
@@ -484,6 +484,6 @@ void QTable::paintEmptyArea( QPainter *p, int cx, int cy, int cw, int ch )
void AbTable::fitColumns()
{
- // qWarning( "void AbTable::fitColumns()" );
- int contentsWidth = visibleWidth() / 2; // :SX Why too low
+ qWarning( "void AbTable::fitColumns()" );
+ int contentsWidth = visibleWidth() / 2;
// Fix to better value
// contentsWidth = 130;
diff --git a/core/pim/addressbook/abview.cpp b/core/pim/addressbook/abview.cpp
index 6cbd556..670cdb0 100644
--- a/core/pim/addressbook/abview.cpp
+++ b/core/pim/addressbook/abview.cpp
@@ -54,5 +54,6 @@ AbView::AbView ( QWidget* parent, const QValueList<int>& ordered ):
qWarning("AbView::c'tor");
// Load default database and handle syncing myself.. !
- m_contactdb = new OContactAccess ( "addressbook", 0l, 0l, false ),
+ m_contactdb = new OContactAccess ( "addressbook", 0l, 0l, false );
+ m_contactdb -> setReadAhead( 16 ); // Use ReadAhead-Cache if available
mCat.load( categoryFileName() );
diff --git a/core/pim/addressbook/addressbook.pro b/core/pim/addressbook/addressbook.pro
index 1637cac..c90568a 100644
--- a/core/pim/addressbook/addressbook.pro
+++ b/core/pim/addressbook/addressbook.pro
@@ -5,5 +5,4 @@ DESTDIR = $(OPIEDIR)/bin
HEADERS = addressbook.h \
contacteditor.h \
- ocontactfields.h \
ablabel.h \
abtable.h \
@@ -16,5 +15,4 @@ SOURCES = main.cpp \
addressbook.cpp \
contacteditor.cpp \
- ocontactfields.cpp \
ablabel.cpp \
abtable.cpp \
diff --git a/core/pim/addressbook/configdlg.cpp b/core/pim/addressbook/configdlg.cpp
index 629feef..981f5e0 100644
--- a/core/pim/addressbook/configdlg.cpp
+++ b/core/pim/addressbook/configdlg.cpp
@@ -1,4 +1,3 @@
#include "configdlg.h"
-#include "ocontactfields.h"
#include <qcheckbox.h>
@@ -11,4 +10,5 @@
#include <opie/ocontact.h>
+#include "opie/ocontactfields.h"
ConfigDlg::ConfigDlg( QWidget *parent, const char *name):
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp
index 9d1a1c7..8fbd065 100644
--- a/core/pim/addressbook/contacteditor.cpp
+++ b/core/pim/addressbook/contacteditor.cpp
@@ -22,5 +22,4 @@
#include "contacteditor.h"
#include "addresspicker.h"
-#include "ocontactfields.h"
#include <qpe/categoryselect.h>
diff --git a/core/pim/addressbook/contacteditor.h b/core/pim/addressbook/contacteditor.h
index e7432ee..72d14a9 100644
--- a/core/pim/addressbook/contacteditor.h
+++ b/core/pim/addressbook/contacteditor.h
@@ -23,4 +23,5 @@
#include <opie/ocontact.h>
+#include <opie/ocontactfields.h>
#include <qpe/datebookmonth.h>
@@ -32,6 +33,4 @@
#include <qwidgetstack.h>
-#include "ocontactfields.h"
-
const int NAME_LF = 0;
const int NAME_LFM = 1;