Skip to content

Commit

Permalink
Add license and copyright header
Browse files Browse the repository at this point in the history
  • Loading branch information
simgunz committed Feb 24, 2012
1 parent 4b6d737 commit 4990840
Show file tree
Hide file tree
Showing 14 changed files with 861 additions and 110 deletions.
621 changes: 621 additions & 0 deletions COPYING

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions README
@@ -0,0 +1,18 @@
This plasmoid provides a configuration interface and a switch to start/stop Redshift daemon.
See Redshift website for more detailed info <http://jonls.dk/redshift/>.

Developed by:
Simone Gaiarin <simgunz AT gmail DOT com>

Code under GPLv3 license (see COPYING)

Requires:
KDE SC 4.x
Redshift

How to install:
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
sudo make install
36 changes: 18 additions & 18 deletions applet/redshiftapplet.cpp
@@ -1,21 +1,21 @@
/*************************************************************************** /**************************************************************************
* Copyright (C) 2010 by Simone Gaiarin <simgunz@gmail.com> * * Copyright (C) 2012 by Simone Gaiarin <simgunz@gmail.com> *
* * * *
* This program is free software; you can redistribute it and/or modify * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or * * the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. * * (at your option) any later version. *
* * * *
* This program is distributed in the hope that it will be useful, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * * GNU General Public License for more details. *
* * * *
* 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, write to the * * along with this program; if not, write to the *
* Free Software Foundation, Inc., * * Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
***************************************************************************/ **************************************************************************/


#include "redshiftapplet.h" #include "redshiftapplet.h"


Expand Down
36 changes: 18 additions & 18 deletions applet/redshiftapplet.h
@@ -1,21 +1,21 @@
/*************************************************************************** /**************************************************************************
* Copyright (C) 2010 by Simone Gaiarin <simgunz@gmail.com> * * Copyright (C) 2012 by Simone Gaiarin <simgunz@gmail.com> *
* * * *
* This program is free software; you can redistribute it and/or modify * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or * * the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. * * (at your option) any later version. *
* * * *
* This program is distributed in the hope that it will be useful, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * * GNU General Public License for more details. *
* * * *
* 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, write to the * * along with this program; if not, write to the *
* Free Software Foundation, Inc., * * Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
***************************************************************************/ **************************************************************************/


// Here we avoid loading the header multiple times // Here we avoid loading the header multiple times
#ifndef REDSHIFTAPPLET_H #ifndef REDSHIFTAPPLET_H
Expand Down
36 changes: 18 additions & 18 deletions dataengine/redshiftcontainer.cpp
@@ -1,21 +1,21 @@
/* /**************************************************************************
* Copyright 2008 Alex Merry <alex.merry@kdemail.net> * Copyright (C) 2012 by Simone Gaiarin <simgunz@gmail.com> *
* * *
* This library is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or modify *
* modify it under the terms of the GNU Lesser General Public * it under the terms of the GNU General Public License as published by *
* License as published by the Free Software Foundation; either * the Free Software Foundation; either version 2 of the License, or *
* version 2.1 of the License, or (at your option) any later version. * (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Lesser General Public License for more details. * GNU General Public License for more details. *
* * *
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU General Public License *
* License along with this library; if not, write to the Free Software * along with this program; if not, write to the *
* Foundation, Inc., 51 Franklin St, Fifth Floor, * Free Software Foundation, Inc., *
* Boston, MA 02110-1301 USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
*/ **************************************************************************/


#include "redshiftcontainer.h" #include "redshiftcontainer.h"
#include "redshiftservice.h" #include "redshiftservice.h"
Expand Down
36 changes: 18 additions & 18 deletions dataengine/redshiftcontainer.h
@@ -1,21 +1,21 @@
/* /**************************************************************************
* Copyright 2008 Alex Merry <alex.merry@kdemail.net> * Copyright (C) 2012 by Simone Gaiarin <simgunz@gmail.com> *
* * *
* This library is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or modify *
* modify it under the terms of the GNU Lesser General Public * it under the terms of the GNU General Public License as published by *
* License as published by the Free Software Foundation; either * the Free Software Foundation; either version 2 of the License, or *
* version 2.1 of the License, or (at your option) any later version. * (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Lesser General Public License for more details. * GNU General Public License for more details. *
* * *
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU General Public License *
* License along with this library; if not, write to the Free Software * along with this program; if not, write to the *
* Foundation, Inc., 51 Franklin St, Fifth Floor, * Free Software Foundation, Inc., *
* Boston, MA 02110-1301 USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
*/ **************************************************************************/


#ifndef REDSHIFTCONTAINER_H #ifndef REDSHIFTCONTAINER_H
#define REDSHIFTCONTAINER_H #define REDSHIFTCONTAINER_H
Expand Down
19 changes: 19 additions & 0 deletions dataengine/redshiftcontroller.cpp
@@ -1,3 +1,22 @@
/**************************************************************************
* Copyright (C) 2012 by Simone Gaiarin <simgunz@gmail.com> *
* *
* 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) 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, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
**************************************************************************/

#include "redshiftcontroller.h" #include "redshiftcontroller.h"


RedshiftController::RedshiftController() : m_state(false) RedshiftController::RedshiftController() : m_state(false)
Expand Down
19 changes: 19 additions & 0 deletions dataengine/redshiftcontroller.h
@@ -1,3 +1,22 @@
/**************************************************************************
* Copyright (C) 2012 by Simone Gaiarin <simgunz@gmail.com> *
* *
* 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) 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, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
**************************************************************************/

#ifndef REDSHIFTCONTROLLER_H #ifndef REDSHIFTCONTROLLER_H
#define REDSHIFTCONTROLLER_H #define REDSHIFTCONTROLLER_H


Expand Down
19 changes: 19 additions & 0 deletions dataengine/redshiftengine.cpp
@@ -1,3 +1,22 @@
/**************************************************************************
* Copyright (C) 2012 by Simone Gaiarin <simgunz@gmail.com> *
* *
* 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) 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, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
**************************************************************************/

#include "redshiftengine.h" #include "redshiftengine.h"
#include "redshiftservice.h" #include "redshiftservice.h"


Expand Down
20 changes: 19 additions & 1 deletion dataengine/redshiftengine.h
@@ -1,4 +1,22 @@

/**************************************************************************
* Copyright (C) 2012 by Simone Gaiarin <simgunz@gmail.com> *
* *
* 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) 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, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
**************************************************************************/

#ifndef REDSHIFTENGINE_H #ifndef REDSHIFTENGINE_H
#define REDSHIFTENGINE_H #define REDSHIFTENGINE_H


Expand Down
19 changes: 19 additions & 0 deletions dataengine/redshiftjob.cpp
@@ -1,3 +1,22 @@
/**************************************************************************
* Copyright (C) 2012 by Simone Gaiarin <simgunz@gmail.com> *
* *
* 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) 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, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
**************************************************************************/

#include "redshiftjob.h" #include "redshiftjob.h"


RedshiftJob::RedshiftJob(RedshiftController *controller, const QString &operation, QMap<QString, QVariant> &parameters, QObject *parent) : RedshiftJob::RedshiftJob(RedshiftController *controller, const QString &operation, QMap<QString, QVariant> &parameters, QObject *parent) :
Expand Down
20 changes: 19 additions & 1 deletion dataengine/redshiftjob.h
@@ -1,4 +1,22 @@

/**************************************************************************
* Copyright (C) 2012 by Simone Gaiarin <simgunz@gmail.com> *
* *
* 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) 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, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
**************************************************************************/

#ifndef REDSHIFTJOB_H #ifndef REDSHIFTJOB_H
#define REDSHIFTJOB_H #define REDSHIFTJOB_H


Expand Down

0 comments on commit 4990840

Please sign in to comment.