summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kaddressbook.pro10
-rw-r--r--kdepim-desktop.pro6
-rw-r--r--korganizer/korganizer.pro9
-rw-r--r--libkdepim/kcmconfigs/kcmkdepimconfig.cpp2
-rw-r--r--variables.pri2
5 files changed, 26 insertions, 3 deletions
diff --git a/kaddressbook/kaddressbook.pro b/kaddressbook/kaddressbook.pro
index e73de06..2534835 100644
--- a/kaddressbook/kaddressbook.pro
+++ b/kaddressbook/kaddressbook.pro
@@ -1,65 +1,75 @@
1 TEMPLATE= app 1 TEMPLATE= app
2 CONFIG = qt warn_on 2 CONFIG = qt warn_on
3 TARGET = kapi 3 TARGET = kapi
4DESTDIR= ../bin 4DESTDIR= ../bin
5 5
6include( ../variables.pri ) 6include( ../variables.pri )
7 7
8 8
9INCLUDEPATH += . ./details ./features ./xxport ../libkdepim ../microkde ../microkde/kdecore ../microkde/kutils ../microkde/kio/kfile ../microkde/kio/kio ../microkde/kdeui ../microkde/kresources ../kabc ../ interfaces 9INCLUDEPATH += . ./details ./features ./xxport ../libkdepim ../microkde ../microkde/kdecore ../microkde/kutils ../microkde/kio/kfile ../microkde/kio/kio ../microkde/kdeui ../microkde/kresources ../kabc ../ interfaces
10DEFINES += KAB_EMBEDDED KAB_NOSPLITTER DESKTOP_VERSION 10DEFINES += KAB_EMBEDDED KAB_NOSPLITTER DESKTOP_VERSION
11 11
12unix : { 12unix : {
13
14staticlib: {
15LIBS += ../bin/libmicrokdepim.a
16LIBS += ../bin/libmicrokcal.a
17LIBS += ../bin/libmicrokabc.a
18LIBS += ../bin/libmicrokde.a
19LIBS += ../libical/lib/libical.a
20LIBS += ../libical/lib/libicalss.a
21} else {
13LIBS += ../bin/libmicrokdepim.so 22LIBS += ../bin/libmicrokdepim.so
14LIBS += ../bin/libmicrokde.so 23LIBS += ../bin/libmicrokde.so
15LIBS += ../bin/libmicrokabc.so 24LIBS += ../bin/libmicrokabc.so
16LIBS += ../bin/libmicrokcal.so 25LIBS += ../bin/libmicrokcal.so
17#LIBS += -lldap 26#LIBS += -lldap
27}
18OBJECTS_DIR = obj/unix 28OBJECTS_DIR = obj/unix
19MOC_DIR = moc/unix 29MOC_DIR = moc/unix
20} 30}
21win32: { 31win32: {
22RC_FILE = winicons.rc 32RC_FILE = winicons.rc
23DEFINES += _WIN32_ 33DEFINES += _WIN32_
24LIBS += ../bin/microkdepim.lib 34LIBS += ../bin/microkdepim.lib
25LIBS += ../bin/microkcal.lib 35LIBS += ../bin/microkcal.lib
26LIBS += ../bin/microkde.lib 36LIBS += ../bin/microkde.lib
27LIBS += ../bin/microkabc.lib 37LIBS += ../bin/microkabc.lib
28QMAKE_LINK += /NODEFAULTLIB:LIBC 38QMAKE_LINK += /NODEFAULTLIB:LIBC
29OBJECTS_DIR = obj/win 39OBJECTS_DIR = obj/win
30MOC_DIR = moc/win 40MOC_DIR = moc/win
31#olimport section 41#olimport section
32#blabla: { 42#blabla: {
33 43
34LIBS += mfc71u.lib 44LIBS += mfc71u.lib
35DEFINES += _OL_IMPORT_ 45DEFINES += _OL_IMPORT_
36HEADERS = ../outport/msoutl9.h \ 46HEADERS = ../outport/msoutl9.h \
37 kaimportoldialog.h 47 kaimportoldialog.h
38SOURCES = ../outport/msoutl9.cpp \ 48SOURCES = ../outport/msoutl9.cpp \
39 kaimportoldialog.cpp 49 kaimportoldialog.cpp
40#} 50#}
41#olimport section end 51#olimport section end
42} 52}
43 53
44INTERFACES = \ 54INTERFACES = \
45# filteredit_base.ui \ 55# filteredit_base.ui \
46# kofilterview_base.ui \ 56# kofilterview_base.ui \
47 57
48HEADERS += \ 58HEADERS += \
49features/mergewidget.h \ 59features/mergewidget.h \
50features/distributionlistwidget.h \ 60features/distributionlistwidget.h \
51kcmconfigs/addresseewidget.h \ 61kcmconfigs/addresseewidget.h \
52kcmconfigs/extensionconfigdialog.h \ 62kcmconfigs/extensionconfigdialog.h \
53kcmconfigs/kcmkabconfig.h \ 63kcmconfigs/kcmkabconfig.h \
54kcmconfigs/kabconfigwidget.h \ 64kcmconfigs/kabconfigwidget.h \
55addresseeeditordialog.h \ 65addresseeeditordialog.h \
56addresseeeditorwidget.h \ 66addresseeeditorwidget.h \
57addresseditwidget.h \ 67addresseditwidget.h \
58addresseeconfig.h \ 68addresseeconfig.h \
59addresseeutil.h \ 69addresseeutil.h \
60emaileditwidget.h \ 70emaileditwidget.h \
61filtereditdialog.h \ 71filtereditdialog.h \
62kaddressbookmain.h \ 72kaddressbookmain.h \
63kabprefs.h \ 73kabprefs.h \
64kabcore.h \ 74kabcore.h \
65viewmanager.h \ 75viewmanager.h \
diff --git a/kdepim-desktop.pro b/kdepim-desktop.pro
index 20c91ef..7ade680 100644
--- a/kdepim-desktop.pro
+++ b/kdepim-desktop.pro
@@ -1,8 +1,10 @@
1 1
2 2include( ./variables.pri )
3TEMPLATE = subdirs 3TEMPLATE = subdirs
4SUBDIRS = libical libkcal kabc libkdepim microkde korganizer kaddressbook kabc/plugins/file kabc/plugins/dir kabc/plugins/qtopia gammu/emb/common gammu/emb/gammu 4SUBDIRS = libical libkcal kabc libkdepim microkde korganizer kaddressbook kabc/plugins/file kabc/plugins/dir kabc/plugins/qtopia gammu/emb/common gammu/emb/gammu
5unix:{ 5unix:{
6!staticlib: {
6SUBDIRS += libetpan kmicromail/libmailwrapper kmicromail pwmanager/libcrypt/cipher pwmanager/libcrypt/error pwmanager/libcrypt/mpi pwmanager/libcrypt/zlib pwmanager/pwmanager 7SUBDIRS += libetpan kmicromail/libmailwrapper kmicromail pwmanager/libcrypt/cipher pwmanager/libcrypt/error pwmanager/libcrypt/mpi pwmanager/libcrypt/zlib pwmanager/pwmanager
7} 8}
9}
8 10
diff --git a/korganizer/korganizer.pro b/korganizer/korganizer.pro
index 546b6e5..59a1a84 100644
--- a/korganizer/korganizer.pro
+++ b/korganizer/korganizer.pro
@@ -1,73 +1,82 @@
1 TEMPLATE= app 1 TEMPLATE= app
2 CONFIG += qt warn_on 2 CONFIG += qt warn_on
3 TARGET = kopi 3 TARGET = kopi
4OBJECTS_DIR = _obj/ 4OBJECTS_DIR = _obj/
5MOC_DIR = _moc 5MOC_DIR = _moc
6DESTDIR= ../bin 6DESTDIR= ../bin
7 7
8include( ../variables.pri ) 8include( ../variables.pri )
9 9
10INCLUDEPATH += ../microkde ../ interfaces ../microkde/kdecore ../microkde/kdeui ../microkde/kio/kfile ../microkde/kio/kio ../libkdepim 10INCLUDEPATH += ../microkde ../ interfaces ../microkde/kdecore ../microkde/kdeui ../microkde/kio/kfile ../microkde/kio/kio ../libkdepim
11#../qtcompat 11#../qtcompat
12DEFINES += KORG_NOPLUGINS KORG_NOARCHIVE KORG_NOMAIL 12DEFINES += KORG_NOPLUGINS KORG_NOARCHIVE KORG_NOMAIL
13DEFINES += KORG_NODCOP KORG_NOKALARMD KORG_NORESOURCEVIEW KORG_NOSPLITTER 13DEFINES += KORG_NODCOP KORG_NOKALARMD KORG_NORESOURCEVIEW KORG_NOSPLITTER
14#KORG_NOPRINTER KORG_NOKABC KORG_NODND 14#KORG_NOPRINTER KORG_NOKABC KORG_NODND
15DEFINES += KORG_NOLVALTERNATION 15DEFINES += KORG_NOLVALTERNATION
16DEFINES += DESKTOP_VERSION 16DEFINES += DESKTOP_VERSION
17unix : { 17unix : {
18staticlib: {
19LIBS += ../bin/libmicrokdepim.a
20LIBS += ../bin/libmicrokcal.a
21LIBS += ../bin/libmicrokabc.a
22LIBS += ../bin/libmicrokde.a
23LIBS += ../libical/lib/libical.a
24LIBS += ../libical/lib/libicalss.a
25} else {
18LIBS += ../bin/libmicrokdepim.so 26LIBS += ../bin/libmicrokdepim.so
19LIBS += ../bin/libmicrokcal.so 27LIBS += ../bin/libmicrokcal.so
20LIBS += ../bin/libmicrokde.so 28LIBS += ../bin/libmicrokde.so
21LIBS += ../bin/libmicrokabc.so 29LIBS += ../bin/libmicrokabc.so
22#LIBS += -lbluetooth 30#LIBS += -lbluetooth
23#LIBS += -lsdp 31#LIBS += -lsdp
24 32
25#LIBS += -lldap 33#LIBS += -lldap
34}
26OBJECTS_DIR = obj/unix 35OBJECTS_DIR = obj/unix
27MOC_DIR = moc/unix 36MOC_DIR = moc/unix
28} 37}
29win32: { 38win32: {
30RC_FILE = winicons.rc 39RC_FILE = winicons.rc
31DEFINES += _WIN32_ 40DEFINES += _WIN32_
32LIBS += ../bin/microkdepim.lib 41LIBS += ../bin/microkdepim.lib
33LIBS += ../bin/microkcal.lib 42LIBS += ../bin/microkcal.lib
34LIBS += ../bin/microkde.lib 43LIBS += ../bin/microkde.lib
35LIBS += ../bin/microkabc.lib 44LIBS += ../bin/microkabc.lib
36LIBS += ../libical/lib/ical.lib 45LIBS += ../libical/lib/ical.lib
37LIBS += ../libical/lib/icalss.lib 46LIBS += ../libical/lib/icalss.lib
38#LIBS += atls.lib 47#LIBS += atls.lib
39QMAKE_LINK += /NODEFAULTLIB:LIBC 48QMAKE_LINK += /NODEFAULTLIB:LIBC
40#QMAKE_LINK += /NODEFAULTLIB:MSVCRT 49#QMAKE_LINK += /NODEFAULTLIB:MSVCRT
41#QMAKE_LINK += /NODEFAULTLIB:uafxcw.lib 50#QMAKE_LINK += /NODEFAULTLIB:uafxcw.lib
42OBJECTS_DIR = obj/win 51OBJECTS_DIR = obj/win
43MOC_DIR = moc/win 52MOC_DIR = moc/win
44#olimport section 53#olimport section
45#blabla: { 54#blabla: {
46LIBS += mfc71u.lib 55LIBS += mfc71u.lib
47DEFINES += _OL_IMPORT_ 56DEFINES += _OL_IMPORT_
48 57
49HEADERS += ../outport/msoutl9.h \ 58HEADERS += ../outport/msoutl9.h \
50 koimportoldialog.h 59 koimportoldialog.h
51SOURCES += ../outport/msoutl9.cpp \ 60SOURCES += ../outport/msoutl9.cpp \
52 koimportoldialog.cpp 61 koimportoldialog.cpp
53#} 62#}
54#olimport section end 63#olimport section end
55 64
56} 65}
57 66
58 67
59INTERFACES = kofilterview_base.ui 68INTERFACES = kofilterview_base.ui
60#filteredit_base.ui 69#filteredit_base.ui
61 70
62# kdateedit.h \ 71# kdateedit.h \
63 72
64HEADERS += datenavigatorcontainer.h \ 73HEADERS += datenavigatorcontainer.h \
65 filteredit_base.h \ 74 filteredit_base.h \
66 alarmclient.h \ 75 alarmclient.h \
67 calendarview.h \ 76 calendarview.h \
68 customlistviewitem.h \ 77 customlistviewitem.h \
69 datenavigator.h \ 78 datenavigator.h \
70 docprefs.h \ 79 docprefs.h \
71 filtereditdialog.h \ 80 filtereditdialog.h \
72 incomingdialog.h \ 81 incomingdialog.h \
73 incomingdialog_base.h \ 82 incomingdialog_base.h \
diff --git a/libkdepim/kcmconfigs/kcmkdepimconfig.cpp b/libkdepim/kcmconfigs/kcmkdepimconfig.cpp
index e77c5ab..5094830 100644
--- a/libkdepim/kcmconfigs/kcmkdepimconfig.cpp
+++ b/libkdepim/kcmconfigs/kcmkdepimconfig.cpp
@@ -1,80 +1,80 @@
1/* 1/*
2 This file is part of KDEPim/Pi. 2 This file is part of KDEPim/Pi.
3 Copyright (c) 2004 Ulf Schenk 3 Copyright (c) 2004 Ulf Schenk
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details. 13 GNU General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software 16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 18
19 As a special exception, permission is given to link this program 19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable, 20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution. 21 without including the source code for Qt in the source distribution.
22*/ 22*/
23 23
24/* 24/*
25Enhanced Version of the file for platform independent KDE tools. 25Enhanced Version of the file for platform independent KDE tools.
26Copyright (c) 2004 Ulf Schenk 26Copyright (c) 2004 Ulf Schenk
27 27
28$Id$ 28$Id$
29*/ 29*/
30 30
31 31
32#include <qlayout.h> 32#include <qlayout.h>
33 33
34#include <kdebug.h> 34#include <kdebug.h>
35//#include <klocale.h> 35//#include <klocale.h>
36//#include <stdlib.h> 36//#include <stdlib.h>
37 37
38#include "kdepimconfigwidget.h" 38#include "kdepimconfigwidget.h"
39 39
40#include "kcmkdepimconfig.h" 40#include "kcmkdepimconfig.h"
41#include "kprefs.h" 41#include "kprefs.h"
42#include "kpimglobalprefs.h" 42#include "kpimglobalprefs.h"
43 43
44#ifndef _WIN32_ 44#ifndef _WIN32_
45extern "C" 45extern "C"
46{ 46{
47 KCModule *create_kabconfig(QWidget *parent, const char * ) { 47 KCModule *create_kdepimconfig(QWidget *parent, const char * ) {
48 return new KCMKdePimConfig(parent, "kcmkdepimconfig" ); 48 return new KCMKdePimConfig(parent, "kcmkdepimconfig" );
49 } 49 }
50} 50}
51#endif 51#endif
52 52
53KCMKdePimConfig::KCMKdePimConfig(QWidget *parent, const char *name ) 53KCMKdePimConfig::KCMKdePimConfig(QWidget *parent, const char *name )
54 : KCModule( KPimGlobalPrefs::instance(), parent, name ) 54 : KCModule( KPimGlobalPrefs::instance(), parent, name )
55{ 55{
56 //abort(); 56 //abort();
57 QVBoxLayout *layout = new QVBoxLayout( this ); 57 QVBoxLayout *layout = new QVBoxLayout( this );
58 mConfigWidget = new KDEPIMConfigWidget( (KPimGlobalPrefs*)getPreferences(), this, "KDEPIMConfigWidget" ); 58 mConfigWidget = new KDEPIMConfigWidget( (KPimGlobalPrefs*)getPreferences(), this, "KDEPIMConfigWidget" );
59 layout->addWidget( mConfigWidget ); 59 layout->addWidget( mConfigWidget );
60 layout->setSpacing( 0 ); 60 layout->setSpacing( 0 );
61 layout->setMargin( 0 ); 61 layout->setMargin( 0 );
62 62
63 connect( mConfigWidget, SIGNAL( changed( bool ) ), SIGNAL( changed( bool ) ) ); 63 connect( mConfigWidget, SIGNAL( changed( bool ) ), SIGNAL( changed( bool ) ) );
64} 64}
65 65
66void KCMKdePimConfig::load() 66void KCMKdePimConfig::load()
67{ 67{
68 mConfigWidget->readConfig(); 68 mConfigWidget->readConfig();
69} 69}
70 70
71void KCMKdePimConfig::save() 71void KCMKdePimConfig::save()
72{ 72{
73 mConfigWidget->writeConfig(); 73 mConfigWidget->writeConfig();
74} 74}
75 75
76void KCMKdePimConfig::defaults() 76void KCMKdePimConfig::defaults()
77{ 77{
78 qDebug("KCMKdePimConfig::defaults()"); 78 qDebug("KCMKdePimConfig::defaults()");
79 mConfigWidget->setDefaults(); 79 mConfigWidget->setDefaults();
80} 80}
diff --git a/variables.pri b/variables.pri
index 08c2a45..244de4c 100644
--- a/variables.pri
+++ b/variables.pri
@@ -1,10 +1,12 @@
1 1
2# variables settings for compilation for Linux desktop and Qt 3.x.x 2# variables settings for compilation for Linux desktop and Qt 3.x.x
3 3
4unix { 4unix {
5CONFIG += release 5CONFIG += release
6#for statically linking
7#CONFIG += staticlib
6} 8}
7win32 { 9win32 {
8CONFIG += release 10CONFIG += release
9 11
10} \ No newline at end of file 12} \ No newline at end of file