summaryrefslogtreecommitdiff
path: root/examples/todayplugin/exampleplugin.cpp
Side-by-side diff
Diffstat (limited to 'examples/todayplugin/exampleplugin.cpp') (more/less context) (show whitespace changes)
-rw-r--r--examples/todayplugin/exampleplugin.cpp17
1 files changed, 3 insertions, 14 deletions
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
@@ -2,18 +2,7 @@
* exampleplugin.cpp
*
- * copyright : (c) 2002,2003,2004 by Maximilian Reiß
* email : harlekin@handhelds.org
*
*/
-/***************************************************************************
- * *
- * 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"
@@ -36,5 +25,5 @@ double ExamplePlugin::versionNumber() const {
// this sets the image that will be shown on the left side of the plugin
QString ExamplePlugin::pixmapNameWidget() const {
- return "Tux";
+ return QString::fromLatin1("Tux");
}
@@ -53,5 +42,5 @@ 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;
}
@@ -59,5 +48,5 @@ TodayConfigWidget* ExamplePlugin::configWidget( QWidget* ) {
// add the binary name of the app to launch here
QString ExamplePlugin::appName() const {
- return "";
+ return QString::null;
}