summaryrefslogtreecommitdiff
path: root/examples/todayplugin/examplepluginwidget.cpp
Unidiff
Diffstat (limited to 'examples/todayplugin/examplepluginwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/todayplugin/examplepluginwidget.cpp11
1 files changed, 1 insertions, 10 deletions
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
@@ -1,27 +1,18 @@
1/* 1/*
2 * examplepluginwidget.cpp 2 * examplepluginwidget.cpp
3 * 3 *
4 * copyright : (c) 2004 by Maximilian Reiß
5 * email : harlekin@handhelds.org 4 * email : harlekin@handhelds.org
6 * 5 *
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
17#include <qpe/config.h> 8#include <qpe/config.h>
18#include <qpe/qcopenvelope_qws.h> 9#include <qpe/qcopenvelope_qws.h>
19 10
20#include "examplepluginwidget.h" 11#include "examplepluginwidget.h"
21 12
22ExamplePluginWidget::ExamplePluginWidget( QWidget *parent, const char* name) 13ExamplePluginWidget::ExamplePluginWidget( QWidget *parent, const char* name)
23 : QWidget(parent, name ) { 14 : QWidget(parent, name ) {
24 15
25 m_exampleLabel = 0l; 16 m_exampleLabel = 0l;
26 m_layout = 0l; 17 m_layout = 0l;
27 18
@@ -54,18 +45,18 @@ ExamplePluginWidget::~ExamplePluginWidget() {
54 45
55void ExamplePluginWidget::readConfig() { 46void ExamplePluginWidget::readConfig() {
56// we dont have any config entries in this plugin 47// we dont have any config entries in this plugin
57// normally this method is used after today config was used 48// normally this method is used after today config was used
58} 49}
59 50
60 51
61void ExamplePluginWidget::refresh() { 52void ExamplePluginWidget::refresh() {
62 53
63} 54}
64 55
65void ExamplePluginWidget::getInfo() { 56void ExamplePluginWidget::getInfo() {
66 m_exampleLabel->setText( "Example text" ); 57 m_exampleLabel->setText( tr("Example text") );
67} 58}
68 59
69void ExamplePluginWidget::slotClicked() { 60void ExamplePluginWidget::slotClicked() {
70 getInfo(); 61 getInfo();
71} 62}