Ignore:
Timestamp:
09/21/11 22:30:03 (11 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
1825f82
Parents:
66ec7cb
Message:

The dateChanged signal is transmitted to the tabcontainers now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.cpp

    r66ec7cb rbf6be88  
    9292    connect(searchTabContainer, SIGNAL(eventHasChanged(int,bool)), SLOT(eventHasChanged(int,bool)));
    9393
     94    // date has changed
     95    connect(dayNavigator, SIGNAL(dateChanged(QDate)), dayTabContainer, SLOT(setCurDate(QDate)));
     96    connect(dayNavigator, SIGNAL(dateChanged(QDate)), favsTabContainer, SLOT(setCurDate(QDate)));
     97    connect(dayNavigator, SIGNAL(dateChanged(QDate)), tracksTabContainer, SLOT(setCurDate(QDate)));
     98    connect(dayNavigator, SIGNAL(dateChanged(QDate)), roomsTabContainer, SLOT(setCurDate(QDate)));
     99    connect(dayNavigator, SIGNAL(dateChanged(QDate)), nowTabContainer, SLOT(setCurDate(QDate)));
     100    connect(dayNavigator, SIGNAL(dateChanged(QDate)), searchTabContainer, SLOT(setCurDate(QDate)));
     101
    94102    connect(aboutAction, SIGNAL(triggered()), SLOT(aboutApp()));
    95103    connect(settingsAction, SIGNAL(triggered()), SLOT(setup()));
Note: See TracChangeset for help on using the changeset viewer.