aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2013-01-11 18:52:07 +0000
committerTarmac <>2013-01-11 18:52:07 +0000
commit84b4e669800748dbb1b270fbf2e73c299871ac73 (patch)
tree594632321a08671bbbabf4945a0b8384a9aa2cfa
parent70adf10ff4ab8f9590963b3deceda66e1b891c08 (diff)
parent50efc4dab6fc59df9a57aaefb193ac65101f4d0a (diff)
downloadqmenumodel-84b4e669800748dbb1b270fbf2e73c299871ac73.tar.gz
qmenumodel-84b4e669800748dbb1b270fbf2e73c299871ac73.tar.bz2
qmenumodel-84b4e669800748dbb1b270fbf2e73c299871ac73.zip
Added missing license header. Fixes: https://bugs.launchpad.net/bugs/1097080.
Approved by Gustavo Pichorim Boiko, PS Jenkins bot.
-rw-r--r--examples/info-menumodel.cpp19
-rw-r--r--examples/render-menumodel.qml19
-rw-r--r--libqmenumodel/src/converter.cpp19
-rw-r--r--tests/client/loadmodel.qml19
-rw-r--r--tests/client/loadmodel2.qml19
5 files changed, 95 insertions, 0 deletions
diff --git a/examples/info-menumodel.cpp b/examples/info-menumodel.cpp
index d370731..a0bdb0a 100644
--- a/examples/info-menumodel.cpp
+++ b/examples/info-menumodel.cpp
@@ -1,4 +1,23 @@
/*
+ * Copyright 2012 Canonical Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; version 3.
+ *
+ * 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 Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ * Olivier Tilloy <olivier.tilloy@canonical.com>
+ */
+
+/*
* Example executable that links against libqmenumodel to monitor
* and print information about a menu model exported on D-Bus.
*/
diff --git a/examples/render-menumodel.qml b/examples/render-menumodel.qml
index d7c650e..7d8e0a1 100644
--- a/examples/render-menumodel.qml
+++ b/examples/render-menumodel.qml
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2012 Canonical Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; version 3.
+ *
+ * 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 Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ * Olivier Tilloy <olivier.tilloy@canonical.com>
+ */
+
// This example QML application renders a menu model exposed on the session bus
// under the well-known name com.canonical.testmenu and at the object path
// /com/canonical/testmenu.
diff --git a/libqmenumodel/src/converter.cpp b/libqmenumodel/src/converter.cpp
index 526faba..d9d90bd 100644
--- a/libqmenumodel/src/converter.cpp
+++ b/libqmenumodel/src/converter.cpp
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2012 Canonical Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; version 3.
+ *
+ * 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 Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ * Renato Araujo Oliveira Filho <renato@canonical.com>
+ */
+
extern "C" {
#include <glib.h>
}
diff --git a/tests/client/loadmodel.qml b/tests/client/loadmodel.qml
index 7a1f045..fcdb4ba 100644
--- a/tests/client/loadmodel.qml
+++ b/tests/client/loadmodel.qml
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2012 Canonical Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; version 3.
+ *
+ * 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 Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ * Renato Araujo Oliveira Filho <renato@canonical.com>
+ */
+
import QtQuick 2.0
import QMenuModel 0.1
diff --git a/tests/client/loadmodel2.qml b/tests/client/loadmodel2.qml
index dfe265d..4e283bb 100644
--- a/tests/client/loadmodel2.qml
+++ b/tests/client/loadmodel2.qml
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2012 Canonical Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; version 3.
+ *
+ * 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 Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ * Renato Araujo Oliveira Filho <renato@canonical.com>
+ */
+
import QtQuick 2.0
import QMenuModel 0.1