Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Discover
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
Discover
Commits
252558c1
Commit
252558c1
authored
Oct 16, 2018
by
Aleix Pol Gonzalez
🐧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
snap: no need to have a notifier
Nothing to notify, snap is always up to date
parent
d2f98e98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
93 deletions
+0
-93
libdiscover/backends/SnapBackend/SnapNotifier.cpp
libdiscover/backends/SnapBackend/SnapNotifier.cpp
+0
-53
libdiscover/backends/SnapBackend/SnapNotifier.h
libdiscover/backends/SnapBackend/SnapNotifier.h
+0
-40
No files found.
libdiscover/backends/SnapBackend/SnapNotifier.cpp
deleted
100644 → 0
View file @
d2f98e98
/***************************************************************************
* Copyright © 2013 Lukas Appelhans <l.appelhans@gmx.de> *
* *
* 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 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. *
* *
* 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 <http://www.gnu.org/licenses/>. *
***************************************************************************/
#include "SnapNotifier.h"
#include <QDebug>
SnapNotifier
::
SnapNotifier
(
QObject
*
parent
)
:
BackendNotifierModule
(
parent
)
{
}
SnapNotifier
::~
SnapNotifier
()
{
}
void
SnapNotifier
::
recheckSystemUpdateNeeded
()
{
emit
foundUpdates
();
}
bool
SnapNotifier
::
isSystemUpToDate
()
const
{
return
true
;
}
uint
SnapNotifier
::
securityUpdatesCount
()
{
return
0
;
}
uint
SnapNotifier
::
updatesCount
()
{
return
0
;
}
#include "SnapNotifier.moc"
libdiscover/backends/SnapBackend/SnapNotifier.h
deleted
100644 → 0
View file @
d2f98e98
/***************************************************************************
* Copyright © 2013 Lukas Appelhans <l.appelhans@gmx.de> *
* *
* 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 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. *
* *
* 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 <http://www.gnu.org/licenses/>. *
***************************************************************************/
#ifndef SNAPNOTIFIER_H
#define SNAPNOTIFIER_H
#include <BackendNotifierModule.h>
class
SnapNotifier
:
public
BackendNotifierModule
{
Q_OBJECT
Q_PLUGIN_METADATA
(
IID
"org.kde.discover.BackendNotifierModule"
)
Q_INTERFACES
(
BackendNotifierModule
)
public:
explicit
SnapNotifier
(
QObject
*
parent
=
nullptr
);
~
SnapNotifier
()
override
;
bool
isSystemUpToDate
()
const
override
;
void
recheckSystemUpdateNeeded
()
override
;
uint
securityUpdatesCount
()
override
;
uint
updatesCount
()
override
;
};
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment