-
- bool const sd = _cpl->has_selected ();
-
- wxButton* ok = dynamic_cast<wxButton *> (FindWindowById (wxID_OK, this));
- if (ok) {
- ok->Enable (!_screens->screens().empty() && _timing->valid() && sd);
- }
-}
-
-boost::filesystem::path
-KDMDialog::cpl () const
-{
- return _cpl->cpl ();
-}
-
-list<shared_ptr<Screen> >
-KDMDialog::screens () const
-{
- return _screens->screens ();
-}
-
-boost::posix_time::ptime
-KDMDialog::from () const
-{
- return _timing->from ();
-}
-
-boost::posix_time::ptime
-KDMDialog::until () const
-{
- return _timing->until ();
-}
-
-boost::filesystem::path
-KDMDialog::directory () const
-{
- return _output->directory ();