summaryrefslogtreecommitdiff
authortux_mike <tux_mike>2002-03-26 17:39:54 (UTC)
committer tux_mike <tux_mike>2002-03-26 17:39:54 (UTC)
commite91f77a9ebf359c0fbf4f8d1a0de50bf0dcf81d8 (patch) (side-by-side diff)
treef3214c3c9dac147f43e127371e3f547f30c97dbf
parent7c55845eb070ce39eb0673be191130be64e96cfb (diff)
downloadopie-e91f77a9ebf359c0fbf4f8d1a0de50bf0dcf81d8.zip
opie-e91f77a9ebf359c0fbf4f8d1a0de50bf0dcf81d8.tar.gz
opie-e91f77a9ebf359c0fbf4f8d1a0de50bf0dcf81d8.tar.bz2
Mike Crawford <mike@tuxnami.org>
Changed addressbook input screen to be a little more user friendly, divided all the options into 3 tabs.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abeditor.cpp2
-rw-r--r--core/pim/addressbook/addressbook.cpp8
-rw-r--r--core/pim/addressbook/addressbook.h4
-rw-r--r--core/pim/addressbook/addressbook.pro4
4 files changed, 9 insertions, 9 deletions
diff --git a/core/pim/addressbook/abeditor.cpp b/core/pim/addressbook/abeditor.cpp
index 94baa71..6354db9 100644
--- a/core/pim/addressbook/abeditor.cpp
+++ b/core/pim/addressbook/abeditor.cpp
@@ -54,5 +54,5 @@ void parseEmailTo( const QString &strDefaultEmail,
AbEditor::AbEditor( const Contact &entry, const QValueList<int> *newOrdered,
QStringList *slNewOrdered,
- QWidget *parent, const char *name, WFlags fl )
+ QWidget *parent = 0, const char *name = 0, WFlags fl = 0 )
: QDialog( parent, name, TRUE, fl ),
orderedValues( newOrdered ),
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp
index a2b8276..e8fa37c 100644
--- a/core/pim/addressbook/addressbook.cpp
+++ b/core/pim/addressbook/addressbook.cpp
@@ -21,5 +21,5 @@
#define QTOPIA_INTERNAL_FD
-#include "abeditor.h"
+#include "contacteditor.h"
#include "ablabel.h"
#include "abtable.h"
@@ -430,5 +430,5 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data)
if ( bAbEditFirstTime ) {
- abEditor = new AbEditor( cnt, &orderedFields, &slOrderedFields,
+ abEditor = new ContactEditor( cnt, &orderedFields, &slOrderedFields,
this, "editor" );
bAbEditFirstTime = FALSE;
@@ -481,5 +481,5 @@ void AddressbookWindow::editPersonal()
me = Contact::readVCard( filename )[0];
if (bAbEditFirstTime) {
- abEditor = new AbEditor( me, &orderedFields, &slOrderedFields,
+ abEditor = new ContactEditor( me, &orderedFields, &slOrderedFields,
this, "editor" );
// don't create a new editor every time
@@ -541,5 +541,5 @@ void AddressbookWindow::editEntry( EntryMode entryMode )
Contact entry;
if ( bAbEditFirstTime ) {
- abEditor = new AbEditor( entry, &orderedFields, &slOrderedFields,
+ abEditor = new ContactEditor( entry, &orderedFields, &slOrderedFields,
this, "editor" );
bAbEditFirstTime = FALSE;
diff --git a/core/pim/addressbook/addressbook.h b/core/pim/addressbook/addressbook.h
index 9694465..342077f 100644
--- a/core/pim/addressbook/addressbook.h
+++ b/core/pim/addressbook/addressbook.h
@@ -23,5 +23,5 @@
#include <qmainwindow.h>
-class AbEditor;
+class ContactEditor;
class AbLabel;
class AbTable;
@@ -84,5 +84,5 @@ private:
QStringList slOrderedFields;
enum Panes { paneList=0, paneView, paneEdit };
- AbEditor *abEditor;
+ ContactEditor *abEditor;
AbLabel *mView;
AbTable *abList;
diff --git a/core/pim/addressbook/addressbook.pro b/core/pim/addressbook/addressbook.pro
index 31de2a3..180b401 100644
--- a/core/pim/addressbook/addressbook.pro
+++ b/core/pim/addressbook/addressbook.pro
@@ -3,5 +3,5 @@ CONFIG = qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = addressbook.h \
- abeditor.h \
+ contacteditor.h \
ablabel.h \
abtable.h \
@@ -9,5 +9,5 @@ HEADERS = addressbook.h \
SOURCES = main.cpp \
addressbook.cpp \
- abeditor.cpp \
+ contacteditor.cpp \
ablabel.cpp \
abtable.cpp \