summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/ui/opimmainwindow.h
Unidiff
Diffstat (limited to 'libopie2/opiepim/ui/opimmainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/ui/opimmainwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiepim/ui/opimmainwindow.h b/libopie2/opiepim/ui/opimmainwindow.h
index 34b8a71..dca3c82 100644
--- a/libopie2/opiepim/ui/opimmainwindow.h
+++ b/libopie2/opiepim/ui/opimmainwindow.h
@@ -25,49 +25,49 @@ class OPimMainWindow : public QMainWindow {
25public: 25public:
26 enum TransPort { BlueTooth=0, 26 enum TransPort { BlueTooth=0,
27 IrDa }; 27 IrDa };
28 28
29 OPimMainWindow( const QString& service, QWidget *parent = 0, const char* name = 0, 29 OPimMainWindow( const QString& service, QWidget *parent = 0, const char* name = 0,
30 WFlags f = WType_TopLevel); 30 WFlags f = WType_TopLevel);
31 virtual ~OPimMainWindow(); 31 virtual ~OPimMainWindow();
32 32
33 33
34protected slots: 34protected slots:
35 /* 35 /*
36 * called when a setDocument 36 * called when a setDocument
37 * couldn't be handled by this window 37 * couldn't be handled by this window
38 */ 38 */
39 virtual void doSetDocument( const QString& ); 39 virtual void doSetDocument( const QString& );
40 /* for syncing */ 40 /* for syncing */
41 virtual void flush() = 0; 41 virtual void flush() = 0;
42 virtual void reload() = 0; 42 virtual void reload() = 0;
43 43
44 /** create a new Records and return the uid */ 44 /** create a new Records and return the uid */
45 virtual int create() = 0; 45 virtual int create() = 0;
46 /** remove a record with UID == uid */ 46 /** remove a record with UID == uid */
47 virtual bool remove( int uid ) = 0; 47 virtual bool remove( int uid ) = 0;
48 /** beam the record with UID = uid */ 48 /** beam the record with UID = uid */
49 virtual void beam( int uid , int transport = IrDa) = 0; 49 virtual void beam( int uid ) = 0;
50 50
51 /** show the record with UID == uid */ 51 /** show the record with UID == uid */
52 virtual void show( int uid ) = 0; 52 virtual void show( int uid ) = 0;
53 /** edit the record */ 53 /** edit the record */
54 virtual void edit( int uid ) = 0; 54 virtual void edit( int uid ) = 0;
55 55
56 /** make a copy of it! */ 56 /** make a copy of it! */
57 virtual void add( const OPimRecord& ) = 0; 57 virtual void add( const OPimRecord& ) = 0;
58 58
59 59
60 QCopChannel* channel(); 60 QCopChannel* channel();
61 61
62private slots: 62private slots:
63 void appMessage( const QCString&, const QByteArray& ); 63 void appMessage( const QCString&, const QByteArray& );
64 void setDocument( const QString& ); 64 void setDocument( const QString& );
65 65
66 66
67private: 67private:
68 class Private; 68 class Private;
69 Private* d; 69 Private* d;
70 70
71 int m_rtti; 71 int m_rtti;
72 QCopChannel* m_channel; 72 QCopChannel* m_channel;
73 QString m_service; 73 QString m_service;