summaryrefslogtreecommitdiff
path: root/examples
authorzecke <zecke>2004-02-03 23:20:25 (UTC)
committer zecke <zecke>2004-02-03 23:20:25 (UTC)
commit2e5cb130457186a1ee83e34c5230ce4cd4869a57 (patch) (unidiff)
treec4171aac8ee97f2fdab6b4132616ba37f0bd4402 /examples
parented3e8f87affa7aba79bf8588490ae9771cb2bcf4 (diff)
downloadopie-2e5cb130457186a1ee83e34c5230ce4cd4869a57.zip
opie-2e5cb130457186a1ee83e34c5230ce4cd4869a57.tar.gz
opie-2e5cb130457186a1ee83e34c5230ce4cd4869a57.tar.bz2
Remove the GPL header
"" -> QString::null add tr
Diffstat (limited to 'examples') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/todayplugin/example.pro6
-rw-r--r--examples/todayplugin/exampleplugin.cpp17
-rw-r--r--examples/todayplugin/exampleplugin.h9
-rw-r--r--examples/todayplugin/examplepluginimpl.cpp9
-rw-r--r--examples/todayplugin/examplepluginimpl.h9
-rw-r--r--examples/todayplugin/examplepluginwidget.cpp11
-rw-r--r--examples/todayplugin/examplepluginwidget.h9
7 files changed, 6 insertions, 64 deletions
diff --git a/examples/todayplugin/example.pro b/examples/todayplugin/example.pro
index 931e056..4c8c942 100644
--- a/examples/todayplugin/example.pro
+++ b/examples/todayplugin/example.pro
@@ -8,6 +8,4 @@ SOURCES = exampleplugin.cpp examplepluginimpl.cpp examplepluginwidget.cpp
8 8
9INCLUDEPATH += $(OPIEDIR)/include \ 9INCLUDEPATH += $(OPIEDIR)/include
10 ../ ../library 10DEPENDPATH += $(OPIEDIR)/include
11DEPENDPATH += $(OPIEDIR)/include \
12 ../ ../library
13 11
diff --git a/examples/todayplugin/exampleplugin.cpp b/examples/todayplugin/exampleplugin.cpp
index e5d75df..94a5836 100644
--- a/examples/todayplugin/exampleplugin.cpp
+++ b/examples/todayplugin/exampleplugin.cpp
@@ -3,3 +3,2 @@
3 * 3 *
4 * copyright : (c) 2002,2003,2004 by Maximilian Reiß
5 * email : harlekin@handhelds.org 4 * email : harlekin@handhelds.org
@@ -7,12 +6,2 @@
7 */ 6 */
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16
17
18#include "exampleplugin.h" 7#include "exampleplugin.h"
@@ -37,3 +26,3 @@ double ExamplePlugin::versionNumber() const {
37QString ExamplePlugin::pixmapNameWidget() const { 26QString ExamplePlugin::pixmapNameWidget() const {
38 return "Tux"; 27 return QString::fromLatin1("Tux");
39} 28}
@@ -54,3 +43,3 @@ QString ExamplePlugin::pixmapNameConfig() const {
54// No config widget yet, look at the datebook plugin for an example of that 43// No config widget yet, look at the datebook plugin for an example of that
55TodayConfigWidget* ExamplePlugin::configWidget( QWidget* ) { 44TodayConfigWidget* ExamplePlugin::configWidget( QWidget* /*parent*/ ) {
56 return 0l; 45 return 0l;
@@ -60,3 +49,3 @@ TodayConfigWidget* ExamplePlugin::configWidget( QWidget* ) {
60QString ExamplePlugin::appName() const { 49QString ExamplePlugin::appName() const {
61 return ""; 50 return QString::null;
62} 51}
diff --git a/examples/todayplugin/exampleplugin.h b/examples/todayplugin/exampleplugin.h
index 0d9f11d..a1df923 100644
--- a/examples/todayplugin/exampleplugin.h
+++ b/examples/todayplugin/exampleplugin.h
@@ -3,3 +3,2 @@
3 * 3 *
4 * copyright : (c) 2004 by Maximilian Reiß
5 * email : harlekin@handhelds.org 4 * email : harlekin@handhelds.org
@@ -7,10 +6,2 @@
7 */ 6 */
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16 7
diff --git a/examples/todayplugin/examplepluginimpl.cpp b/examples/todayplugin/examplepluginimpl.cpp
index 9ab6164..69287dc 100644
--- a/examples/todayplugin/examplepluginimpl.cpp
+++ b/examples/todayplugin/examplepluginimpl.cpp
@@ -3,3 +3,2 @@
3 * 3 *
4 * copyright : (c) 2004 by Maximilian Reiß
5 * email : harlekin@handhelds.org 4 * email : harlekin@handhelds.org
@@ -7,10 +6,2 @@
7 */ 6 */
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16 7
diff --git a/examples/todayplugin/examplepluginimpl.h b/examples/todayplugin/examplepluginimpl.h
index 2c10583..187d6e8 100644
--- a/examples/todayplugin/examplepluginimpl.h
+++ b/examples/todayplugin/examplepluginimpl.h
@@ -3,3 +3,2 @@
3 * 3 *
4 * copyright : (c) 2004 by Maximilian Reiß
5 * email : harlekin@handhelds.org 4 * email : harlekin@handhelds.org
@@ -7,10 +6,2 @@
7 */ 6 */
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16 7
diff --git a/examples/todayplugin/examplepluginwidget.cpp b/examples/todayplugin/examplepluginwidget.cpp
index 14f1020..d66a11a 100644
--- a/examples/todayplugin/examplepluginwidget.cpp
+++ b/examples/todayplugin/examplepluginwidget.cpp
@@ -3,3 +3,2 @@
3 * 3 *
4 * copyright : (c) 2004 by Maximilian Reiß
5 * email : harlekin@handhelds.org 4 * email : harlekin@handhelds.org
@@ -7,10 +6,2 @@
7 */ 6 */
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16 7
@@ -65,3 +56,3 @@ void ExamplePluginWidget::refresh() {
65void ExamplePluginWidget::getInfo() { 56void ExamplePluginWidget::getInfo() {
66 m_exampleLabel->setText( "Example text" ); 57 m_exampleLabel->setText( tr("Example text") );
67} 58}
diff --git a/examples/todayplugin/examplepluginwidget.h b/examples/todayplugin/examplepluginwidget.h
index c94d2cf..eb3c660 100644
--- a/examples/todayplugin/examplepluginwidget.h
+++ b/examples/todayplugin/examplepluginwidget.h
@@ -3,3 +3,2 @@
3 * 3 *
4 * copyright : (c) 2004 by Maximilian Reiß
5 * email : harlekin@handhelds.org 4 * email : harlekin@handhelds.org
@@ -7,10 +6,2 @@
7 */ 6 */
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16 7