aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2013-01-11 11:10:06 -0300
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>2013-01-11 11:10:06 -0300
commit50efc4dab6fc59df9a57aaefb193ac65101f4d0a (patch)
tree594632321a08671bbbabf4945a0b8384a9aa2cfa /examples
parent70adf10ff4ab8f9590963b3deceda66e1b891c08 (diff)
downloadqmenumodel-50efc4dab6fc59df9a57aaefb193ac65101f4d0a.tar.gz
qmenumodel-50efc4dab6fc59df9a57aaefb193ac65101f4d0a.tar.bz2
qmenumodel-50efc4dab6fc59df9a57aaefb193ac65101f4d0a.zip
Added missing license header.
Diffstat (limited to 'examples')
-rw-r--r--examples/info-menumodel.cpp19
-rw-r--r--examples/render-menumodel.qml19
2 files changed, 38 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.