OSDN Git Service

Cleanup compiler warning messages and alter backup & restore to handle new database...
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / signals / NoteSignal.java
1 /*\r
2  * This file is part of NeverNote \r
3  * Copyright 2009 Randy Baumgarte\r
4  * \r
5  * This file may be licensed under the terms of of the\r
6  * GNU General Public License Version 2 (the ``GPL'').\r
7  *\r
8  * Software distributed under the License is distributed\r
9  * on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either\r
10  * express or implied. See the GPL for the specific language\r
11  * governing rights and limitations.\r
12  *\r
13  * You should have received a copy of the GPL along with this\r
14  * program. If not, go to http://www.gnu.org/licenses/gpl.html\r
15  * or write to the Free Software Foundation, Inc.,\r
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\r
17  *\r
18 */\r
19 package cx.fbn.nevernote.signals;\r
20 \r
21 import java.util.List;\r
22 \r
23 import com.evernote.edam.type.Note;\r
24 import com.trolltech.qt.QSignalEmitter;\r
25 import com.trolltech.qt.core.QByteArray;\r
26 import com.trolltech.qt.core.QDateTime;\r
27 \r
28 \r
29 public class NoteSignal extends QSignalEmitter {\r
30         public Signal2<String, List<String>>            tagsChanged = new Signal2<String, List<String>>(); \r
31         public Signal2<String, String>          tagsAdded = new Signal2<String, String>();\r
32         public Signal2<String, String>          titleChanged = new Signal2<String, String>();\r
33         public Signal2<String, String>          noteChanged = new Signal2<String, String>();\r
34         public Signal2<String, String>          notebookChanged = new Signal2<String,String>();\r
35         public Signal2<String, QDateTime>       createdDateChanged = new Signal2<String, QDateTime>();\r
36         public Signal2<String, QDateTime>       alteredDateChanged = new Signal2<String, QDateTime>();\r
37         public Signal2<String, QDateTime>       subjectDateChanged = new Signal2<String, QDateTime>();\r
38         public Signal2<String, String>          authorChanged = new Signal2<String, String>();\r
39         public Signal2<String, String>          sourceUrlChanged = new Signal2<String, String>();\r
40         public Signal4<String, Double, Double,Double> geoChanged = new Signal4<String,Double,Double,Double>();\r
41         public Signal0                                          quotaChanged = new Signal0();\r
42         public Signal1<String>                          noteIndexed = new Signal1<String>();\r
43         public Signal1<Note>                            noteAdded = new Signal1<Note>();\r
44         public Signal2<String, String>          guidChanged = new Signal2<String, String>();\r
45         public Signal1<Integer>                         titleColorChanged = new Signal1<Integer>();\r
46         public Signal2<Note, Boolean>           noteDownloaded = new Signal2<Note, Boolean>();\r
47         public Signal2<String, String>          noteSaveRunnerError = new Signal2<String, String>();\r
48         public Signal3<String,QByteArray,Integer>               thumbnailPageReady = new Signal3<String,QByteArray,Integer>();\r
49 }\r
50 \r
51 \r