summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (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
-rw-r--r--packages1
8 files changed, 7 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
-INCLUDEPATH += $(OPIEDIR)/include \
- ../ ../library
-DEPENDPATH += $(OPIEDIR)/include \
- ../ ../library
+INCLUDEPATH += $(OPIEDIR)/include
+DEPENDPATH += $(OPIEDIR)/include
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 @@
*
- * copyright : (c) 2002,2003,2004 by Maximilian Reiß
* email : harlekin@handhelds.org
@@ -7,12 +6,2 @@
*/
-/***************************************************************************
- * *
- * 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. *
- * *
- ***************************************************************************/
-
-
#include "exampleplugin.h"
@@ -37,3 +26,3 @@ double ExamplePlugin::versionNumber() const {
QString ExamplePlugin::pixmapNameWidget() const {
- return "Tux";
+ return QString::fromLatin1("Tux");
}
@@ -54,3 +43,3 @@ QString ExamplePlugin::pixmapNameConfig() const {
// No config widget yet, look at the datebook plugin for an example of that
-TodayConfigWidget* ExamplePlugin::configWidget( QWidget* ) {
+TodayConfigWidget* ExamplePlugin::configWidget( QWidget* /*parent*/ ) {
return 0l;
@@ -60,3 +49,3 @@ TodayConfigWidget* ExamplePlugin::configWidget( QWidget* ) {
QString ExamplePlugin::appName() const {
- return "";
+ return QString::null;
}
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 @@
*
- * copyright : (c) 2004 by Maximilian Reiß
* email : harlekin@handhelds.org
@@ -7,10 +6,2 @@
*/
-/***************************************************************************
- * *
- * 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. *
- * *
- ***************************************************************************/
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 @@
*
- * copyright : (c) 2004 by Maximilian Reiß
* email : harlekin@handhelds.org
@@ -7,10 +6,2 @@
*/
-/***************************************************************************
- * *
- * 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. *
- * *
- ***************************************************************************/
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 @@
*
- * copyright : (c) 2004 by Maximilian Reiß
* email : harlekin@handhelds.org
@@ -7,10 +6,2 @@
*/
-/***************************************************************************
- * *
- * 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. *
- * *
- ***************************************************************************/
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 @@
*
- * copyright : (c) 2004 by Maximilian Reiß
* email : harlekin@handhelds.org
@@ -7,10 +6,2 @@
*/
-/***************************************************************************
- * *
- * 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. *
- * *
- ***************************************************************************/
@@ -65,3 +56,3 @@ void ExamplePluginWidget::refresh() {
void ExamplePluginWidget::getInfo() {
- m_exampleLabel->setText( "Example text" );
+ m_exampleLabel->setText( tr("Example text") );
}
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 @@
*
- * copyright : (c) 2004 by Maximilian Reiß
* email : harlekin@handhelds.org
@@ -7,10 +6,2 @@
*/
-/***************************************************************************
- * *
- * 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. *
- * *
- ***************************************************************************/
diff --git a/packages b/packages
index f7b48bd..34d93b3 100644
--- a/packages
+++ b/packages
@@ -196 +196,2 @@ CONFIG_BIGSCREEN_EXAMPLE libopie/big-screen/example osplitter_mail.pr
CONFIG_APPLET_EXAMPLE examples/applet example.pro
+CONFIG_TODAY_EXAMPLE examples/todayplugin example.pro