/* ============================================================ * * This file is a part of kipi-plugins project * http://www.kipi-plugins.org * * Date : 2006-10-12 * Description : IPTC date and time settings page. * * Copyright (C) 2006-2007 by Gilles Caulier * * 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 2, 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. * * ============================================================ */ #ifndef IPTC_DATETIME_H #define IPTC_DATETIME_H // TQt includes. #include #include namespace KIPIMetadataEditPlugin { class IPTCDateTimePriv; class IPTCDateTime : public TQWidget { Q_OBJECT public: IPTCDateTime(TQWidget* parent); ~IPTCDateTime(); void applyMetadata(TQByteArray& exifData, TQByteArray& iptcData); void readMetadata(TQByteArray& iptcData); bool syncHOSTDateIsChecked(); bool syncEXIFDateIsChecked(); void setCheckedSyncHOSTDate(bool c); void setCheckedSyncEXIFDate(bool c); TQDateTime getIPTCCreationDate(); signals: void signalModified(); private: IPTCDateTimePriv* d; }; } // namespace KIPIMetadataEditPlugin #endif // IPTC_DATETIME_H