X-Git-Url: http://Server1/repobrowser/?p=xestiacalendar%2F.git;a=blobdiff_plain;f=source%2Fwidgets%2FXCCalendarListAccountCtrl.cpp;h=46d0e363ff0d58986db03d0f727bfd3c4fad9a2a;hp=5674da72d5626b44c306f5c1cb937b70ec65e29f;hb=c5716d0f27f0f917282df9121aa97eab7a1bf6b8;hpb=4d0316bf5312ee073aef9f2199f43b70aa147e7a diff --git a/source/widgets/XCCalendarListAccountCtrl.cpp b/source/widgets/XCCalendarListAccountCtrl.cpp index 5674da7..46d0e36 100644 --- a/source/widgets/XCCalendarListAccountCtrl.cpp +++ b/source/widgets/XCCalendarListAccountCtrl.cpp @@ -126,6 +126,12 @@ void XCCalendarListAccountCtrl::SetAccountID(int accountID){ } +void XCCalendarListAccountCtrl::SetAccountPreferencesID(int accountID){ + + this->accountPreferencesID = accountPreferencesID; + +} + vector XCCalendarListAccountCtrl::GetHiddenCalendarList(){ vector calendarList; @@ -143,4 +149,16 @@ vector XCCalendarListAccountCtrl::GetHiddenCalendarList(){ return calendarList; +} + +void XCCalendarListAccountCtrl::SetCheckBoxValue(wxCheckBoxState newValue){ + + if (newValue == wxCHK_CHECKED){ + showAccounts = true; + } else { + showAccounts = false; + } + + chkShowAll->SetValue(newValue); + } \ No newline at end of file