Wrong copyright headers and other silly stuff
This commit is contained in:
parent
e91300d8e9
commit
a58057118c
5 changed files with 36 additions and 36 deletions
|
@ -1,6 +1,5 @@
|
||||||
/*
|
/**
|
||||||
* <one line to give the library's name and an idea of what it does.>
|
* Copyright 2013 Albert Vaca <albertvaka@gmail.com>
|
||||||
* Copyright 2013 <copyright holder> <email>
|
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License as
|
* modify it under the terms of the GNU General Public License as
|
||||||
|
@ -17,7 +16,6 @@
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "notification.h"
|
#include "notification.h"
|
||||||
|
@ -36,7 +34,7 @@ Notification::Notification(const NetworkPackage& np, QObject* parent)
|
||||||
|
|
||||||
Notification::~Notification()
|
Notification::~Notification()
|
||||||
{
|
{
|
||||||
qDebug() << "Destroying notification" << mId;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Notification::dismiss()
|
void Notification::dismiss()
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
/*
|
/**
|
||||||
* <one line to give the library's name and an idea of what it does.>
|
* Copyright 2013 Albert Vaca <albertvaka@gmail.com>
|
||||||
* Copyright 2013 <copyright holder> <email>
|
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License as
|
* modify it under the terms of the GNU General Public License as
|
||||||
|
@ -17,7 +16,6 @@
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef NOTIFICATION_H
|
#ifndef NOTIFICATION_H
|
||||||
|
|
|
@ -90,12 +90,11 @@ void NotificationsDbusInterface::removeNotification(const QString& internalId)
|
||||||
Notification* noti = mNotifications[publicId];
|
Notification* noti = mNotifications[publicId];
|
||||||
mNotifications.remove(publicId);
|
mNotifications.remove(publicId);
|
||||||
|
|
||||||
//Deleting the notification will unregister it automatically?
|
//Deleting the notification will unregister it automatically
|
||||||
//QDBusConnection::sessionBus().unregisterObject(mDevice->dbusPath()+"/notifications/"+publicId);
|
//QDBusConnection::sessionBus().unregisterObject(mDevice->dbusPath()+"/notifications/"+publicId);
|
||||||
noti->deleteLater();
|
noti->deleteLater();
|
||||||
|
|
||||||
Q_EMIT notificationRemoved(publicId);
|
Q_EMIT notificationRemoved(publicId);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void NotificationsDbusInterface::dismissRequested(Notification* notification)
|
void NotificationsDbusInterface::dismissRequested(Notification* notification)
|
||||||
|
@ -115,4 +114,3 @@ QString NotificationsDbusInterface::newId()
|
||||||
return QString::number(++mLastId);
|
return QString::number(++mLastId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,21 @@
|
||||||
/*
|
/**
|
||||||
* Copyright 2013 <copyright holder> <email>
|
* Copyright 2013 Albert Vaca <albertvaka@gmail.com>
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* This program is free software; you can redistribute it and/or
|
||||||
* you may not use this file except in compliance with the License.
|
* modify it under the terms of the GNU General Public License as
|
||||||
* You may obtain a copy of the License at
|
* published by the Free Software Foundation; either version 2 of
|
||||||
|
* the License or (at your option) version 3 or any later version
|
||||||
|
* accepted by the membership of KDE e.V. (or its successor approved
|
||||||
|
* by the membership of KDE e.V.), which shall act as a proxy
|
||||||
|
* defined in Section 14 of version 3 of the license.
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* This program is distributed in the hope that it will be useful,
|
||||||
*
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* GNU General Public License for more details.
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "backendtests.h"
|
#include "backendtests.h"
|
||||||
|
|
|
@ -1,18 +1,21 @@
|
||||||
/*
|
/**
|
||||||
* Copyright 2013 <copyright holder> <email>
|
* Copyright 2013 Albert Vaca <albertvaka@gmail.com>
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* This program is free software; you can redistribute it and/or
|
||||||
* you may not use this file except in compliance with the License.
|
* modify it under the terms of the GNU General Public License as
|
||||||
* You may obtain a copy of the License at
|
* published by the Free Software Foundation; either version 2 of
|
||||||
|
* the License or (at your option) version 3 or any later version
|
||||||
|
* accepted by the membership of KDE e.V. (or its successor approved
|
||||||
|
* by the membership of KDE e.V.), which shall act as a proxy
|
||||||
|
* defined in Section 14 of version 3 of the license.
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* This program is distributed in the hope that it will be useful,
|
||||||
*
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* GNU General Public License for more details.
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BACKENDTESTS_H
|
#ifndef BACKENDTESTS_H
|
||||||
|
|
Loading…
Reference in a new issue