~ubuntu-branches/debian/jessie/stellarium/jessie

« back to all changes in this revision

Viewing changes to src/gui/DateTimeDialog.hpp

  • Committer: Package Import Robot
  • Author(s): Tomasz Buchert
  • Date: 2012-05-18 13:26:18 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20120518132618-3uso09fo68c218cx
Tags: 0.11.2-1
* Imported Upstream version 0.11.1 and then 0.11.2 (Closes: #658431)
* Change maintainer (Closes: #668916)
* Machine-readable copyright file
* Bump Standards-Version to 3.9.3
* Update debhelper compat to 9
* Fix lintian duplicate-font-file warning
* Fix copyright-refers-to-symlink-license lintian tag
* Add lintian override for embedded-library error

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * Stellarium
3
3
 * Copyright (C) 2008 Nigel Kerr
 
4
 * Copyright (C) 2012 Timothy Reaves
4
5
 *
5
6
 * This program is free software; you can redistribute it and/or
6
7
 * modify it under the terms of the GNU General Public License
14
15
 *
15
16
 * You should have received a copy of the GNU General Public License
16
17
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
18
 * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA  02110-1335, USA.
18
19
*/
19
20
 
20
21
#ifndef _DATETIMEDIALOG_HPP_
36
37
        //! Notify that the application style changed
37
38
        void styleChanged();
38
39
public slots:
39
 
        void languageChanged();
 
40
        void retranslate();
40
41
        //! update the editing display with new JD.
41
42
        void setDateTime(double newJd);
42
43
 
43
44
        void close();
44
45
 
45
 
signals:
46
 
        //! signals that a new, valid JD is available.
47
 
        void dateTimeChanged(double newJd);
48
46
 
49
47
protected:
50
48
        //! Initialize the dialog widgets and connect the signals/slots
51
49
        virtual void createDialogContent();
 
50
        void connectSpinnerEvents() const;
 
51
        void disconnectSpinnerEvents()const;
52
52
 
53
53
private slots:
54
54
        //! year slider or dial changed