author | eilers <eilers> | 2002-10-16 11:11:30 (UTC) |
---|---|---|
committer | eilers <eilers> | 2002-10-16 11:11:30 (UTC) |
commit | fdc4abb0d38e6d5dce98961e47b552ff56c89976 (patch) (unidiff) | |
tree | 19201b896894949c3ae62bace1b555dd96874241 | |
parent | 2bfae6336f88a460311abaf727256c3413b27f67 (diff) | |
download | opie-fdc4abb0d38e6d5dce98961e47b552ff56c89976.zip opie-fdc4abb0d38e6d5dce98961e47b552ff56c89976.tar.gz opie-fdc4abb0d38e6d5dce98961e47b552ff56c89976.tar.bz2 |
Temporarely added save function..
-rw-r--r-- | core/pim/addressbook/addressbook.cpp | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp index 93581e8..82a1b57 100644 --- a/core/pim/addressbook/addressbook.cpp +++ b/core/pim/addressbook/addressbook.cpp | |||
@@ -68,6 +68,10 @@ | |||
68 | 68 | ||
69 | #include "picker.h" | 69 | #include "picker.h" |
70 | 70 | ||
71 | // Remove this for OPIE releae 1.0 ! | ||
72 | #define __DEBUG_RELEASE | ||
73 | |||
74 | |||
71 | static QString addressbookPersonalVCardName() | 75 | static QString addressbookPersonalVCardName() |
72 | { | 76 | { |
73 | QString filename = Global::applicationFileName("addressbook", | 77 | QString filename = Global::applicationFileName("addressbook", |
@@ -184,10 +188,19 @@ AddressbookWindow::AddressbookWindow( QWidget *parent, const char *name, | |||
184 | connect( a, SIGNAL( activated() ), this, SLOT( slotPersonalView() ) ); | 188 | connect( a, SIGNAL( activated() ), this, SLOT( slotPersonalView() ) ); |
185 | a->addTo( edit ); | 189 | a->addTo( edit ); |
186 | 190 | ||
187 | 191 | // Do we need this function ? (se) | |
188 | a = new QAction( tr( "Arrange Edit Fields"), QString::null, 0, 0 ); | 192 | // a = new QAction( tr( "Arrange Edit Fields"), QString::null, 0, 0 ); |
189 | connect( a, SIGNAL( activated() ), this, SLOT( slotSettings() ) ); | 193 | // connect( a, SIGNAL( activated() ), this, SLOT( slotSettings() ) ); |
194 | // a->addTo( edit ); | ||
195 | |||
196 | |||
197 | #ifdef __DEBUG_RELEASE | ||
198 | // Remove this function for public Release ! This is only | ||
199 | // for debug purposes .. | ||
200 | a = new QAction( tr( "Save all Data"), QString::null, 0, 0 ); | ||
201 | connect( a, SIGNAL( activated() ), this, SLOT( save() ) ); | ||
190 | a->addTo( edit ); | 202 | a->addTo( edit ); |
203 | #endif | ||
191 | 204 | ||
192 | // Create Views | 205 | // Create Views |
193 | listContainer = new QWidget( this ); | 206 | listContainer = new QWidget( this ); |