X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=lunarcalendar.h;fp=lunarcalendar.h;h=0000000000000000000000000000000000000000;hb=274c1daf9c51c4127195b5e8370722887dace99e;hp=72867c53e4a3b28674be6581be1f471fa840a54a;hpb=0527c61e3bdd3540dbe553e87e24081fe54f6b15;p=lichviet diff --git a/lunarcalendar.h b/lunarcalendar.h deleted file mode 100644 index 72867c5..0000000 --- a/lunarcalendar.h +++ /dev/null @@ -1,58 +0,0 @@ -/* -Copyright (C) 2011 by Cuong Le - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see -*/ - - -#ifndef LUNARCALENDAR_H -#define LUNARCALENDAR_H - -#include - -class LunarCalendar : public QObject -{ - Q_OBJECT - - int curDayA; - int curMonthA; - int curYearA; - - int jdn(); - -public: - explicit LunarCalendar(QObject *parent = 0); - - Q_INVOKABLE QString nextDay(); - Q_INVOKABLE QString prevDay(); - - Q_INVOKABLE int curDay(); - Q_INVOKABLE int curMonth(); - Q_INVOKABLE int curYear(); - - Q_INVOKABLE int curHour(); - Q_INVOKABLE int curMinute(); - - Q_INVOKABLE void reset(int,int,int); - - Q_INVOKABLE int calDays(int, int); - - -signals: - -public slots: - -}; - -#endif // LUNARCALENDAR_H