Changeset 3f3e22d in confclerk_git for src/gui/mainwindow.cpp
- Timestamp:
- 01/21/10 16:39:43 (13 years ago)
- Branches:
- master, qt5
- Children:
- 76cde75
- Parents:
- a957cfa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
ra957cfa r3f3e22d 13 13 14 14 #include <QDialog> 15 #include <QMessageBox> 15 16 #include "ui_about.h" 16 17 #include "eventdialog.h" … … 18 19 #include "importscheduledialog.h" 19 20 #include "mapwindow.h" 21 20 22 21 23 const int confId = 1; … … 86 88 connect(trackTreeView, SIGNAL(requestForMap(const QModelIndex &)), SLOT(displayMap(const QModelIndex &))); 87 89 connect(searchTreeView, SIGNAL(requestForMap(const QModelIndex &)), SLOT(displayMap(const QModelIndex &))); 90 // request for warning to be displayed 91 connect(dayTreeView, SIGNAL(requestForWarning(const QModelIndex &)), SLOT(displayWarning(const QModelIndex &))); 92 connect(favTreeView, SIGNAL(requestForWarning(const QModelIndex &)), SLOT(displayWarning(const QModelIndex &))); 93 connect(trackTreeView, SIGNAL(requestForWarning(const QModelIndex &)), SLOT(displayWarning(const QModelIndex &))); 94 connect(searchTreeView, SIGNAL(requestForWarning(const QModelIndex &)), SLOT(displayWarning(const QModelIndex &))); 88 95 // event search button clicked 89 96 connect(searchButton, SIGNAL(clicked()), SLOT(searchClicked())); … … 274 281 } 275 282 283 void MainWindow::displayWarning(const QModelIndex &aIndex) 284 { 285 QMessageBox::warning( 286 this, 287 tr("Time Conflict Warning"), 288 tr("This event happens at the same time than another one of your favourites.") ); 289 }
Note: See TracChangeset
for help on using the changeset viewer.