author | ulf69 <ulf69> | 2004-08-12 17:09:11 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-08-12 17:09:11 (UTC) |
commit | afb21584fdb4dcc201fca13b4c5129fdf2e90154 (patch) (unidiff) | |
tree | 8db9ee9d00c8e1d432f3eed7c35be251932c4bd4 /libkdepim | |
parent | 945f620dd57338d5b920f4ada3ff8e9e8d1cfe74 (diff) | |
download | kdepimpi-afb21584fdb4dcc201fca13b4c5129fdf2e90154.zip kdepimpi-afb21584fdb4dcc201fca13b4c5129fdf2e90154.tar.gz kdepimpi-afb21584fdb4dcc201fca13b4c5129fdf2e90154.tar.bz2 |
implemented new include strategy for makefiles
-rw-r--r-- | libkdepim/categoryeditdialog.h | 2 | ||||
-rw-r--r-- | libkdepim/categoryselectdialog.cpp | 2 | ||||
-rw-r--r-- | libkdepim/categoryselectdialog.h | 2 | ||||
-rw-r--r-- | libkdepim/libkdepim.pro | 2 | ||||
-rw-r--r-- | libkdepim/libkdepimE.pro | 3 |
5 files changed, 5 insertions, 6 deletions
diff --git a/libkdepim/categoryeditdialog.h b/libkdepim/categoryeditdialog.h index 027cb98..4ebc802 100644 --- a/libkdepim/categoryeditdialog.h +++ b/libkdepim/categoryeditdialog.h | |||
@@ -1,58 +1,58 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of libkdepim. | 2 | This file is part of libkdepim. |
3 | Copyright (c) 2000, 2001, 2002 Cornelius Schumacher <schumacher@kde.org> | 3 | Copyright (c) 2000, 2001, 2002 Cornelius Schumacher <schumacher@kde.org> |
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 | #ifndef KPIM_CATEGORYEDITDIALOG_H | 23 | #ifndef KPIM_CATEGORYEDITDIALOG_H |
24 | #define KPIM_CATEGORYEDITDIALOG_H | 24 | #define KPIM_CATEGORYEDITDIALOG_H |
25 | 25 | ||
26 | #include <libkdepim/categoryeditdialog_base.h> | 26 | #include <categoryeditdialog_base.h> |
27 | 27 | ||
28 | class KPimPrefs; | 28 | class KPimPrefs; |
29 | 29 | ||
30 | namespace KPIM { | 30 | namespace KPIM { |
31 | 31 | ||
32 | class CategoryEditDialog : public CategoryEditDialog_base | 32 | class CategoryEditDialog : public CategoryEditDialog_base |
33 | { | 33 | { |
34 | Q_OBJECT | 34 | Q_OBJECT |
35 | public: | 35 | public: |
36 | CategoryEditDialog( KPimPrefs *prefs, QWidget* parent = 0, | 36 | CategoryEditDialog( KPimPrefs *prefs, QWidget* parent = 0, |
37 | const char* name = 0, | 37 | const char* name = 0, |
38 | bool modal = FALSE, WFlags fl = 0 ); | 38 | bool modal = FALSE, WFlags fl = 0 ); |
39 | ~CategoryEditDialog(); | 39 | ~CategoryEditDialog(); |
40 | 40 | ||
41 | public slots: | 41 | public slots: |
42 | void add(); | 42 | void add(); |
43 | void remove(); | 43 | void remove(); |
44 | void modify(); | 44 | void modify(); |
45 | void accept(); | 45 | void accept(); |
46 | 46 | ||
47 | void slotOk(); | 47 | void slotOk(); |
48 | void slotApply(); | 48 | void slotApply(); |
49 | 49 | ||
50 | signals: | 50 | signals: |
51 | void categoryConfigChanged(); | 51 | void categoryConfigChanged(); |
52 | 52 | ||
53 | private slots: | 53 | private slots: |
54 | void editItem(QListViewItem *item); | 54 | void editItem(QListViewItem *item); |
55 | void slotTextChanged(const QString &text); | 55 | void slotTextChanged(const QString &text); |
56 | 56 | ||
57 | KPimPrefs *mPrefs; | 57 | KPimPrefs *mPrefs; |
58 | }; | 58 | }; |
diff --git a/libkdepim/categoryselectdialog.cpp b/libkdepim/categoryselectdialog.cpp index 943d35c..40b46cf 100644 --- a/libkdepim/categoryselectdialog.cpp +++ b/libkdepim/categoryselectdialog.cpp | |||
@@ -1,63 +1,63 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of libkdepim. | 2 | This file is part of libkdepim. |
3 | Copyright (c) 2000, 2001, 2002 Cornelius Schumacher <schumacher@kde.org> | 3 | Copyright (c) 2000, 2001, 2002 Cornelius Schumacher <schumacher@kde.org> |
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 | #include <qlistview.h> | 24 | #include <qlistview.h> |
25 | #include <qpushbutton.h> | 25 | #include <qpushbutton.h> |
26 | #include <qheader.h> | 26 | #include <qheader.h> |
27 | #include <qapp.h> | 27 | #include <qapp.h> |
28 | #include <qmessagebox.h> | 28 | #include <qmessagebox.h> |
29 | 29 | ||
30 | 30 | ||
31 | #include <libkdepim/categoryeditdialog.h> | 31 | #include "categoryeditdialog.h" |
32 | #include "categoryselectdialog.h" | 32 | #include "categoryselectdialog.h" |
33 | 33 | ||
34 | #include "kpimprefs.h" | 34 | #include "kpimprefs.h" |
35 | 35 | ||
36 | using namespace KPIM; | 36 | using namespace KPIM; |
37 | 37 | ||
38 | CategorySelectDialog::CategorySelectDialog( KPimPrefs *prefs, QWidget* parent, | 38 | CategorySelectDialog::CategorySelectDialog( KPimPrefs *prefs, QWidget* parent, |
39 | const char* name, | 39 | const char* name, |
40 | bool modal, WFlags fl ) | 40 | bool modal, WFlags fl ) |
41 | : CategorySelectDialog_base( parent, name, true, fl ), | 41 | : CategorySelectDialog_base( parent, name, true, fl ), |
42 | mPrefs( prefs ) | 42 | mPrefs( prefs ) |
43 | { | 43 | { |
44 | mCategories->header()->hide(); | 44 | mCategories->header()->hide(); |
45 | 45 | ||
46 | setCategories(); | 46 | setCategories(); |
47 | 47 | ||
48 | connect(mButtonEdit,SIGNAL(clicked()),this, SLOT(editCategoriesDialog())); | 48 | connect(mButtonEdit,SIGNAL(clicked()),this, SLOT(editCategoriesDialog())); |
49 | if ( qApp->desktop()->height() < 321 ) | 49 | if ( qApp->desktop()->height() < 321 ) |
50 | setMaximumHeight( QApplication::desktop()->height() - 50 ); | 50 | setMaximumHeight( QApplication::desktop()->height() - 50 ); |
51 | else | 51 | else |
52 | setMaximumHeight( QApplication::desktop()->height() - 80 ); | 52 | setMaximumHeight( QApplication::desktop()->height() - 80 ); |
53 | if ( QApplication::desktop()->width() > 460 ) | 53 | if ( QApplication::desktop()->width() > 460 ) |
54 | resize( 260, 360 ); | 54 | resize( 260, 360 ); |
55 | } | 55 | } |
56 | void CategorySelectDialog::editCategoriesDialog() | 56 | void CategorySelectDialog::editCategoriesDialog() |
57 | { | 57 | { |
58 | KPIM::CategoryEditDialog* ced = new KPIM::CategoryEditDialog(mPrefs,this ); | 58 | KPIM::CategoryEditDialog* ced = new KPIM::CategoryEditDialog(mPrefs,this ); |
59 | 59 | ||
60 | ced->exec(); | 60 | ced->exec(); |
61 | delete ced; | 61 | delete ced; |
62 | setCategories(); | 62 | setCategories(); |
63 | } | 63 | } |
diff --git a/libkdepim/categoryselectdialog.h b/libkdepim/categoryselectdialog.h index 8507dc4..9b6261c 100644 --- a/libkdepim/categoryselectdialog.h +++ b/libkdepim/categoryselectdialog.h | |||
@@ -1,58 +1,58 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of libkdepim. | 2 | This file is part of libkdepim. |
3 | Copyright (c) 2000, 2001, 2002 Cornelius Schumacher <schumacher@kde.org> | 3 | Copyright (c) 2000, 2001, 2002 Cornelius Schumacher <schumacher@kde.org> |
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 | #ifndef KPIM_CATEGORYSELECTDIALOG_H | 23 | #ifndef KPIM_CATEGORYSELECTDIALOG_H |
24 | #define KPIM_CATEGORYSELECTDIALOG_H | 24 | #define KPIM_CATEGORYSELECTDIALOG_H |
25 | 25 | ||
26 | #include <libkdepim/categoryselectdialog_base.h> | 26 | #include <categoryselectdialog_base.h> |
27 | 27 | ||
28 | class KPimPrefs; | 28 | class KPimPrefs; |
29 | 29 | ||
30 | namespace KPIM { | 30 | namespace KPIM { |
31 | 31 | ||
32 | class CategorySelectDialog : public CategorySelectDialog_base | 32 | class CategorySelectDialog : public CategorySelectDialog_base |
33 | { | 33 | { |
34 | Q_OBJECT | 34 | Q_OBJECT |
35 | public: | 35 | public: |
36 | CategorySelectDialog( KPimPrefs *prefs, QWidget* parent = 0, | 36 | CategorySelectDialog( KPimPrefs *prefs, QWidget* parent = 0, |
37 | const char* name = 0, | 37 | const char* name = 0, |
38 | bool modal = FALSE, WFlags fl = 0 ); | 38 | bool modal = FALSE, WFlags fl = 0 ); |
39 | ~CategorySelectDialog(); | 39 | ~CategorySelectDialog(); |
40 | 40 | ||
41 | void setCategories(); | 41 | void setCategories(); |
42 | void setSelected(const QStringList &selList); | 42 | void setSelected(const QStringList &selList); |
43 | 43 | ||
44 | QStringList selectedCategories() const; | 44 | QStringList selectedCategories() const; |
45 | 45 | ||
46 | public slots: | 46 | public slots: |
47 | void slotOk(); | 47 | void slotOk(); |
48 | void slotApply(); | 48 | void slotApply(); |
49 | void clear(); | 49 | void clear(); |
50 | void accept(); | 50 | void accept(); |
51 | void editCategoriesDialog(); | 51 | void editCategoriesDialog(); |
52 | void updateCategoryConfig(); | 52 | void updateCategoryConfig(); |
53 | 53 | ||
54 | signals: | 54 | signals: |
55 | void categoriesSelected(const QString &); | 55 | void categoriesSelected(const QString &); |
56 | void categoriesSelected(const QStringList &); | 56 | void categoriesSelected(const QStringList &); |
57 | void editCategories(); | 57 | void editCategories(); |
58 | 58 | ||
diff --git a/libkdepim/libkdepim.pro b/libkdepim/libkdepim.pro index 060145e..d1d52a4 100644 --- a/libkdepim/libkdepim.pro +++ b/libkdepim/libkdepim.pro | |||
@@ -1,37 +1,37 @@ | |||
1 | TEMPLATE= lib | 1 | TEMPLATE= lib |
2 | CONFIG = qt warn_on | 2 | CONFIG = qt warn_on |
3 | DEFINES +=KORG_NOKABC | 3 | DEFINES +=KORG_NOKABC |
4 | TARGET = microkdepim | 4 | TARGET = microkdepim |
5 | INCLUDEPATH += ../microkde ../microkde/kdecore ../microkde/kdeui . .. | 5 | INCLUDEPATH += . $(KDEPIMDIR) $(KDEPIMDIR)/microkde $(KDEPIMDIR)/microkde/kdecore $(KDEPIMDIR)/microkde/kdeui |
6 | DESTDIR=../bin | 6 | DESTDIR=../bin |
7 | 7 | ||
8 | DEFINES += DESKTOP_VERSION | 8 | DEFINES += DESKTOP_VERSION |
9 | include( ../variables.pri ) | 9 | include( ../variables.pri ) |
10 | unix : { | 10 | unix : { |
11 | OBJECTS_DIR = obj/unix | 11 | OBJECTS_DIR = obj/unix |
12 | MOC_DIR = moc/unix | 12 | MOC_DIR = moc/unix |
13 | } | 13 | } |
14 | win32: { | 14 | win32: { |
15 | DEFINES += _WIN32_ | 15 | DEFINES += _WIN32_ |
16 | OBJECTS_DIR = obj/win | 16 | OBJECTS_DIR = obj/win |
17 | MOC_DIR = moc/win | 17 | MOC_DIR = moc/win |
18 | } | 18 | } |
19 | INTERFACES = \ | 19 | INTERFACES = \ |
20 | 20 | ||
21 | HEADERS = \ | 21 | HEADERS = \ |
22 | categoryeditdialog.h \ | 22 | categoryeditdialog.h \ |
23 | categoryeditdialog_base.h \ | 23 | categoryeditdialog_base.h \ |
24 | categoryselectdialog.h \ | 24 | categoryselectdialog.h \ |
25 | categoryselectdialog_base.h \ | 25 | categoryselectdialog_base.h \ |
26 | externalapphandler.h \ | 26 | externalapphandler.h \ |
27 | kdateedit.h \ | 27 | kdateedit.h \ |
28 | kdatepicker.h \ | 28 | kdatepicker.h \ |
29 | kinputdialog.h \ | 29 | kinputdialog.h \ |
30 | kincidenceformatter.h \ | 30 | kincidenceformatter.h \ |
31 | kpimprefs.h \ | 31 | kpimprefs.h \ |
32 | kpimglobalprefs.h \ | 32 | kpimglobalprefs.h \ |
33 | kprefsdialog.h \ | 33 | kprefsdialog.h \ |
34 | addresseeview.h \ | 34 | addresseeview.h \ |
35 | ksyncprofile.h \ | 35 | ksyncprofile.h \ |
36 | ksyncprefsdialog.h \ | 36 | ksyncprefsdialog.h \ |
37 | kcmconfigs/kcmkdepimconfig.h \ | 37 | kcmconfigs/kcmkdepimconfig.h \ |
diff --git a/libkdepim/libkdepimE.pro b/libkdepim/libkdepimE.pro index 196044b..b455a3e 100644 --- a/libkdepim/libkdepimE.pro +++ b/libkdepim/libkdepimE.pro | |||
@@ -1,37 +1,36 @@ | |||
1 | TEMPLATE= lib | 1 | TEMPLATE= lib |
2 | CONFIG += qt warn_on | 2 | CONFIG += qt warn_on |
3 | TARGET = microkdepim | 3 | TARGET = microkdepim |
4 | INCLUDEPATH += ../microkde ../qtcompat ../microkde/kdecore ../microkde/kdeui $(QPEDIR)/include | 4 | INCLUDEPATH += . $(KDEPIMDIR) $(KDEPIMDIR)/microkde $(KDEPIMDIR)/qtcompat $(KDEPIMDIR)/microkde/kdecore $(KDEPIMDIR)/microkde/kdeui $(QPEDIR)/include |
5 | INCLUDEPATH += . .. | ||
6 | LIBS += -lmicrokde | 5 | LIBS += -lmicrokde |
7 | LIBS += -lmicrokcal | 6 | LIBS += -lmicrokcal |
8 | LIBS += -L$(QPEDIR)/lib | 7 | LIBS += -L$(QPEDIR)/lib |
9 | OBJECTS_DIR = obj/$(PLATFORM) | 8 | OBJECTS_DIR = obj/$(PLATFORM) |
10 | MOC_DIR = moc/$(PLATFORM) | 9 | MOC_DIR = moc/$(PLATFORM) |
11 | DESTDIR=$(QPEDIR)/lib | 10 | DESTDIR=$(QPEDIR)/lib |
12 | 11 | ||
13 | 12 | ||
14 | INTERFACES = \ | 13 | INTERFACES = \ |
15 | 14 | ||
16 | HEADERS = \ | 15 | HEADERS = \ |
17 | categoryeditdialog.h \ | 16 | categoryeditdialog.h \ |
18 | categoryeditdialog_base.h \ | 17 | categoryeditdialog_base.h \ |
19 | categoryselectdialog.h \ | 18 | categoryselectdialog.h \ |
20 | categoryselectdialog_base.h \ | 19 | categoryselectdialog_base.h \ |
21 | externalapphandler.h \ | 20 | externalapphandler.h \ |
22 | kdateedit.h \ | 21 | kdateedit.h \ |
23 | kdatepicker.h \ | 22 | kdatepicker.h \ |
24 | kinputdialog.h \ | 23 | kinputdialog.h \ |
25 | kincidenceformatter.h \ | 24 | kincidenceformatter.h \ |
26 | kpimprefs.h \ | 25 | kpimprefs.h \ |
27 | kpimglobalprefs.h \ | 26 | kpimglobalprefs.h \ |
28 | kprefsdialog.h \ | 27 | kprefsdialog.h \ |
29 | addresseeview.h \ | 28 | addresseeview.h \ |
30 | ksyncprofile.h \ | 29 | ksyncprofile.h \ |
31 | ksyncprefsdialog.h \ | 30 | ksyncprefsdialog.h \ |
32 | kcmconfigs/kcmkdepimconfig.h \ | 31 | kcmconfigs/kcmkdepimconfig.h \ |
33 | kcmconfigs/kdepimconfigwidget.h | 32 | kcmconfigs/kdepimconfigwidget.h |
34 | 33 | ||
35 | 34 | ||
36 | 35 | ||
37 | SOURCES = \ | 36 | SOURCES = \ |