Commit fb5ab431 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use qCDebug

parent 8d4859d2
......@@ -4,6 +4,7 @@ add_definitions( -DQT_NO_CAST_TO_ASCII )
########### next target ###############
set(kalarmcal_LIB_SRCS
kalarmcal_debug.cpp
kacalendar.cpp
karecurrence.cpp
alarmtext.cpp
......
......@@ -22,7 +22,7 @@
#include "collectionattribute.h"
#include <qdebug.h>
#include "kalarmcal_debug.h"
namespace KAlarmCal
{
......@@ -186,13 +186,13 @@ QByteArray CollectionAttribute::serialized() const
+ QByteArray::number(d->mBackgroundColour.green()) + ' '
+ QByteArray::number(d->mBackgroundColour.blue()) + ' '
+ QByteArray::number(d->mBackgroundColour.alpha());
qDebug() << v;
qCDebug(KALARMCAL_LOG) << v;
return v;
}
void CollectionAttribute::deserialize(const QByteArray &data)
{
qDebug() << data;
qCDebug(KALARMCAL_LOG) << data;
// Set default values
d->mEnabled = CalEvent::EMPTY;
......
......@@ -22,7 +22,7 @@
#include "compatibilityattribute.h"
#include <qdebug.h>
#include "kalarmcal_debug.h"
namespace KAlarmCal
{
......@@ -104,13 +104,13 @@ QByteArray CompatibilityAttribute::serialized() const
{
const QByteArray v = QByteArray::number(d->mCompatibility) + ' '
+ QByteArray::number(d->mVersion);
qDebug() << v;
qCDebug(KALARMCAL_LOG) << v;
return v;
}
void CompatibilityAttribute::deserialize(const QByteArray &data)
{
qDebug() << data;
qCDebug(KALARMCAL_LOG) << data;
// Set default values
d->mCompatibility = KACalendar::Incompatible;
......
......@@ -21,7 +21,7 @@
*/
#include "eventattribute.h"
#include "kalarmcal_debug.h"
#include <QList>
#include <QByteArray>
......@@ -85,13 +85,13 @@ EventAttribute *EventAttribute::clone() const
QByteArray EventAttribute::serialized() const
{
const QByteArray v = QByteArray::number(d->mCommandError);
qDebug() << v;
qCDebug(KALARMCAL_LOG) << v;
return v;
}
void EventAttribute::deserialize(const QByteArray &data)
{
qDebug() << data;
qCDebug(KALARMCAL_LOG) << data;
// Set default values
d->mCommandError = KAEvent::CMD_NO_ERROR;
......
......@@ -34,7 +34,7 @@
#include <kmessagebox.h>
#include <klocalizedstring.h>
#include <qdebug.h>
#include "kalarmcal_debug.h"
#include <QMap>
#include <QFile>
......@@ -118,9 +118,9 @@ int updateVersion(const FileStorage::Ptr &fileStorage, QString &versionString)
if (isUTC(localFile)) {
ver = -version;
}
qDebug() << "KAlarm version 0.5.7 (" << (ver < 0 ? "" : "non-") << "UTC)";
qCDebug(KALARMCAL_LOG) << "KAlarm version 0.5.7 (" << (ver < 0 ? "" : "non-") << "UTC)";
} else {
qDebug() << "KAlarm version" << version;
qCDebug(KALARMCAL_LOG) << "KAlarm version" << version;
}
// Convert events to current KAlarm format for when/if the calendar is saved
......@@ -142,7 +142,7 @@ int Private::readKAlarmVersion(const FileStorage::Ptr &fileStorage, QString &sub
subVersion.clear();
Calendar::Ptr calendar = fileStorage->calendar();
versionString = calendar->customProperty(KACalendar::APPNAME, VERSION_PROPERTY);
qDebug() << "File=" << fileStorage->fileName() << ", version=" << versionString;
qCDebug(KALARMCAL_LOG) << "File=" << fileStorage->fileName() << ", version=" << versionString;
if (versionString.isEmpty()) {
// Pre-KAlarm 1.4 defined the KAlarm version number in the PRODID field.
......
......@@ -33,7 +33,7 @@ using namespace KHolidays;
#include <ksystemtimezone.h>
#include <klocalizedstring.h>
#include <kglobal.h>
#include <qdebug.h>
#include "kalarmcal_debug.h"
using namespace KCalCore;
using namespace KHolidays;
......@@ -2223,7 +2223,7 @@ void KAEventPrivate::activateReminderAfter(const DateTime &mainAlarmTime)
return; // the reminder time is after the next occurrence of the main alarm
}
qDebug() << "Setting reminder at" << reminderTime.effectiveKDateTime().dateTime();
qCDebug(KALARMCAL_LOG) << "Setting reminder at" << reminderTime.effectiveKDateTime().dateTime();
activate_reminder(true);
mReminderAfterTime = reminderTime;
}
......@@ -3370,7 +3370,7 @@ bool KAEventPrivate::setDisplaying(const KAEventPrivate &event, KAAlarm::Type al
|| alarmType == KAAlarm::DEFERRED_REMINDER_ALARM
|| alarmType == KAAlarm::DEFERRED_ALARM
|| alarmType == KAAlarm::AT_LOGIN_ALARM)) {
//qDebug()<<event.id()<<","<<(alarmType==KAAlarm::MAIN_ALARM?"MAIN":alarmType==KAAlarm::REMINDER_ALARM?"REMINDER":alarmType==KAAlarm::DEFERRED_REMINDER_ALARM?"REMINDER_DEFERRAL":alarmType==KAAlarm::DEFERRED_ALARM?"DEFERRAL":"LOGIN")<<"): time="<<repeatAtLoginTime.toString();
//qCDebug(KALARMCAL_LOG)<<event.id()<<","<<(alarmType==KAAlarm::MAIN_ALARM?"MAIN":alarmType==KAAlarm::REMINDER_ALARM?"REMINDER":alarmType==KAAlarm::DEFERRED_REMINDER_ALARM?"REMINDER_DEFERRAL":alarmType==KAAlarm::DEFERRED_ALARM?"DEFERRAL":"LOGIN")<<"): time="<<repeatAtLoginTime.toString();
KAAlarm al = event.alarm(alarmType);
if (al.isValid()) {
*this = event;
......@@ -3706,114 +3706,114 @@ void KAEvent::dumpDebug() const
#ifndef KDE_NO_DEBUG_OUTPUT
void KAEventPrivate::dumpDebug() const
{
qDebug() << "KAEvent dump:";
qDebug() << "-- mEventID:" << mEventID;
qDebug() << "-- mActionSubType:" << (mActionSubType == KAEvent::MESSAGE ? "MESSAGE" : mActionSubType == KAEvent::FILE ? "FILE" : mActionSubType == KAEvent::COMMAND ? "COMMAND" : mActionSubType == KAEvent::EMAIL ? "EMAIL" : mActionSubType == KAEvent::AUDIO ? "AUDIO" : "??");
qDebug() << "-- mNextMainDateTime:" << mNextMainDateTime.toString();
qDebug() << "-- mCommandError:" << mCommandError;
qDebug() << "-- mAllTrigger:" << mAllTrigger.toString();
qDebug() << "-- mMainTrigger:" << mMainTrigger.toString();
qDebug() << "-- mAllWorkTrigger:" << mAllWorkTrigger.toString();
qDebug() << "-- mMainWorkTrigger:" << mMainWorkTrigger.toString();
qDebug() << "-- mCategory:" << mCategory;
qCDebug(KALARMCAL_LOG) << "KAEvent dump:";
qCDebug(KALARMCAL_LOG) << "-- mEventID:" << mEventID;
qCDebug(KALARMCAL_LOG) << "-- mActionSubType:" << (mActionSubType == KAEvent::MESSAGE ? "MESSAGE" : mActionSubType == KAEvent::FILE ? "FILE" : mActionSubType == KAEvent::COMMAND ? "COMMAND" : mActionSubType == KAEvent::EMAIL ? "EMAIL" : mActionSubType == KAEvent::AUDIO ? "AUDIO" : "??");
qCDebug(KALARMCAL_LOG) << "-- mNextMainDateTime:" << mNextMainDateTime.toString();
qCDebug(KALARMCAL_LOG) << "-- mCommandError:" << mCommandError;
qCDebug(KALARMCAL_LOG) << "-- mAllTrigger:" << mAllTrigger.toString();
qCDebug(KALARMCAL_LOG) << "-- mMainTrigger:" << mMainTrigger.toString();
qCDebug(KALARMCAL_LOG) << "-- mAllWorkTrigger:" << mAllWorkTrigger.toString();
qCDebug(KALARMCAL_LOG) << "-- mMainWorkTrigger:" << mMainWorkTrigger.toString();
qCDebug(KALARMCAL_LOG) << "-- mCategory:" << mCategory;
if (!mTemplateName.isEmpty()) {
qDebug() << "-- mTemplateName:" << mTemplateName;
qDebug() << "-- mTemplateAfterTime:" << mTemplateAfterTime;
qCDebug(KALARMCAL_LOG) << "-- mTemplateName:" << mTemplateName;
qCDebug(KALARMCAL_LOG) << "-- mTemplateAfterTime:" << mTemplateAfterTime;
}
qDebug() << "-- mText:" << mText;
qCDebug(KALARMCAL_LOG) << "-- mText:" << mText;
if (mActionSubType == KAEvent::MESSAGE || mActionSubType == KAEvent::FILE) {
qDebug() << "-- mBgColour:" << mBgColour.name();
qDebug() << "-- mFgColour:" << mFgColour.name();
qDebug() << "-- mUseDefaultFont:" << mUseDefaultFont;
qCDebug(KALARMCAL_LOG) << "-- mBgColour:" << mBgColour.name();
qCDebug(KALARMCAL_LOG) << "-- mFgColour:" << mFgColour.name();
qCDebug(KALARMCAL_LOG) << "-- mUseDefaultFont:" << mUseDefaultFont;
if (!mUseDefaultFont) {
qDebug() << "-- mFont:" << mFont.toString();
}
qDebug() << "-- mSpeak:" << mSpeak;
qDebug() << "-- mAudioFile:" << mAudioFile;
qDebug() << "-- mPreAction:" << mPreAction;
qDebug() << "-- mExecPreActOnDeferral:" << (mExtraActionOptions & KAEvent::ExecPreActOnDeferral);
qDebug() << "-- mCancelOnPreActErr:" << (mExtraActionOptions & KAEvent::CancelOnPreActError);
qDebug() << "-- mDontShowPreActErr:" << (mExtraActionOptions & KAEvent::DontShowPreActError);
qDebug() << "-- mPostAction:" << mPostAction;
qDebug() << "-- mLateCancel:" << mLateCancel;
qDebug() << "-- mAutoClose:" << mAutoClose;
qCDebug(KALARMCAL_LOG) << "-- mFont:" << mFont.toString();
}
qCDebug(KALARMCAL_LOG) << "-- mSpeak:" << mSpeak;
qCDebug(KALARMCAL_LOG) << "-- mAudioFile:" << mAudioFile;
qCDebug(KALARMCAL_LOG) << "-- mPreAction:" << mPreAction;
qCDebug(KALARMCAL_LOG) << "-- mExecPreActOnDeferral:" << (mExtraActionOptions & KAEvent::ExecPreActOnDeferral);
qCDebug(KALARMCAL_LOG) << "-- mCancelOnPreActErr:" << (mExtraActionOptions & KAEvent::CancelOnPreActError);
qCDebug(KALARMCAL_LOG) << "-- mDontShowPreActErr:" << (mExtraActionOptions & KAEvent::DontShowPreActError);
qCDebug(KALARMCAL_LOG) << "-- mPostAction:" << mPostAction;
qCDebug(KALARMCAL_LOG) << "-- mLateCancel:" << mLateCancel;
qCDebug(KALARMCAL_LOG) << "-- mAutoClose:" << mAutoClose;
} else if (mActionSubType == KAEvent::COMMAND) {
qDebug() << "-- mCommandScript:" << mCommandScript;
qDebug() << "-- mCommandXterm:" << mCommandXterm;
qDebug() << "-- mCommandDisplay:" << mCommandDisplay;
qDebug() << "-- mLogFile:" << mLogFile;
qCDebug(KALARMCAL_LOG) << "-- mCommandScript:" << mCommandScript;
qCDebug(KALARMCAL_LOG) << "-- mCommandXterm:" << mCommandXterm;
qCDebug(KALARMCAL_LOG) << "-- mCommandDisplay:" << mCommandDisplay;
qCDebug(KALARMCAL_LOG) << "-- mLogFile:" << mLogFile;
} else if (mActionSubType == KAEvent::EMAIL) {
qDebug() << "-- mEmail: FromKMail:" << mEmailFromIdentity;
qDebug() << "-- Addresses:" << mEmailAddresses.join(QLatin1String(","));
qDebug() << "-- Subject:" << mEmailSubject;
qDebug() << "-- Attachments:" << mEmailAttachments.join(QLatin1String(","));
qDebug() << "-- Bcc:" << mEmailBcc;
qCDebug(KALARMCAL_LOG) << "-- mEmail: FromKMail:" << mEmailFromIdentity;
qCDebug(KALARMCAL_LOG) << "-- Addresses:" << mEmailAddresses.join(QLatin1String(","));
qCDebug(KALARMCAL_LOG) << "-- Subject:" << mEmailSubject;
qCDebug(KALARMCAL_LOG) << "-- Attachments:" << mEmailAttachments.join(QLatin1String(","));
qCDebug(KALARMCAL_LOG) << "-- Bcc:" << mEmailBcc;
} else if (mActionSubType == KAEvent::AUDIO) {
qDebug() << "-- mAudioFile:" << mAudioFile;
qCDebug(KALARMCAL_LOG) << "-- mAudioFile:" << mAudioFile;
}
qDebug() << "-- mBeep:" << mBeep;
qCDebug(KALARMCAL_LOG) << "-- mBeep:" << mBeep;
if (mActionSubType == KAEvent::AUDIO || !mAudioFile.isEmpty()) {
if (mSoundVolume >= 0) {
qDebug() << "-- mSoundVolume:" << mSoundVolume;
qCDebug(KALARMCAL_LOG) << "-- mSoundVolume:" << mSoundVolume;
if (mFadeVolume >= 0) {
qDebug() << "-- mFadeVolume:" << mFadeVolume;
qDebug() << "-- mFadeSeconds:" << mFadeSeconds;
qCDebug(KALARMCAL_LOG) << "-- mFadeVolume:" << mFadeVolume;
qCDebug(KALARMCAL_LOG) << "-- mFadeSeconds:" << mFadeSeconds;
} else {
qDebug() << "-- mFadeVolume:-:";
qCDebug(KALARMCAL_LOG) << "-- mFadeVolume:-:";
}
} else {
qDebug() << "-- mSoundVolume:-:";
qCDebug(KALARMCAL_LOG) << "-- mSoundVolume:-:";
}
qDebug() << "-- mRepeatSoundPause:" << mRepeatSoundPause;
qCDebug(KALARMCAL_LOG) << "-- mRepeatSoundPause:" << mRepeatSoundPause;
}
qDebug() << "-- mKMailSerialNumber:" << mKMailSerialNumber;
qDebug() << "-- mCopyToKOrganizer:" << mCopyToKOrganizer;
qDebug() << "-- mExcludeHolidays:" << (bool)mExcludeHolidays;
qDebug() << "-- mWorkTimeOnly:" << mWorkTimeOnly;
qDebug() << "-- mStartDateTime:" << mStartDateTime.toString();
// qDebug() << "-- mCreatedDateTime:" << mCreatedDateTime;
qDebug() << "-- mRepeatAtLogin:" << mRepeatAtLogin;
qCDebug(KALARMCAL_LOG) << "-- mKMailSerialNumber:" << mKMailSerialNumber;
qCDebug(KALARMCAL_LOG) << "-- mCopyToKOrganizer:" << mCopyToKOrganizer;
qCDebug(KALARMCAL_LOG) << "-- mExcludeHolidays:" << (bool)mExcludeHolidays;
qCDebug(KALARMCAL_LOG) << "-- mWorkTimeOnly:" << mWorkTimeOnly;
qCDebug(KALARMCAL_LOG) << "-- mStartDateTime:" << mStartDateTime.toString();
// qCDebug(KALARMCAL_LOG) << "-- mCreatedDateTime:" << mCreatedDateTime;
qCDebug(KALARMCAL_LOG) << "-- mRepeatAtLogin:" << mRepeatAtLogin;
// if (mRepeatAtLogin)
// qDebug() << "-- mAtLoginDateTime:" << mAtLoginDateTime;
qDebug() << "-- mArchiveRepeatAtLogin:" << mArchiveRepeatAtLogin;
qDebug() << "-- mConfirmAck:" << mConfirmAck;
qDebug() << "-- mEnabled:" << mEnabled;
qDebug() << "-- mItemId:" << mItemId;
qDebug() << "-- mCollectionId:" << mCollectionId;
qDebug() << "-- mCompatibility:" << mCompatibility;
qDebug() << "-- mReadOnly:" << mReadOnly;
// qCDebug(KALARMCAL_LOG) << "-- mAtLoginDateTime:" << mAtLoginDateTime;
qCDebug(KALARMCAL_LOG) << "-- mArchiveRepeatAtLogin:" << mArchiveRepeatAtLogin;
qCDebug(KALARMCAL_LOG) << "-- mConfirmAck:" << mConfirmAck;
qCDebug(KALARMCAL_LOG) << "-- mEnabled:" << mEnabled;
qCDebug(KALARMCAL_LOG) << "-- mItemId:" << mItemId;
qCDebug(KALARMCAL_LOG) << "-- mCollectionId:" << mCollectionId;
qCDebug(KALARMCAL_LOG) << "-- mCompatibility:" << mCompatibility;
qCDebug(KALARMCAL_LOG) << "-- mReadOnly:" << mReadOnly;
if (mReminderMinutes) {
qDebug() << "-- mReminderMinutes:" << mReminderMinutes;
qDebug() << "-- mReminderActive:" << (mReminderActive == ACTIVE_REMINDER ? "active" : mReminderActive == HIDDEN_REMINDER ? "hidden" : "no");
qDebug() << "-- mReminderOnceOnly:" << mReminderOnceOnly;
qCDebug(KALARMCAL_LOG) << "-- mReminderMinutes:" << mReminderMinutes;
qCDebug(KALARMCAL_LOG) << "-- mReminderActive:" << (mReminderActive == ACTIVE_REMINDER ? "active" : mReminderActive == HIDDEN_REMINDER ? "hidden" : "no");
qCDebug(KALARMCAL_LOG) << "-- mReminderOnceOnly:" << mReminderOnceOnly;
} else if (mDeferral > 0) {
qDebug() << "-- mDeferral:" << (mDeferral == NORMAL_DEFERRAL ? "normal" : "reminder");
qDebug() << "-- mDeferralTime:" << mDeferralTime.toString();
qCDebug(KALARMCAL_LOG) << "-- mDeferral:" << (mDeferral == NORMAL_DEFERRAL ? "normal" : "reminder");
qCDebug(KALARMCAL_LOG) << "-- mDeferralTime:" << mDeferralTime.toString();
}
qDebug() << "-- mDeferDefaultMinutes:" << mDeferDefaultMinutes;
qCDebug(KALARMCAL_LOG) << "-- mDeferDefaultMinutes:" << mDeferDefaultMinutes;
if (mDeferDefaultMinutes) {
qDebug() << "-- mDeferDefaultDateOnly:" << mDeferDefaultDateOnly;
qCDebug(KALARMCAL_LOG) << "-- mDeferDefaultDateOnly:" << mDeferDefaultDateOnly;
}
if (mDisplaying) {
qDebug() << "-- mDisplayingTime:" << mDisplayingTime.toString();
qDebug() << "-- mDisplayingFlags:" << mDisplayingFlags;
qDebug() << "-- mDisplayingDefer:" << mDisplayingDefer;
qDebug() << "-- mDisplayingEdit:" << mDisplayingEdit;
qCDebug(KALARMCAL_LOG) << "-- mDisplayingTime:" << mDisplayingTime.toString();
qCDebug(KALARMCAL_LOG) << "-- mDisplayingFlags:" << mDisplayingFlags;
qCDebug(KALARMCAL_LOG) << "-- mDisplayingDefer:" << mDisplayingDefer;
qCDebug(KALARMCAL_LOG) << "-- mDisplayingEdit:" << mDisplayingEdit;
}
qDebug() << "-- mRevision:" << mRevision;
qDebug() << "-- mRecurrence:" << mRecurrence;
qCDebug(KALARMCAL_LOG) << "-- mRevision:" << mRevision;
qCDebug(KALARMCAL_LOG) << "-- mRecurrence:" << mRecurrence;
if (!mRepetition) {
qDebug() << "-- mRepetition: 0";
qCDebug(KALARMCAL_LOG) << "-- mRepetition: 0";
} else if (mRepetition.isDaily()) {
qDebug() << "-- mRepetition: count:" << mRepetition.count() << ", interval:" << mRepetition.intervalDays() << "days";
qCDebug(KALARMCAL_LOG) << "-- mRepetition: count:" << mRepetition.count() << ", interval:" << mRepetition.intervalDays() << "days";
} else {
qDebug() << "-- mRepetition: count:" << mRepetition.count() << ", interval:" << mRepetition.intervalMinutes() << "minutes";
qCDebug(KALARMCAL_LOG) << "-- mRepetition: count:" << mRepetition.count() << ", interval:" << mRepetition.intervalMinutes() << "minutes";
}
qDebug() << "-- mNextRepeat:" << mNextRepeat;
qDebug() << "-- mAlarmCount:" << mAlarmCount;
qDebug() << "-- mMainExpired:" << mMainExpired;
qDebug() << "-- mDisplaying:" << mDisplaying;
qDebug() << "KAEvent dump end";
qCDebug(KALARMCAL_LOG) << "-- mNextRepeat:" << mNextRepeat;
qCDebug(KALARMCAL_LOG) << "-- mAlarmCount:" << mAlarmCount;
qCDebug(KALARMCAL_LOG) << "-- mMainExpired:" << mMainExpired;
qCDebug(KALARMCAL_LOG) << "-- mDisplaying:" << mDisplaying;
qCDebug(KALARMCAL_LOG) << "KAEvent dump end";
}
#endif
......@@ -4099,7 +4099,7 @@ void KAEventPrivate::readAlarm(const Alarm::Ptr &alarm, AlarmData &data, bool au
data.displayingFlags = KAEvent::REPEAT_AT_LOGIN;
}
}
//qDebug()<<"text="<<alarm->text()<<", time="<<alarm->time().toString()<<", valid time="<<alarm->time().isValid();
//qCDebug(KALARMCAL_LOG)<<"text="<<alarm->text()<<", time="<<alarm->time().toString()<<", valid time="<<alarm->time().isValid();
}
/******************************************************************************
......@@ -4223,7 +4223,7 @@ void KAEventPrivate::calcTriggerTimes() const
*/
void KAEventPrivate::calcNextWorkingTime(const DateTime &nextTrigger) const
{
qDebug() << "next=" << nextTrigger.kDateTime().dateTime();
qCDebug(KALARMCAL_LOG) << "next=" << nextTrigger.kDateTime().dateTime();
mMainWorkTrigger = mAllWorkTrigger = DateTime();
for (int i = 0; ; ++i) {
......@@ -4562,7 +4562,7 @@ void KAEventPrivate::calcNextWorkingTime(const DateTime &nextTrigger) const
}
kdt = kdtRecur;
}
//qDebug()<<"-----exit loop: count="<<limit<<endl;
//qCDebug(KALARMCAL_LOG)<<"-----exit loop: count="<<limit<<endl;
return; // too many iterations
}
......@@ -4888,7 +4888,7 @@ bool KAEvent::convertKCalEvents(const Calendar::Ptr &calendar, int calendarVersi
return false;
}
qDebug() << "Adjusting version" << calendarVersion;
qCDebug(KALARMCAL_LOG) << "Adjusting version" << calendarVersion;
const bool pre_0_7 = (calendarVersion < Version(0, 7, 0));
const bool pre_0_9 = (calendarVersion < Version(0, 9, 0));
const bool pre_0_9_2 = (calendarVersion < Version(0, 9, 2));
......
/* This file is part of the KDE project
Copyright (C) 2014 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "kalarmcal_debug.h"
Q_LOGGING_CATEGORY(KALARMCAL_LOG, "log_kalarmcal")
/* This file is part of the KDE project
Copyright (C) 2014 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef KALARMCAL_DEBUG_H
#define KALARMCAL_DEBUG_H
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(KALARMCAL_LOG)
#endif
......@@ -26,7 +26,7 @@
#include <kcalcore/icalformat.h>
#include <klocalizedstring.h>
#include <qdebug.h>
#include "kalarmcal_debug.h"
#include <QBitArray>
#include <QDate>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment