author | zautrix <zautrix> | 2005-04-03 19:05:24 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-03 19:05:24 (UTC) |
commit | 2d83daf3568bb829db2530baa917db5a4cbf0768 (patch) (unidiff) | |
tree | 29e6a92865f7ebf007eb9de1453710a905afaefa | |
parent | 2ab1c2cb6c58e719c47390b2f919262b2557f2be (diff) | |
download | kdepimpi-2d83daf3568bb829db2530baa917db5a4cbf0768.zip kdepimpi-2d83daf3568bb829db2530baa917db5a4cbf0768.tar.gz kdepimpi-2d83daf3568bb829db2530baa917db5a4cbf0768.tar.bz2 |
static compile fixes
-rw-r--r-- | kaddressbook/kaddressbook.pro | 10 | ||||
-rw-r--r-- | kdepim-desktop.pro | 6 | ||||
-rw-r--r-- | korganizer/korganizer.pro | 9 | ||||
-rw-r--r-- | libkdepim/kcmconfigs/kcmkdepimconfig.cpp | 2 | ||||
-rw-r--r-- | variables.pri | 2 |
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,113 +1,123 @@ | |||
1 | TEMPLATE= app | 1 | TEMPLATE= app |
2 | CONFIG = qt warn_on | 2 | CONFIG = qt warn_on |
3 | TARGET = kapi | 3 | TARGET = kapi |
4 | DESTDIR= ../bin | 4 | DESTDIR= ../bin |
5 | 5 | ||
6 | include( ../variables.pri ) | 6 | include( ../variables.pri ) |
7 | 7 | ||
8 | 8 | ||
9 | INCLUDEPATH += . ./details ./features ./xxport ../libkdepim ../microkde ../microkde/kdecore ../microkde/kutils ../microkde/kio/kfile ../microkde/kio/kio ../microkde/kdeui ../microkde/kresources ../kabc ../ interfaces | 9 | INCLUDEPATH += . ./details ./features ./xxport ../libkdepim ../microkde ../microkde/kdecore ../microkde/kutils ../microkde/kio/kfile ../microkde/kio/kio ../microkde/kdeui ../microkde/kresources ../kabc ../ interfaces |
10 | DEFINES += KAB_EMBEDDED KAB_NOSPLITTER DESKTOP_VERSION | 10 | DEFINES += KAB_EMBEDDED KAB_NOSPLITTER DESKTOP_VERSION |
11 | 11 | ||
12 | unix : { | 12 | unix : { |
13 | |||
14 | staticlib: { | ||
15 | LIBS += ../bin/libmicrokdepim.a | ||
16 | LIBS += ../bin/libmicrokcal.a | ||
17 | LIBS += ../bin/libmicrokabc.a | ||
18 | LIBS += ../bin/libmicrokde.a | ||
19 | LIBS += ../libical/lib/libical.a | ||
20 | LIBS += ../libical/lib/libicalss.a | ||
21 | } else { | ||
13 | LIBS += ../bin/libmicrokdepim.so | 22 | LIBS += ../bin/libmicrokdepim.so |
14 | LIBS += ../bin/libmicrokde.so | 23 | LIBS += ../bin/libmicrokde.so |
15 | LIBS += ../bin/libmicrokabc.so | 24 | LIBS += ../bin/libmicrokabc.so |
16 | LIBS += ../bin/libmicrokcal.so | 25 | LIBS += ../bin/libmicrokcal.so |
17 | #LIBS += -lldap | 26 | #LIBS += -lldap |
27 | } | ||
18 | OBJECTS_DIR = obj/unix | 28 | OBJECTS_DIR = obj/unix |
19 | MOC_DIR = moc/unix | 29 | MOC_DIR = moc/unix |
20 | } | 30 | } |
21 | win32: { | 31 | win32: { |
22 | RC_FILE = winicons.rc | 32 | RC_FILE = winicons.rc |
23 | DEFINES += _WIN32_ | 33 | DEFINES += _WIN32_ |
24 | LIBS += ../bin/microkdepim.lib | 34 | LIBS += ../bin/microkdepim.lib |
25 | LIBS += ../bin/microkcal.lib | 35 | LIBS += ../bin/microkcal.lib |
26 | LIBS += ../bin/microkde.lib | 36 | LIBS += ../bin/microkde.lib |
27 | LIBS += ../bin/microkabc.lib | 37 | LIBS += ../bin/microkabc.lib |
28 | QMAKE_LINK += /NODEFAULTLIB:LIBC | 38 | QMAKE_LINK += /NODEFAULTLIB:LIBC |
29 | OBJECTS_DIR = obj/win | 39 | OBJECTS_DIR = obj/win |
30 | MOC_DIR = moc/win | 40 | MOC_DIR = moc/win |
31 | #olimport section | 41 | #olimport section |
32 | #blabla: { | 42 | #blabla: { |
33 | 43 | ||
34 | LIBS += mfc71u.lib | 44 | LIBS += mfc71u.lib |
35 | DEFINES += _OL_IMPORT_ | 45 | DEFINES += _OL_IMPORT_ |
36 | HEADERS = ../outport/msoutl9.h \ | 46 | HEADERS = ../outport/msoutl9.h \ |
37 | kaimportoldialog.h | 47 | kaimportoldialog.h |
38 | SOURCES = ../outport/msoutl9.cpp \ | 48 | SOURCES = ../outport/msoutl9.cpp \ |
39 | kaimportoldialog.cpp | 49 | kaimportoldialog.cpp |
40 | #} | 50 | #} |
41 | #olimport section end | 51 | #olimport section end |
42 | } | 52 | } |
43 | 53 | ||
44 | INTERFACES = \ | 54 | INTERFACES = \ |
45 | # filteredit_base.ui \ | 55 | # filteredit_base.ui \ |
46 | # kofilterview_base.ui \ | 56 | # kofilterview_base.ui \ |
47 | 57 | ||
48 | HEADERS += \ | 58 | HEADERS += \ |
49 | features/mergewidget.h \ | 59 | features/mergewidget.h \ |
50 | features/distributionlistwidget.h \ | 60 | features/distributionlistwidget.h \ |
51 | kcmconfigs/addresseewidget.h \ | 61 | kcmconfigs/addresseewidget.h \ |
52 | kcmconfigs/extensionconfigdialog.h \ | 62 | kcmconfigs/extensionconfigdialog.h \ |
53 | kcmconfigs/kcmkabconfig.h \ | 63 | kcmconfigs/kcmkabconfig.h \ |
54 | kcmconfigs/kabconfigwidget.h \ | 64 | kcmconfigs/kabconfigwidget.h \ |
55 | addresseeeditordialog.h \ | 65 | addresseeeditordialog.h \ |
56 | addresseeeditorwidget.h \ | 66 | addresseeeditorwidget.h \ |
57 | addresseditwidget.h \ | 67 | addresseditwidget.h \ |
58 | addresseeconfig.h \ | 68 | addresseeconfig.h \ |
59 | addresseeutil.h \ | 69 | addresseeutil.h \ |
60 | emaileditwidget.h \ | 70 | emaileditwidget.h \ |
61 | filtereditdialog.h \ | 71 | filtereditdialog.h \ |
62 | kaddressbookmain.h \ | 72 | kaddressbookmain.h \ |
63 | kabprefs.h \ | 73 | kabprefs.h \ |
64 | kabcore.h \ | 74 | kabcore.h \ |
65 | viewmanager.h \ | 75 | viewmanager.h \ |
66 | extensionmanager.h \ | 76 | extensionmanager.h \ |
67 | extensionwidget.h \ | 77 | extensionwidget.h \ |
68 | kaddressbookview.h \ | 78 | kaddressbookview.h \ |
69 | geowidget.h \ | 79 | geowidget.h \ |
70 | imagewidget.h \ | 80 | imagewidget.h \ |
71 | incsearchwidget.h \ | 81 | incsearchwidget.h \ |
72 | jumpbuttonbar.h \ | 82 | jumpbuttonbar.h \ |
73 | phoneeditwidget.h \ | 83 | phoneeditwidget.h \ |
74 | secrecywidget.h \ | 84 | secrecywidget.h \ |
75 | keywidget.h \ | 85 | keywidget.h \ |
76 | nameeditdialog.h \ | 86 | nameeditdialog.h \ |
77 | filter.h \ | 87 | filter.h \ |
78 | addviewdialog.h \ | 88 | addviewdialog.h \ |
79 | configurewidget.h \ | 89 | configurewidget.h \ |
80 | viewconfigurewidget.h \ | 90 | viewconfigurewidget.h \ |
81 | viewconfigurefieldspage.h \ | 91 | viewconfigurefieldspage.h \ |
82 | viewconfigurefilterpage.h \ | 92 | viewconfigurefilterpage.h \ |
83 | typecombo.h \ | 93 | typecombo.h \ |
84 | undo.h \ | 94 | undo.h \ |
85 | undocmds.h \ | 95 | undocmds.h \ |
86 | xxportmanager.h \ | 96 | xxportmanager.h \ |
87 | xxportobject.h \ | 97 | xxportobject.h \ |
88 | xxportselectdialog.h \ | 98 | xxportselectdialog.h \ |
89 | details/detailsviewcontainer.h \ | 99 | details/detailsviewcontainer.h \ |
90 | details/look_basic.h \ | 100 | details/look_basic.h \ |
91 | details/look_html.h \ | 101 | details/look_html.h \ |
92 | views/kaddressbookiconview.h \ | 102 | views/kaddressbookiconview.h \ |
93 | views/kaddressbooktableview.h \ | 103 | views/kaddressbooktableview.h \ |
94 | views/kaddressbookcardview.h \ | 104 | views/kaddressbookcardview.h \ |
95 | views/configuretableviewdialog.h \ | 105 | views/configuretableviewdialog.h \ |
96 | views/configurecardviewdialog.h \ | 106 | views/configurecardviewdialog.h \ |
97 | views/cardview.h \ | 107 | views/cardview.h \ |
98 | views/colorlistbox.h \ | 108 | views/colorlistbox.h \ |
99 | views/contactlistview.h \ | 109 | views/contactlistview.h \ |
100 | xxport/vcard_xxport.h \ | 110 | xxport/vcard_xxport.h \ |
101 | xxport/kde2_xxport.h \ | 111 | xxport/kde2_xxport.h \ |
102 | xxport/csv_xxport.h \ | 112 | xxport/csv_xxport.h \ |
103 | xxport/csvimportdialog.h \ | 113 | xxport/csvimportdialog.h \ |
104 | xxport/opie_xxport.h \ | 114 | xxport/opie_xxport.h \ |
105 | xxport/qtopia_xxport.h \ | 115 | xxport/qtopia_xxport.h \ |
106 | xxport/sharpdtm_xxport.h \ | 116 | xxport/sharpdtm_xxport.h \ |
107 | #details/look_details.h \ | 117 | #details/look_details.h \ |
108 | #mainwindoiw.h \ | 118 | #mainwindoiw.h \ |
109 | # alarmclient.h \ | 119 | # alarmclient.h \ |
110 | # calendarview.h \ | 120 | # calendarview.h \ |
111 | # customlistviewitem.h \ | 121 | # customlistviewitem.h \ |
112 | # datenavigator.h | 122 | # datenavigator.h |
113 | 123 | ||
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 | 2 | include( ./variables.pri ) | |
3 | TEMPLATE = subdirs | 3 | TEMPLATE = subdirs |
4 | SUBDIRS = libical libkcal kabc libkdepim microkde korganizer kaddressbook kabc/plugins/file kabc/plugins/dir kabc/plugins/qtopia gammu/emb/common gammu/emb/gammu | 4 | SUBDIRS = libical libkcal kabc libkdepim microkde korganizer kaddressbook kabc/plugins/file kabc/plugins/dir kabc/plugins/qtopia gammu/emb/common gammu/emb/gammu |
5 | unix:{ | 5 | unix:{ |
6 | !staticlib: { | ||
6 | SUBDIRS += libetpan kmicromail/libmailwrapper kmicromail pwmanager/libcrypt/cipher pwmanager/libcrypt/error pwmanager/libcrypt/mpi pwmanager/libcrypt/zlib pwmanager/pwmanager | 7 | SUBDIRS += 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,121 +1,130 @@ | |||
1 | TEMPLATE= app | 1 | TEMPLATE= app |
2 | CONFIG += qt warn_on | 2 | CONFIG += qt warn_on |
3 | TARGET = kopi | 3 | TARGET = kopi |
4 | OBJECTS_DIR = _obj/ | 4 | OBJECTS_DIR = _obj/ |
5 | MOC_DIR = _moc | 5 | MOC_DIR = _moc |
6 | DESTDIR= ../bin | 6 | DESTDIR= ../bin |
7 | 7 | ||
8 | include( ../variables.pri ) | 8 | include( ../variables.pri ) |
9 | 9 | ||
10 | INCLUDEPATH += ../microkde ../ interfaces ../microkde/kdecore ../microkde/kdeui ../microkde/kio/kfile ../microkde/kio/kio ../libkdepim | 10 | INCLUDEPATH += ../microkde ../ interfaces ../microkde/kdecore ../microkde/kdeui ../microkde/kio/kfile ../microkde/kio/kio ../libkdepim |
11 | #../qtcompat | 11 | #../qtcompat |
12 | DEFINES += KORG_NOPLUGINS KORG_NOARCHIVE KORG_NOMAIL | 12 | DEFINES += KORG_NOPLUGINS KORG_NOARCHIVE KORG_NOMAIL |
13 | DEFINES += KORG_NODCOP KORG_NOKALARMD KORG_NORESOURCEVIEW KORG_NOSPLITTER | 13 | DEFINES += KORG_NODCOP KORG_NOKALARMD KORG_NORESOURCEVIEW KORG_NOSPLITTER |
14 | #KORG_NOPRINTER KORG_NOKABC KORG_NODND | 14 | #KORG_NOPRINTER KORG_NOKABC KORG_NODND |
15 | DEFINES += KORG_NOLVALTERNATION | 15 | DEFINES += KORG_NOLVALTERNATION |
16 | DEFINES += DESKTOP_VERSION | 16 | DEFINES += DESKTOP_VERSION |
17 | unix : { | 17 | unix : { |
18 | staticlib: { | ||
19 | LIBS += ../bin/libmicrokdepim.a | ||
20 | LIBS += ../bin/libmicrokcal.a | ||
21 | LIBS += ../bin/libmicrokabc.a | ||
22 | LIBS += ../bin/libmicrokde.a | ||
23 | LIBS += ../libical/lib/libical.a | ||
24 | LIBS += ../libical/lib/libicalss.a | ||
25 | } else { | ||
18 | LIBS += ../bin/libmicrokdepim.so | 26 | LIBS += ../bin/libmicrokdepim.so |
19 | LIBS += ../bin/libmicrokcal.so | 27 | LIBS += ../bin/libmicrokcal.so |
20 | LIBS += ../bin/libmicrokde.so | 28 | LIBS += ../bin/libmicrokde.so |
21 | LIBS += ../bin/libmicrokabc.so | 29 | LIBS += ../bin/libmicrokabc.so |
22 | #LIBS += -lbluetooth | 30 | #LIBS += -lbluetooth |
23 | #LIBS += -lsdp | 31 | #LIBS += -lsdp |
24 | 32 | ||
25 | #LIBS += -lldap | 33 | #LIBS += -lldap |
34 | } | ||
26 | OBJECTS_DIR = obj/unix | 35 | OBJECTS_DIR = obj/unix |
27 | MOC_DIR = moc/unix | 36 | MOC_DIR = moc/unix |
28 | } | 37 | } |
29 | win32: { | 38 | win32: { |
30 | RC_FILE = winicons.rc | 39 | RC_FILE = winicons.rc |
31 | DEFINES += _WIN32_ | 40 | DEFINES += _WIN32_ |
32 | LIBS += ../bin/microkdepim.lib | 41 | LIBS += ../bin/microkdepim.lib |
33 | LIBS += ../bin/microkcal.lib | 42 | LIBS += ../bin/microkcal.lib |
34 | LIBS += ../bin/microkde.lib | 43 | LIBS += ../bin/microkde.lib |
35 | LIBS += ../bin/microkabc.lib | 44 | LIBS += ../bin/microkabc.lib |
36 | LIBS += ../libical/lib/ical.lib | 45 | LIBS += ../libical/lib/ical.lib |
37 | LIBS += ../libical/lib/icalss.lib | 46 | LIBS += ../libical/lib/icalss.lib |
38 | #LIBS += atls.lib | 47 | #LIBS += atls.lib |
39 | QMAKE_LINK += /NODEFAULTLIB:LIBC | 48 | QMAKE_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 |
42 | OBJECTS_DIR = obj/win | 51 | OBJECTS_DIR = obj/win |
43 | MOC_DIR = moc/win | 52 | MOC_DIR = moc/win |
44 | #olimport section | 53 | #olimport section |
45 | #blabla: { | 54 | #blabla: { |
46 | LIBS += mfc71u.lib | 55 | LIBS += mfc71u.lib |
47 | DEFINES += _OL_IMPORT_ | 56 | DEFINES += _OL_IMPORT_ |
48 | 57 | ||
49 | HEADERS += ../outport/msoutl9.h \ | 58 | HEADERS += ../outport/msoutl9.h \ |
50 | koimportoldialog.h | 59 | koimportoldialog.h |
51 | SOURCES += ../outport/msoutl9.cpp \ | 60 | SOURCES += ../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 | ||
59 | INTERFACES = kofilterview_base.ui | 68 | INTERFACES = kofilterview_base.ui |
60 | #filteredit_base.ui | 69 | #filteredit_base.ui |
61 | 70 | ||
62 | # kdateedit.h \ | 71 | # kdateedit.h \ |
63 | 72 | ||
64 | HEADERS += datenavigatorcontainer.h \ | 73 | HEADERS += 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 \ |
74 | interfaces/korganizer/baseview.h \ | 83 | interfaces/korganizer/baseview.h \ |
75 | interfaces/korganizer/calendarviewbase.h \ | 84 | interfaces/korganizer/calendarviewbase.h \ |
76 | journalentry.h \ | 85 | journalentry.h \ |
77 | kdatenavigator.h \ | 86 | kdatenavigator.h \ |
78 | koagenda.h \ | 87 | koagenda.h \ |
79 | koagendaitem.h \ | 88 | koagendaitem.h \ |
80 | koagendaview.h \ | 89 | koagendaview.h \ |
81 | kocounterdialog.h \ | 90 | kocounterdialog.h \ |
82 | kodaymatrix.h \ | 91 | kodaymatrix.h \ |
83 | kodialogmanager.h \ | 92 | kodialogmanager.h \ |
84 | koeditordetails.h \ | 93 | koeditordetails.h \ |
85 | koeditorgeneral.h \ | 94 | koeditorgeneral.h \ |
86 | koeditorgeneralevent.h \ | 95 | koeditorgeneralevent.h \ |
87 | koeditorgeneraltodo.h \ | 96 | koeditorgeneraltodo.h \ |
88 | koeditorrecurrence.h \ | 97 | koeditorrecurrence.h \ |
89 | koeventeditor.h \ | 98 | koeventeditor.h \ |
90 | koeventpopupmenu.h \ | 99 | koeventpopupmenu.h \ |
91 | koeventview.h \ | 100 | koeventview.h \ |
92 | koeventviewer.h \ | 101 | koeventviewer.h \ |
93 | koeventviewerdialog.h \ | 102 | koeventviewerdialog.h \ |
94 | kofilterview.h \ | 103 | kofilterview.h \ |
95 | koglobals.h \ | 104 | koglobals.h \ |
96 | koincidenceeditor.h \ | 105 | koincidenceeditor.h \ |
97 | kojournalview.h \ | 106 | kojournalview.h \ |
98 | kolistview.h \ | 107 | kolistview.h \ |
99 | kolocationbox.h \ | 108 | kolocationbox.h \ |
100 | komonthview.h \ | 109 | komonthview.h \ |
101 | koprefs.h \ | 110 | koprefs.h \ |
102 | koprefsdialog.h \ | 111 | koprefsdialog.h \ |
103 | kotimespanview.h \ | 112 | kotimespanview.h \ |
104 | kotodoeditor.h \ | 113 | kotodoeditor.h \ |
105 | kotodoview.h \ | 114 | kotodoview.h \ |
106 | kotodoviewitem.h \ | 115 | kotodoviewitem.h \ |
107 | koviewmanager.h \ | 116 | koviewmanager.h \ |
108 | kowhatsnextview.h \ | 117 | kowhatsnextview.h \ |
109 | ktimeedit.h \ | 118 | ktimeedit.h \ |
110 | lineview.h \ | 119 | lineview.h \ |
111 | mainwindow.h \ | 120 | mainwindow.h \ |
112 | navigatorbar.h \ | 121 | navigatorbar.h \ |
113 | outgoingdialog.h \ | 122 | outgoingdialog.h \ |
114 | outgoingdialog_base.h \ | 123 | outgoingdialog_base.h \ |
115 | publishdialog.h \ | 124 | publishdialog.h \ |
116 | publishdialog_base.h \ | 125 | publishdialog_base.h \ |
117 | savetemplatedialog.h \ | 126 | savetemplatedialog.h \ |
118 | searchdialog.h \ | 127 | searchdialog.h \ |
119 | simplealarmclient.h \ | 128 | simplealarmclient.h \ |
120 | statusdialog.h \ | 129 | statusdialog.h \ |
121 | timeline.h \ | 130 | timeline.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 | /* |
25 | Enhanced Version of the file for platform independent KDE tools. | 25 | Enhanced Version of the file for platform independent KDE tools. |
26 | Copyright (c) 2004 Ulf Schenk | 26 | Copyright (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_ |
45 | extern "C" | 45 | extern "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 | ||
53 | KCMKdePimConfig::KCMKdePimConfig(QWidget *parent, const char *name ) | 53 | KCMKdePimConfig::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 | ||
66 | void KCMKdePimConfig::load() | 66 | void KCMKdePimConfig::load() |
67 | { | 67 | { |
68 | mConfigWidget->readConfig(); | 68 | mConfigWidget->readConfig(); |
69 | } | 69 | } |
70 | 70 | ||
71 | void KCMKdePimConfig::save() | 71 | void KCMKdePimConfig::save() |
72 | { | 72 | { |
73 | mConfigWidget->writeConfig(); | 73 | mConfigWidget->writeConfig(); |
74 | } | 74 | } |
75 | 75 | ||
76 | void KCMKdePimConfig::defaults() | 76 | void 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 | ||
4 | unix { | 4 | unix { |
5 | CONFIG += release | 5 | CONFIG += release |
6 | #for statically linking | ||
7 | #CONFIG += staticlib | ||
6 | } | 8 | } |
7 | win32 { | 9 | win32 { |
8 | CONFIG += release | 10 | CONFIG += release |
9 | 11 | ||
10 | } \ No newline at end of file | 12 | } \ No newline at end of file |