-rw-r--r-- | core/obex/receiver.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/obex/receiver.h b/core/obex/receiver.h index 5b20146..e1d54df 100644 --- a/core/obex/receiver.h +++ b/core/obex/receiver.h | |||
@@ -12,27 +12,30 @@ namespace OpieObex { | |||
12 | class OtherHandler; | 12 | class OtherHandler; |
13 | class Receiver : public QObject { | 13 | class Receiver : public QObject { |
14 | Q_OBJECT | 14 | Q_OBJECT |
15 | public: | 15 | public: |
16 | enum { Datebook , AddressBook, Other }; | 16 | enum { Datebook , AddressBook, Other }; |
17 | Receiver(); | 17 | Receiver(); |
18 | ~Receiver(); | 18 | ~Receiver(); |
19 | 19 | ||
20 | private: | 20 | private: |
21 | void handleAddr(const QString& ); | 21 | void handleAddr(const QString& ); |
22 | void handleDateTodo(const QString& ); | 22 | void handleDateTodo(const QString& ); |
23 | void handleOther(const QString& ); | 23 | void handleOther(const QString& ); |
24 | int checkFile( const QString& file ); | 24 | /* will alter the file name */ |
25 | int checkFile( QString& file ); | ||
25 | bool testDateTodo(const QString& file); | 26 | bool testDateTodo(const QString& file); |
26 | bool testAddressbook(const QString& file); | 27 | bool testAddressbook(const QString& file); |
28 | /* called by checkFile */ | ||
29 | void tidyUp( QString& file, const QString& ending ); | ||
27 | 30 | ||
28 | private slots: | 31 | private slots: |
29 | void slotReceived( const QString& ); | 32 | void slotReceived( const QString& ); |
30 | 33 | ||
31 | private: | 34 | private: |
32 | Obex* m_obex; | 35 | Obex* m_obex; |
33 | }; | 36 | }; |
34 | 37 | ||
35 | class OtherHandler : public QVBox { | 38 | class OtherHandler : public QVBox { |
36 | Q_OBJECT | 39 | Q_OBJECT |
37 | public: | 40 | public: |
38 | OtherHandler(); | 41 | OtherHandler(); |