summaryrefslogtreecommitdiff
path: root/core/pim
authorzecke <zecke>2003-02-22 19:02:06 (UTC)
committer zecke <zecke>2003-02-22 19:02:06 (UTC)
commit00c146960fa7fd05dc56fac2a24b3d7968a4a772 (patch) (unidiff)
tree11d7fd4630cce7422448c31bd26034718d90656e /core/pim
parent7b04887e382227c80c8985495f01dad2b1890719 (diff)
downloadopie-00c146960fa7fd05dc56fac2a24b3d7968a4a772.zip
opie-00c146960fa7fd05dc56fac2a24b3d7968a4a772.tar.gz
opie-00c146960fa7fd05dc56fac2a24b3d7968a4a772.tar.bz2
shutup todolist while running
remove the transport thingie..
Diffstat (limited to 'core/pim') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/main.cpp2
-rw-r--r--core/pim/todo/mainwindow.cpp2
-rw-r--r--core/pim/todo/mainwindow.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/todo/main.cpp b/core/pim/todo/main.cpp
index aeae794..58ed45c 100644
--- a/core/pim/todo/main.cpp
+++ b/core/pim/todo/main.cpp
@@ -28,13 +28,13 @@
28void myMessages( QtMsgType, const char* ) { 28void myMessages( QtMsgType, const char* ) {
29 29
30} 30}
31 31
32int main( int argc, char **argv ) 32int main( int argc, char **argv )
33{ 33{
34// qInstallMsgHandler( myMessages ); 34 qInstallMsgHandler( myMessages );
35 QPEApplication a( argc, argv ); 35 QPEApplication a( argc, argv );
36 36
37 QTime time; 37 QTime time;
38 time.start(); 38 time.start();
39 Todo::MainWindow mw; 39 Todo::MainWindow mw;
40 int t = time.elapsed(); 40 int t = time.elapsed();
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp
index d328558..7810285 100644
--- a/core/pim/todo/mainwindow.cpp
+++ b/core/pim/todo/mainwindow.cpp
@@ -777,13 +777,13 @@ int MainWindow::create() {
777/* delete it silently... */ 777/* delete it silently... */
778bool MainWindow::remove( int uid ) { 778bool MainWindow::remove( int uid ) {
779 if (m_syncing) return false; 779 if (m_syncing) return false;
780 780
781 return m_todoMgr.remove( uid ); 781 return m_todoMgr.remove( uid );
782} 782}
783void MainWindow::beam( int uid, int ) { 783void MainWindow::beam( int uid) {
784 ::unlink( beamfile ); 784 ::unlink( beamfile );
785 OTodo todo = event( uid ); 785 OTodo todo = event( uid );
786 OTodoAccessVCal* cal = new OTodoAccessVCal(QString::fromLatin1(beamfile) ); 786 OTodoAccessVCal* cal = new OTodoAccessVCal(QString::fromLatin1(beamfile) );
787 OTodoAccess acc( cal ); 787 OTodoAccess acc( cal );
788 acc.load(); 788 acc.load();
789 acc.add( todo ); 789 acc.add( todo );
diff --git a/core/pim/todo/mainwindow.h b/core/pim/todo/mainwindow.h
index f880505..434e969 100644
--- a/core/pim/todo/mainwindow.h
+++ b/core/pim/todo/mainwindow.h
@@ -188,13 +188,13 @@ private slots:
188 /* reimplementation from opimmainwindow */ 188 /* reimplementation from opimmainwindow */
189 protected slots: 189 protected slots:
190 void flush(); 190 void flush();
191 void reload(); 191 void reload();
192 int create(); 192 int create();
193 bool remove( int uid ); 193 bool remove( int uid );
194 void beam(int uid, int transport = IrDa ); 194 void beam(int uid);
195 void show( int uid ); 195 void show( int uid );
196 void edit( int uid ); 196 void edit( int uid );
197 void add( const OPimRecord& ); 197 void add( const OPimRecord& );
198 }; 198 };
199}; 199};
200 200