This function sets up the user's synchronized notebook tree
| 1041 | //* This function sets up the user's synchronized notebook tree |
| 1042 | //***************************************************************************** |
| 1043 | void NixNote::setupSynchronizedNotebookTree() { |
| 1044 | QLOG_TRACE() << "Starting NixNote.setupSynchronizedNotebookTree()"; |
| 1045 | notebookTreeView = new NNotebookView(leftPanel); |
| 1046 | leftPanel->addNotebookView(notebookTreeView); |
| 1047 | connect(&syncRunner, SIGNAL(notebookUpdated(qint32, QString,QString, bool, bool)),notebookTreeView, SLOT(notebookUpdated(qint32, QString, QString, bool, bool))); |
| 1048 | connect(&syncRunner, SIGNAL(syncComplete()),notebookTreeView, SLOT(rebuildTree())); |
| 1049 | connect(&syncRunner, SIGNAL(notebookExpunged(qint32)), notebookTreeView, SLOT(notebookExpunged(qint32))); |
| 1050 | connect(&counterRunner, SIGNAL(notebookTotals(qint32,qint32, qint32)), notebookTreeView, SLOT(updateTotals(qint32,qint32, qint32))); |
| 1051 | connect(notebookTreeView, SIGNAL(updateNoteList(qint32,int,QVariant)), noteTableView, SLOT(refreshCell(qint32,int,QVariant))); |
| 1052 | connect(notebookTreeView, SIGNAL(updateCounts()), &counterRunner, SLOT(countAll())); |
| 1053 | QLOG_TRACE() << "Exiting NixNote.setupSynchronizedNotebookTree()"; |
| 1054 | } |
| 1055 | |
| 1056 | |
| 1057 |
no test coverage detected