summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins
Side-by-side diff
Diffstat (limited to 'core/pim/today/plugins') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/addressbook/addressbook.pro19
-rw-r--r--core/pim/today/plugins/addressbook/addresspluginconfig.cpp1
2 files changed, 19 insertions, 1 deletions
diff --git a/core/pim/today/plugins/addressbook/addressbook.pro b/core/pim/today/plugins/addressbook/addressbook.pro
index fd7d786..3ee5bce 100644
--- a/core/pim/today/plugins/addressbook/addressbook.pro
+++ b/core/pim/today/plugins/addressbook/addressbook.pro
@@ -1,23 +1,42 @@
TEMPLATE = lib
CONFIG -= moc
CONFIG += qt release
# Input
HEADERS = addressplugin.h addresspluginimpl.h addresspluginconfig.h \
addresspluginwidget.h
SOURCES = addressplugin.cpp addresspluginimpl.cpp addresspluginconfig.cpp \
addresspluginwidget.cpp
INCLUDEPATH += $(OPIEDIR)/include \
../ ../library
DEPENDPATH += $(OPIEDIR)/include \
../ ../library
LIBS+= -lqpe -lopie
DESTDIR = $(OPIEDIR)/plugins/today
TARGET = todayaddressbookplugin
+TRANSLATIONS = ../../../../../i18n/de/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/xx/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/en/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/es/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/fr/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/hu/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/ja/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/ko/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/no/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/pl/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/pt/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/pt_BR/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/sl/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/zh_CN/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/zh_TW/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/it/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/da/libtodayaddressbookplugin.ts
+
+
include ( $(OPIEDIR)/include.pro )
diff --git a/core/pim/today/plugins/addressbook/addresspluginconfig.cpp b/core/pim/today/plugins/addressbook/addresspluginconfig.cpp
index 8d7bec6..a234236 100644
--- a/core/pim/today/plugins/addressbook/addresspluginconfig.cpp
+++ b/core/pim/today/plugins/addressbook/addresspluginconfig.cpp
@@ -6,49 +6,48 @@
*
* This implementation was derived from the todolist plugin implementation
*
*/
/***************************************************************************
* *
* 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 "addresspluginconfig.h"
#include <qpe/config.h>
#include <qlayout.h>
#include <qhbox.h>
#include <qtoolbutton.h>
#include <qlabel.h>
#include <qwhatsthis.h>
-
AddressBookPluginConfig::AddressBookPluginConfig( QWidget *parent, const char* name)
: TodayConfigWidget(parent, name ) {
QVBoxLayout * layout = new QVBoxLayout( this );
layout->setMargin( 20 );
QHBox *box1 = new QHBox( this );
QLabel* TextLabel6 = new QLabel( box1, "TextLabel6" );
TextLabel6->setText( tr( "Max Lines: " ) );
SpinBox2 = new QSpinBox( box1, "SpinBox2" );
SpinBox2->setMaxValue( 40 );
QWhatsThis::add( SpinBox2 , tr( "Set the maximum number of lines that should be shown for each anniversaries/birthdays" ) );
QHBox *box2 = new QHBox( this );
QLabel* clipLabel = new QLabel( box2, "" );
clipLabel->setText( tr( "Clip line after X chars: " ) );
SpinBoxClip = new QSpinBox( box2, "SpinClip" );
SpinBoxClip->setMaxValue( 200 );
QWhatsThis::add( SpinBoxClip , tr( "After how many chars should be the info about the task be cut off" ) );