author | zautrix <zautrix> | 2005-07-10 10:17:55 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-10 10:17:55 (UTC) |
commit | 58b7818a74809dc9280a3249eeb7e0195a66f93d (patch) (unidiff) | |
tree | 04b04b867647a8c48d59e7a0fa89df6430039599 /microkde | |
parent | e8b6635ef7c98996f0415e6a77394569493ab151 (diff) | |
download | kdepimpi-58b7818a74809dc9280a3249eeb7e0195a66f93d.zip kdepimpi-58b7818a74809dc9280a3249eeb7e0195a66f93d.tar.gz kdepimpi-58b7818a74809dc9280a3249eeb7e0195a66f93d.tar.bz2 |
fixx
-rw-r--r-- | microkde/kdeui/kbuttonbox.cpp | 2 | ||||
-rw-r--r-- | microkde/kdeui/kpopupmenu.cpp | 19 | ||||
-rw-r--r-- | microkde/kdeui/kpopupmenu.h | 22 | ||||
-rw-r--r-- | microkde/microkde.pro | 2 | ||||
-rw-r--r-- | microkde/microkdeE.pro | 2 |
5 files changed, 44 insertions, 3 deletions
diff --git a/microkde/kdeui/kbuttonbox.cpp b/microkde/kdeui/kbuttonbox.cpp index 16206e8..83d622a 100644 --- a/microkde/kdeui/kbuttonbox.cpp +++ b/microkde/kdeui/kbuttonbox.cpp | |||
@@ -1,145 +1,145 @@ | |||
1 | /* This file is part of the KDE libraries | 1 | /* This file is part of the KDE libraries |
2 | Copyright (C) 1997 Mario Weilguni (mweilguni@sime.com) | 2 | Copyright (C) 1997 Mario Weilguni (mweilguni@sime.com) |
3 | 3 | ||
4 | This library is free software; you can redistribute it and/or | 4 | This library is free software; you can redistribute it and/or |
5 | modify it under the terms of the GNU Library General Public | 5 | modify it under the terms of the GNU Library General Public |
6 | License as published by the Free Software Foundation; either | 6 | License as published by the Free Software Foundation; either |
7 | version 2 of the License, or (at your option) any later version. | 7 | version 2 of the License, or (at your option) any later version. |
8 | 8 | ||
9 | This library is distributed in the hope that it will be useful, | 9 | This library is distributed in the hope that it will be useful, |
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 | Library General Public License for more details. | 12 | Library General Public License for more details. |
13 | 13 | ||
14 | You should have received a copy of the GNU Library General Public License | 14 | You should have received a copy of the GNU Library General Public License |
15 | along with this library; see the file COPYING.LIB. If not, write to | 15 | along with this library; see the file COPYING.LIB. If not, write to |
16 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 16 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
17 | Boston, MA 02111-1307, USA. | 17 | Boston, MA 02111-1307, USA. |
18 | */ | 18 | */ |
19 | 19 | ||
20 | /* | 20 | /* |
21 | * KButtonBox class | 21 | * KButtonBox class |
22 | * | 22 | * |
23 | * A container widget for buttons. Uses Qt layout control to place the | 23 | * A container widget for buttons. Uses Qt layout control to place the |
24 | * buttons, can handle both vertical and horizontal button placement. | 24 | * buttons, can handle both vertical and horizontal button placement. |
25 | * | 25 | * |
26 | * HISTORY | 26 | * HISTORY |
27 | * | 27 | * |
28 | * 03/08/2000 Mario Weilguni <mweilguni@kde.org> | 28 | * 03/08/2000 Mario Weilguni <mweilguni@kde.org> |
29 | * Removed all those long outdated Motif stuff | 29 | * Removed all those long outdated Motif stuff |
30 | * Improved and clarified some if conditions (easier to understand) | 30 | * Improved and clarified some if conditions (easier to understand) |
31 | * | 31 | * |
32 | * 11/13/98 Reginald Stadlbauer <reggie@kde.org> | 32 | * 11/13/98 Reginald Stadlbauer <reggie@kde.org> |
33 | * Now in Qt 1.4x motif default buttons have no extra width/height anymore. | 33 | * Now in Qt 1.4x motif default buttons have no extra width/height anymore. |
34 | * So the KButtonBox doesn't add this width/height to default buttons anymore | 34 | * So the KButtonBox doesn't add this width/height to default buttons anymore |
35 | * which makes the buttons look better. | 35 | * which makes the buttons look better. |
36 | * | 36 | * |
37 | * 01/17/98 Mario Weilguni <mweilguni@sime.com> | 37 | * 01/17/98 Mario Weilguni <mweilguni@sime.com> |
38 | * Fixed a bug in sizeHint() | 38 | * Fixed a bug in sizeHint() |
39 | * Improved the handling of Motif default buttons | 39 | * Improved the handling of Motif default buttons |
40 | * | 40 | * |
41 | * 01/09/98 Mario Weilguni <mweilguni@sime.com> | 41 | * 01/09/98 Mario Weilguni <mweilguni@sime.com> |
42 | * The last button was to far right away from the right/bottom border. | 42 | * The last button was to far right away from the right/bottom border. |
43 | * Fixed this. Removed old code. Buttons get now a minimum width. | 43 | * Fixed this. Removed old code. Buttons get now a minimum width. |
44 | * Programmer may now override minimum width and height of a button. | 44 | * Programmer may now override minimum width and height of a button. |
45 | * | 45 | * |
46 | */ | 46 | */ |
47 | 47 | ||
48 | //US #include "kbuttonbox.moc" | 48 | //US #include "kbuttonbox.moc" |
49 | 49 | ||
50 | #include <kbuttonbox.h> | 50 | #include <kbuttonbox.h> |
51 | #include <qpushbutton.h> | 51 | #include <qpushbutton.h> |
52 | #include <qptrlist.h> | 52 | #include <qptrlist.h> |
53 | #include <assert.h> | 53 | #include <assert.h> |
54 | 54 | ||
55 | #define minButtonWidth 50 | 55 | #define minButtonWidth 50 |
56 | 56 | ||
57 | class KButtonBox::Item { | 57 | class KButtonBox::Item { |
58 | public: | 58 | public: |
59 | QPushButton *button; | 59 | QPushButton *button; |
60 | bool noexpand; | 60 | bool noexpand; |
61 | unsigned short stretch; | 61 | unsigned short stretch; |
62 | unsigned short actual_size; | 62 | unsigned short actual_size; |
63 | }; | 63 | }; |
64 | 64 | ||
65 | template class QPtrList<KButtonBox::Item>; | 65 | template class QPtrList<KButtonBox::Item>; |
66 | 66 | ||
67 | class KButtonBoxPrivate { | 67 | class KButtonBoxPrivate { |
68 | public: | 68 | public: |
69 | unsigned short border; | 69 | unsigned short border; |
70 | unsigned short autoborder; | 70 | unsigned short autoborder; |
71 | unsigned short orientation; | 71 | unsigned short orientation; |
72 | bool activated; | 72 | bool activated; |
73 | QPtrList<KButtonBox::Item> buttons; | 73 | QPtrList<KButtonBox::Item> buttons; |
74 | }; | 74 | }; |
75 | 75 | ||
76 | KButtonBox::KButtonBox(QWidget *parent, Orientation _orientation, | 76 | KButtonBox::KButtonBox(QWidget *parent, Orientation _orientation, |
77 | int border, int autoborder) | 77 | int border, int autoborder) |
78 | : QWidget(parent) | 78 | : QWidget(parent) |
79 | { | 79 | { |
80 | data = new KButtonBoxPrivate; | 80 | data = new KButtonBoxPrivate; |
81 | assert(data != 0); | 81 | assert(data != 0); |
82 | 82 | ||
83 | data->orientation = _orientation; | 83 | data->orientation = _orientation; |
84 | data->border = border; | 84 | data->border = border; |
85 | data->autoborder = autoborder < 0 ? border : autoborder; | 85 | data->autoborder = autoborder < 0 ? border : autoborder; |
86 | data->buttons.setAutoDelete(TRUE); | 86 | data->buttons.setAutoDelete(TRUE); |
87 | } | 87 | } |
88 | 88 | ||
89 | KButtonBox::~KButtonBox() { | 89 | KButtonBox::~KButtonBox() { |
90 | delete data; | 90 | delete data; |
91 | } | 91 | } |
92 | 92 | ||
93 | QPushButton *KButtonBox::addButton(const QString& text, bool noexpand) { | 93 | QPushButton *KButtonBox::addButton(const QString& text, bool noexpand) { |
94 | Item *item = new Item; | 94 | Item *item = new Item; |
95 | 95 | ||
96 | item->button = new QPushButton(text, this); | 96 | item->button = new QPushButton(text, this); |
97 | item->noexpand = noexpand; | 97 | item->noexpand = noexpand; |
98 | data->buttons.append(item); | 98 | data->buttons.append(item); |
99 | item->button->adjustSize(); | 99 | item->button->adjustSize(); |
100 | 100 | ||
101 | return item->button; | 101 | return item->button; |
102 | } | 102 | } |
103 | 103 | ||
104 | QPushButton * | 104 | QPushButton * |
105 | KButtonBox::addButton( | 105 | KButtonBox::addButton( |
106 | const QString & text, | 106 | const QString & text, |
107 | QObject * receiver, | 107 | QObject * receiver, |
108 | const char * slot, | 108 | const char * slot, |
109 | bool noexpand | 109 | bool noexpand |
110 | ) | 110 | ) |
111 | { | 111 | { |
112 | QPushButton * pb = addButton(text, noexpand); | 112 | QPushButton * pb = addButton(text, noexpand); |
113 | 113 | ||
114 | if ((0 != receiver) && (0 != slot)) | 114 | if ((0 != receiver) && (0 != slot)) |
115 | QObject::connect(pb, SIGNAL(clicked()), receiver, slot); | 115 | QObject::connect(pb, SIGNAL(clicked()), receiver, slot); |
116 | 116 | ||
117 | return pb; | 117 | return pb; |
118 | } | 118 | } |
119 | 119 | ||
120 | 120 | ||
121 | void KButtonBox::addStretch(int scale) { | 121 | void KButtonBox::addStretch(int scale) { |
122 | if(scale > 0) { | 122 | if(scale > 0) { |
123 | Item *item = new Item; | 123 | Item *item = new Item; |
124 | item->button = 0; | 124 | item->button = 0; |
125 | item->noexpand = FALSE; | 125 | item->noexpand = FALSE; |
126 | item->stretch = scale; | 126 | item->stretch = scale; |
127 | data->buttons.append(item); | 127 | data->buttons.append(item); |
128 | } | 128 | } |
129 | } | 129 | } |
130 | 130 | ||
131 | void KButtonBox::layout() { | 131 | void KButtonBox::layout() { |
132 | // resize all buttons | 132 | // resize all buttons |
133 | QSize bs = bestButtonSize(); | 133 | QSize bs = bestButtonSize(); |
134 | 134 | ||
135 | for(unsigned int i = 0; i < data->buttons.count(); i++) { | 135 | for(unsigned int i = 0; i < data->buttons.count(); i++) { |
136 | Item *item = data->buttons.at(i); | 136 | Item *item = data->buttons.at(i); |
137 | QPushButton *b = item->button; | 137 | QPushButton *b = item->button; |
138 | if(b != 0) { | 138 | if(b != 0) { |
139 | if(item->noexpand) | 139 | if(item->noexpand) |
140 | b->setFixedSize(buttonSizeHint(b)); | 140 | b->setFixedSize(buttonSizeHint(b)); |
141 | else | 141 | else |
142 | b->setFixedSize(bs); | 142 | b->setFixedSize(bs); |
143 | } | 143 | } |
144 | } | 144 | } |
145 | 145 | ||
diff --git a/microkde/kdeui/kpopupmenu.cpp b/microkde/kdeui/kpopupmenu.cpp new file mode 100644 index 0000000..96d2a87 --- a/dev/null +++ b/microkde/kdeui/kpopupmenu.cpp | |||
@@ -0,0 +1,19 @@ | |||
1 | |||
2 | #include <kpopupmenu.h> | ||
3 | #include <qtimer.h> | ||
4 | |||
5 | |||
6 | KPopupMenu::KPopupMenu ( QWidget * parent, const char * name ) | ||
7 | : QPopupMenu ( parent, name ) {;} | ||
8 | |||
9 | |||
10 | |||
11 | KMenuBar::KMenuBar ( QWidget * parent, const char * name ) | ||
12 | : QPEMenuBar ( parent, name ) {} | ||
13 | |||
14 | void KMenuBar::focusOutEvent ( QFocusEvent * e) | ||
15 | { | ||
16 | QPEMenuBar::focusOutEvent( e ); | ||
17 | QTimer::singleShot( 100, this, SIGNAL ( lostFocus() ) ); | ||
18 | |||
19 | } | ||
diff --git a/microkde/kdeui/kpopupmenu.h b/microkde/kdeui/kpopupmenu.h index 1352429..f16ce77 100644 --- a/microkde/kdeui/kpopupmenu.h +++ b/microkde/kdeui/kpopupmenu.h | |||
@@ -1,14 +1,32 @@ | |||
1 | #ifndef KPOPUPMENU_H | 1 | #ifndef KPOPUPMENU_H |
2 | #define KPOPUPMENU_H | 2 | #define KPOPUPMENU_H |
3 | 3 | ||
4 | #include <qpopupmenu.h> | 4 | #include <qpopupmenu.h> |
5 | #ifdef DESKTOP_VERSION | ||
6 | #include <qmenubar.h> | ||
7 | #define QPEMenuBar QMenubar | ||
8 | #else | ||
9 | #include <qpe/qpemenubar.h> | ||
10 | #endif | ||
5 | 11 | ||
6 | class KPopupMenu : public QPopupMenu | 12 | class KPopupMenu : public QPopupMenu |
7 | { | 13 | { |
14 | Q_OBJECT | ||
8 | public: | 15 | public: |
9 | KPopupMenu ( QWidget * parent=0, const char * name=0 ) | 16 | KPopupMenu ( QWidget * parent=0, const char * name=0 ); |
10 | : QPopupMenu ( parent, name ) {} | 17 | |
18 | }; | ||
11 | 19 | ||
20 | |||
21 | class KMenuBar : public QPEMenuBar | ||
22 | { | ||
23 | Q_OBJECT | ||
24 | public: | ||
25 | KMenuBar ( QWidget * parent=0, const char * name=0 ); | ||
26 | signals: | ||
27 | void lostFocus(); | ||
28 | protected: | ||
29 | void focusOutEvent ( QFocusEvent * e); | ||
12 | }; | 30 | }; |
13 | 31 | ||
14 | #endif | 32 | #endif |
diff --git a/microkde/microkde.pro b/microkde/microkde.pro index 44e5f9d..7120bdd 100644 --- a/microkde/microkde.pro +++ b/microkde/microkde.pro | |||
@@ -10,169 +10,171 @@ TARGET = microkde | |||
10 | DESTDIR= ../bin | 10 | DESTDIR= ../bin |
11 | DEFINES += DESKTOP_VERSION KDE_QT_ONLY | 11 | DEFINES += DESKTOP_VERSION KDE_QT_ONLY |
12 | unix : { | 12 | unix : { |
13 | staticlib: { | 13 | staticlib: { |
14 | INCLUDEPATH += ../kabc/plugins | 14 | INCLUDEPATH += ../kabc/plugins |
15 | DEFINES += STATIC_RESOURCES | 15 | DEFINES += STATIC_RESOURCES |
16 | } | 16 | } |
17 | 17 | ||
18 | 18 | ||
19 | OBJECTS_DIR = obj/unix | 19 | OBJECTS_DIR = obj/unix |
20 | MOC_DIR = moc/unix | 20 | MOC_DIR = moc/unix |
21 | } | 21 | } |
22 | win32: { | 22 | win32: { |
23 | DEFINES += _WIN32_ | 23 | DEFINES += _WIN32_ |
24 | OBJECTS_DIR = obj/win | 24 | OBJECTS_DIR = obj/win |
25 | MOC_DIR = moc/win | 25 | MOC_DIR = moc/win |
26 | } | 26 | } |
27 | 27 | ||
28 | 28 | ||
29 | 29 | ||
30 | HEADERS = \ | 30 | HEADERS = \ |
31 | qlayoutengine_p.h \ | 31 | qlayoutengine_p.h \ |
32 | KDGanttMinimizeSplitter.h \ | 32 | KDGanttMinimizeSplitter.h \ |
33 | kapplication.h \ | 33 | kapplication.h \ |
34 | kaudioplayer.h \ | 34 | kaudioplayer.h \ |
35 | kcalendarsystem.h \ | 35 | kcalendarsystem.h \ |
36 | kcalendarsystemgregorian.h \ | 36 | kcalendarsystemgregorian.h \ |
37 | kcolorbutton.h \ | 37 | kcolorbutton.h \ |
38 | kcombobox.h \ | 38 | kcombobox.h \ |
39 | kconfig.h \ | 39 | kconfig.h \ |
40 | kdatetbl.h \ | 40 | kdatetbl.h \ |
41 | kdebug.h \ | 41 | kdebug.h \ |
42 | kdialog.h \ | 42 | kdialog.h \ |
43 | kdialogbase.h \ | 43 | kdialogbase.h \ |
44 | keditlistbox.h \ | 44 | keditlistbox.h \ |
45 | kemailsettings.h \ | 45 | kemailsettings.h \ |
46 | kfiledialog.h \ | 46 | kfiledialog.h \ |
47 | kfontdialog.h \ | 47 | kfontdialog.h \ |
48 | kglobal.h \ | 48 | kglobal.h \ |
49 | kglobalsettings.h \ | 49 | kglobalsettings.h \ |
50 | kiconloader.h \ | 50 | kiconloader.h \ |
51 | klineedit.h \ | 51 | klineedit.h \ |
52 | klineeditdlg.h \ | 52 | klineeditdlg.h \ |
53 | kmessagebox.h \ | 53 | kmessagebox.h \ |
54 | knotifyclient.h \ | 54 | knotifyclient.h \ |
55 | kprinter.h \ | 55 | kprinter.h \ |
56 | kprocess.h \ | 56 | kprocess.h \ |
57 | krestrictedline.h \ | 57 | krestrictedline.h \ |
58 | krun.h \ | 58 | krun.h \ |
59 | ksimpleconfig.h \ | 59 | ksimpleconfig.h \ |
60 | kstaticdeleter.h \ | 60 | kstaticdeleter.h \ |
61 | ksystemtray.h \ | 61 | ksystemtray.h \ |
62 | ktempfile.h \ | 62 | ktempfile.h \ |
63 | ktextedit.h \ | 63 | ktextedit.h \ |
64 | kunload.h \ | 64 | kunload.h \ |
65 | kurl.h \ | 65 | kurl.h \ |
66 | kdeui/kguiitem.h \ | 66 | kdeui/kguiitem.h \ |
67 | kdeui/kcmodule.h \ | 67 | kdeui/kcmodule.h \ |
68 | kdeui/kbuttonbox.h \ | 68 | kdeui/kbuttonbox.h \ |
69 | kdeui/klistbox.h \ | 69 | kdeui/klistbox.h \ |
70 | kdeui/klistview.h \ | 70 | kdeui/klistview.h \ |
71 | kdeui/kjanuswidget.h \ | 71 | kdeui/kjanuswidget.h \ |
72 | kdeui/kseparator.h \ | 72 | kdeui/kseparator.h \ |
73 | kdeui/knuminput.h \ | 73 | kdeui/knuminput.h \ |
74 | kdeui/knumvalidator.h \ | 74 | kdeui/knumvalidator.h \ |
75 | kdeui/ksqueezedtextlabel.h \ | 75 | kdeui/ksqueezedtextlabel.h \ |
76 | kio/job.h \ | 76 | kio/job.h \ |
77 | kio/kio/kdirwatch.h \ | 77 | kio/kio/kdirwatch.h \ |
78 | kio/kio/kdirwatch_p.h \ | 78 | kio/kio/kdirwatch_p.h \ |
79 | kio/kfile/kurlrequester.h \ | 79 | kio/kfile/kurlrequester.h \ |
80 | kresources/resource.h \ | 80 | kresources/resource.h \ |
81 | kresources/factory.h \ | 81 | kresources/factory.h \ |
82 | kresources/managerimpl.h \ | 82 | kresources/managerimpl.h \ |
83 | kresources/manager.h \ | 83 | kresources/manager.h \ |
84 | kresources/selectdialog.h \ | 84 | kresources/selectdialog.h \ |
85 | kresources/configpage.h \ | 85 | kresources/configpage.h \ |
86 | kresources/configwidget.h \ | 86 | kresources/configwidget.h \ |
87 | kresources/configdialog.h \ | 87 | kresources/configdialog.h \ |
88 | kresources/kcmkresources.h \ | 88 | kresources/kcmkresources.h \ |
89 | kdecore/kmdcodec.h \ | 89 | kdecore/kmdcodec.h \ |
90 | kdecore/kconfigbase.h \ | 90 | kdecore/kconfigbase.h \ |
91 | kdecore/klocale.h \ | 91 | kdecore/klocale.h \ |
92 | kdecore/kcatalogue.h \ | 92 | kdecore/kcatalogue.h \ |
93 | kdecore/ksharedptr.h \ | 93 | kdecore/ksharedptr.h \ |
94 | kdecore/kshell.h \ | 94 | kdecore/kshell.h \ |
95 | kdecore/kstandarddirs.h \ | 95 | kdecore/kstandarddirs.h \ |
96 | kdecore/kstringhandler.h \ | 96 | kdecore/kstringhandler.h \ |
97 | kdecore/kshortcut.h \ | 97 | kdecore/kshortcut.h \ |
98 | kutils/kcmultidialog.h \ | 98 | kutils/kcmultidialog.h \ |
99 | kdeui/kxmlguiclient.h \ | 99 | kdeui/kxmlguiclient.h \ |
100 | kdeui/kstdaction.h \ | 100 | kdeui/kstdaction.h \ |
101 | kdeui/kmainwindow.h \ | 101 | kdeui/kmainwindow.h \ |
102 | kdeui/ktoolbar.h \ | 102 | kdeui/ktoolbar.h \ |
103 | kdeui/ktoolbarbutton.h \ | 103 | kdeui/ktoolbarbutton.h \ |
104 | kdeui/ktoolbarhandler.h \ | 104 | kdeui/ktoolbarhandler.h \ |
105 | kdeui/kaction.h \ | 105 | kdeui/kaction.h \ |
106 | kdeui/kpopupmenu.h \ | ||
106 | kdeui/kactionclasses.h \ | 107 | kdeui/kactionclasses.h \ |
107 | kdeui/kactioncollection.h \ | 108 | kdeui/kactioncollection.h \ |
108 | kdecore/kprefs.h \ | 109 | kdecore/kprefs.h \ |
109 | kdecore/klibloader.h \ | 110 | kdecore/klibloader.h \ |
110 | kidmanager.h | 111 | kidmanager.h |
111 | 112 | ||
112 | 113 | ||
113 | # kdecore/klibloader.h \ | 114 | # kdecore/klibloader.h \ |
114 | 115 | ||
115 | 116 | ||
116 | SOURCES = \ | 117 | SOURCES = \ |
117 | KDGanttMinimizeSplitter.cpp \ | 118 | KDGanttMinimizeSplitter.cpp \ |
118 | kapplication.cpp \ | 119 | kapplication.cpp \ |
119 | kcalendarsystem.cpp \ | 120 | kcalendarsystem.cpp \ |
120 | kcalendarsystemgregorian.cpp \ | 121 | kcalendarsystemgregorian.cpp \ |
121 | kcolorbutton.cpp \ | 122 | kcolorbutton.cpp \ |
122 | kconfig.cpp \ | 123 | kconfig.cpp \ |
123 | kdatetbl.cpp \ | 124 | kdatetbl.cpp \ |
124 | kdialog.cpp \ | 125 | kdialog.cpp \ |
125 | kdialogbase.cpp \ | 126 | kdialogbase.cpp \ |
126 | keditlistbox.cpp \ | 127 | keditlistbox.cpp \ |
127 | kemailsettings.cpp \ | 128 | kemailsettings.cpp \ |
128 | kfontdialog.cpp \ | 129 | kfontdialog.cpp \ |
129 | kfiledialog.cpp \ | 130 | kfiledialog.cpp \ |
130 | kglobal.cpp \ | 131 | kglobal.cpp \ |
131 | kglobalsettings.cpp \ | 132 | kglobalsettings.cpp \ |
132 | kiconloader.cpp \ | 133 | kiconloader.cpp \ |
133 | kmessagebox.cpp \ | 134 | kmessagebox.cpp \ |
134 | ktextedit.cpp \ | 135 | ktextedit.cpp \ |
135 | kprocess.cpp \ | 136 | kprocess.cpp \ |
136 | krun.cpp \ | 137 | krun.cpp \ |
137 | ksystemtray.cpp \ | 138 | ksystemtray.cpp \ |
138 | ktempfile.cpp \ | 139 | ktempfile.cpp \ |
139 | kurl.cpp \ | 140 | kurl.cpp \ |
140 | kdecore/kcatalogue.cpp \ | 141 | kdecore/kcatalogue.cpp \ |
141 | kdecore/klocale.cpp \ | 142 | kdecore/klocale.cpp \ |
142 | kdecore/kmdcodec.cpp \ | 143 | kdecore/kmdcodec.cpp \ |
143 | kdecore/kshell.cpp \ | 144 | kdecore/kshell.cpp \ |
144 | kdecore/kstandarddirs.cpp \ | 145 | kdecore/kstandarddirs.cpp \ |
145 | kdecore/kstringhandler.cpp \ | 146 | kdecore/kstringhandler.cpp \ |
146 | kdeui/kbuttonbox.cpp \ | 147 | kdeui/kbuttonbox.cpp \ |
147 | kdeui/kcmodule.cpp \ | 148 | kdeui/kcmodule.cpp \ |
148 | kdeui/kguiitem.cpp \ | 149 | kdeui/kguiitem.cpp \ |
149 | kdeui/kjanuswidget.cpp \ | 150 | kdeui/kjanuswidget.cpp \ |
150 | kdeui/klistbox.cpp \ | 151 | kdeui/klistbox.cpp \ |
151 | kdeui/klistview.cpp \ | 152 | kdeui/klistview.cpp \ |
152 | kdeui/knuminput.cpp \ | 153 | kdeui/knuminput.cpp \ |
153 | kdeui/knumvalidator.cpp \ | 154 | kdeui/knumvalidator.cpp \ |
154 | kdeui/kseparator.cpp \ | 155 | kdeui/kseparator.cpp \ |
155 | kdeui/ksqueezedtextlabel.cpp \ | 156 | kdeui/ksqueezedtextlabel.cpp \ |
156 | kio/kio/kdirwatch.cpp \ | 157 | kio/kio/kdirwatch.cpp \ |
157 | kio/kfile/kurlrequester.cpp \ | 158 | kio/kfile/kurlrequester.cpp \ |
158 | kresources/configpage.cpp \ | 159 | kresources/configpage.cpp \ |
159 | kresources/configdialog.cpp \ | 160 | kresources/configdialog.cpp \ |
160 | kresources/configwidget.cpp \ | 161 | kresources/configwidget.cpp \ |
161 | kresources/factory.cpp \ | 162 | kresources/factory.cpp \ |
162 | kresources/kcmkresources.cpp \ | 163 | kresources/kcmkresources.cpp \ |
163 | kresources/managerimpl.cpp \ | 164 | kresources/managerimpl.cpp \ |
164 | kresources/resource.cpp \ | 165 | kresources/resource.cpp \ |
165 | kresources/selectdialog.cpp \ | 166 | kresources/selectdialog.cpp \ |
166 | kutils/kcmultidialog.cpp \ | 167 | kutils/kcmultidialog.cpp \ |
167 | kdeui/kaction.cpp \ | 168 | kdeui/kaction.cpp \ |
169 | kdeui/kpopupmenu.cpp \ | ||
168 | kdeui/kactionclasses.cpp \ | 170 | kdeui/kactionclasses.cpp \ |
169 | kdeui/kactioncollection.cpp \ | 171 | kdeui/kactioncollection.cpp \ |
170 | kdeui/kmainwindow.cpp \ | 172 | kdeui/kmainwindow.cpp \ |
171 | kdeui/ktoolbar.cpp \ | 173 | kdeui/ktoolbar.cpp \ |
172 | kdeui/ktoolbarbutton.cpp \ | 174 | kdeui/ktoolbarbutton.cpp \ |
173 | kdeui/ktoolbarhandler.cpp \ | 175 | kdeui/ktoolbarhandler.cpp \ |
174 | kdeui/kstdaction.cpp \ | 176 | kdeui/kstdaction.cpp \ |
175 | kdeui/kxmlguiclient.cpp \ | 177 | kdeui/kxmlguiclient.cpp \ |
176 | kdecore/kprefs.cpp \ | 178 | kdecore/kprefs.cpp \ |
177 | kdecore/klibloader.cpp \ | 179 | kdecore/klibloader.cpp \ |
178 | kidmanager.cpp | 180 | kidmanager.cpp |
diff --git a/microkde/microkdeE.pro b/microkde/microkdeE.pro index 335fcd0..8fe2bd5 100644 --- a/microkde/microkdeE.pro +++ b/microkde/microkdeE.pro | |||
@@ -1,172 +1,174 @@ | |||
1 | TEMPLATE= lib | 1 | TEMPLATE= lib |
2 | CONFIG += qt warn_on | 2 | CONFIG += qt warn_on |
3 | INCLUDEPATH += . .. $(KDEPIMDIR)/qtcompat $(KDEPIMDIR)/kabc kdecore kdeui kio/kfile kio/kio $(QPEDIR)/include | 3 | INCLUDEPATH += . .. $(KDEPIMDIR)/qtcompat $(KDEPIMDIR)/kabc kdecore kdeui kio/kfile kio/kio $(QPEDIR)/include |
4 | 4 | ||
5 | DEPENDPATH += $(QPEDIR)/include | 5 | DEPENDPATH += $(QPEDIR)/include |
6 | LIBS += -lmicroqtcompat -L$(QPEDIR)/lib | 6 | LIBS += -lmicroqtcompat -L$(QPEDIR)/lib |
7 | 7 | ||
8 | DEFINES += KDE_QT_ONLY | 8 | DEFINES += KDE_QT_ONLY |
9 | 9 | ||
10 | TARGET = microkde | 10 | TARGET = microkde |
11 | OBJECTS_DIR = obj/$(PLATFORM) | 11 | OBJECTS_DIR = obj/$(PLATFORM) |
12 | MOC_DIR = moc/$(PLATFORM) | 12 | MOC_DIR = moc/$(PLATFORM) |
13 | DESTDIR=$(QPEDIR)/lib | 13 | DESTDIR=$(QPEDIR)/lib |
14 | 14 | ||
15 | 15 | ||
16 | INTERFACES = \ | 16 | INTERFACES = \ |
17 | 17 | ||
18 | HEADERS = \ | 18 | HEADERS = \ |
19 | qlayoutengine_p.h fncolordialog.h\ | 19 | qlayoutengine_p.h fncolordialog.h\ |
20 | KDGanttMinimizeSplitter.h \ | 20 | KDGanttMinimizeSplitter.h \ |
21 | kapplication.h \ | 21 | kapplication.h \ |
22 | kaudioplayer.h \ | 22 | kaudioplayer.h \ |
23 | kcalendarsystem.h \ | 23 | kcalendarsystem.h \ |
24 | kcalendarsystemgregorian.h \ | 24 | kcalendarsystemgregorian.h \ |
25 | kcolorbutton.h \ | 25 | kcolorbutton.h \ |
26 | kcolordialog.h \ | 26 | kcolordialog.h \ |
27 | kcombobox.h \ | 27 | kcombobox.h \ |
28 | kconfig.h \ | 28 | kconfig.h \ |
29 | kdatetbl.h \ | 29 | kdatetbl.h \ |
30 | kdebug.h \ | 30 | kdebug.h \ |
31 | kdialog.h \ | 31 | kdialog.h \ |
32 | kdialogbase.h \ | 32 | kdialogbase.h \ |
33 | keditlistbox.h \ | 33 | keditlistbox.h \ |
34 | kemailsettings.h \ | 34 | kemailsettings.h \ |
35 | kfiledialog.h \ | 35 | kfiledialog.h \ |
36 | kfontdialog.h \ | 36 | kfontdialog.h \ |
37 | kglobal.h \ | 37 | kglobal.h \ |
38 | kglobalsettings.h \ | 38 | kglobalsettings.h \ |
39 | kiconloader.h \ | 39 | kiconloader.h \ |
40 | klineedit.h \ | 40 | klineedit.h \ |
41 | klineeditdlg.h \ | 41 | klineeditdlg.h \ |
42 | kmessagebox.h \ | 42 | kmessagebox.h \ |
43 | knotifyclient.h \ | 43 | knotifyclient.h \ |
44 | kprinter.h \ | 44 | kprinter.h \ |
45 | kprocess.h \ | 45 | kprocess.h \ |
46 | krestrictedline.h \ | 46 | krestrictedline.h \ |
47 | krun.h \ | 47 | krun.h \ |
48 | ksimpleconfig.h \ | 48 | ksimpleconfig.h \ |
49 | kstaticdeleter.h \ | 49 | kstaticdeleter.h \ |
50 | ksystemtray.h \ | 50 | ksystemtray.h \ |
51 | ktempfile.h \ | 51 | ktempfile.h \ |
52 | ktextedit.h \ | 52 | ktextedit.h \ |
53 | kunload.h \ | 53 | kunload.h \ |
54 | kurl.h \ | 54 | kurl.h \ |
55 | ofileselector_p.h \ | 55 | ofileselector_p.h \ |
56 | ofontselector.h \ | 56 | ofontselector.h \ |
57 | kdeui/kguiitem.h \ | 57 | kdeui/kguiitem.h \ |
58 | kdeui/kaction.h \ | 58 | kdeui/kaction.h \ |
59 | kdeui/kpopupmenu.h \ | ||
59 | kdeui/kactionclasses.h \ | 60 | kdeui/kactionclasses.h \ |
60 | kdeui/kactioncollection.h \ | 61 | kdeui/kactioncollection.h \ |
61 | kdeui/kcmodule.h \ | 62 | kdeui/kcmodule.h \ |
62 | kdeui/kstdaction.h \ | 63 | kdeui/kstdaction.h \ |
63 | kdeui/kbuttonbox.h \ | 64 | kdeui/kbuttonbox.h \ |
64 | kdeui/klistbox.h \ | 65 | kdeui/klistbox.h \ |
65 | kdeui/klistview.h \ | 66 | kdeui/klistview.h \ |
66 | kdeui/kjanuswidget.h \ | 67 | kdeui/kjanuswidget.h \ |
67 | kdeui/kseparator.h \ | 68 | kdeui/kseparator.h \ |
68 | kdeui/kmainwindow.h \ | 69 | kdeui/kmainwindow.h \ |
69 | kdeui/knuminput.h \ | 70 | kdeui/knuminput.h \ |
70 | kdeui/knumvalidator.h \ | 71 | kdeui/knumvalidator.h \ |
71 | kdeui/ksqueezedtextlabel.h \ | 72 | kdeui/ksqueezedtextlabel.h \ |
72 | kdeui/ktoolbar.h \ | 73 | kdeui/ktoolbar.h \ |
73 | kdeui/ktoolbarbutton.h \ | 74 | kdeui/ktoolbarbutton.h \ |
74 | kdeui/ktoolbarhandler.h \ | 75 | kdeui/ktoolbarhandler.h \ |
75 | kdeui/kxmlguiclient.h \ | 76 | kdeui/kxmlguiclient.h \ |
76 | kio/job.h \ | 77 | kio/job.h \ |
77 | kio/kio/kdirwatch.h \ | 78 | kio/kio/kdirwatch.h \ |
78 | kio/kio/kdirwatch_p.h \ | 79 | kio/kio/kdirwatch_p.h \ |
79 | kio/kfile/kurlrequester.h \ | 80 | kio/kfile/kurlrequester.h \ |
80 | kresources/resource.h \ | 81 | kresources/resource.h \ |
81 | kresources/factory.h \ | 82 | kresources/factory.h \ |
82 | kresources/managerimpl.h \ | 83 | kresources/managerimpl.h \ |
83 | kresources/manager.h \ | 84 | kresources/manager.h \ |
84 | kresources/selectdialog.h \ | 85 | kresources/selectdialog.h \ |
85 | kresources/configpage.h \ | 86 | kresources/configpage.h \ |
86 | kresources/configwidget.h \ | 87 | kresources/configwidget.h \ |
87 | kresources/configdialog.h \ | 88 | kresources/configdialog.h \ |
88 | kresources/kcmkresources.h \ | 89 | kresources/kcmkresources.h \ |
89 | kdecore/kmdcodec.h \ | 90 | kdecore/kmdcodec.h \ |
90 | kdecore/kconfigbase.h \ | 91 | kdecore/kconfigbase.h \ |
91 | kdecore/klocale.h \ | 92 | kdecore/klocale.h \ |
92 | kdecore/klibloader.h \ | 93 | kdecore/klibloader.h \ |
93 | kdecore/kcatalogue.h \ | 94 | kdecore/kcatalogue.h \ |
94 | kdecore/kprefs.h \ | 95 | kdecore/kprefs.h \ |
95 | kdecore/ksharedptr.h \ | 96 | kdecore/ksharedptr.h \ |
96 | kdecore/kshell.h \ | 97 | kdecore/kshell.h \ |
97 | kdecore/kstandarddirs.h \ | 98 | kdecore/kstandarddirs.h \ |
98 | kdecore/kstringhandler.h \ | 99 | kdecore/kstringhandler.h \ |
99 | kdecore/kshortcut.h \ | 100 | kdecore/kshortcut.h \ |
100 | kutils/kcmultidialog.h \ | 101 | kutils/kcmultidialog.h \ |
101 | kidmanager.h | 102 | kidmanager.h |
102 | 103 | ||
103 | 104 | ||
104 | 105 | ||
105 | 106 | ||
106 | SOURCES = \ | 107 | SOURCES = \ |
107 | KDGanttMinimizeSplitter.cpp fncolordialog.cpp \ | 108 | KDGanttMinimizeSplitter.cpp fncolordialog.cpp \ |
108 | kapplication.cpp \ | 109 | kapplication.cpp \ |
109 | kcalendarsystem.cpp \ | 110 | kcalendarsystem.cpp \ |
110 | kcalendarsystemgregorian.cpp \ | 111 | kcalendarsystemgregorian.cpp \ |
111 | kcolorbutton.cpp \ | 112 | kcolorbutton.cpp \ |
112 | kcolordialog.cpp \ | 113 | kcolordialog.cpp \ |
113 | kconfig.cpp \ | 114 | kconfig.cpp \ |
114 | kdatetbl.cpp \ | 115 | kdatetbl.cpp \ |
115 | kdialog.cpp \ | 116 | kdialog.cpp \ |
116 | kdialogbase.cpp \ | 117 | kdialogbase.cpp \ |
117 | keditlistbox.cpp \ | 118 | keditlistbox.cpp \ |
118 | kemailsettings.cpp \ | 119 | kemailsettings.cpp \ |
119 | kfontdialog.cpp \ | 120 | kfontdialog.cpp \ |
120 | kfiledialog.cpp \ | 121 | kfiledialog.cpp \ |
121 | kglobal.cpp \ | 122 | kglobal.cpp \ |
122 | kglobalsettings.cpp \ | 123 | kglobalsettings.cpp \ |
123 | kiconloader.cpp \ | 124 | kiconloader.cpp \ |
124 | kmessagebox.cpp \ | 125 | kmessagebox.cpp \ |
125 | kprocess.cpp \ | 126 | kprocess.cpp \ |
126 | krun.cpp \ | 127 | krun.cpp \ |
127 | ksystemtray.cpp \ | 128 | ksystemtray.cpp \ |
128 | ktempfile.cpp \ | 129 | ktempfile.cpp \ |
129 | kurl.cpp \ | 130 | kurl.cpp \ |
130 | ktextedit.cpp \ | 131 | ktextedit.cpp \ |
131 | ofileselector_p.cpp \ | 132 | ofileselector_p.cpp \ |
132 | ofontselector.cpp \ | 133 | ofontselector.cpp \ |
133 | kdecore/kcatalogue.cpp \ | 134 | kdecore/kcatalogue.cpp \ |
134 | kdecore/klibloader.cpp \ | 135 | kdecore/klibloader.cpp \ |
135 | kdecore/klocale.cpp \ | 136 | kdecore/klocale.cpp \ |
136 | kdecore/kmdcodec.cpp \ | 137 | kdecore/kmdcodec.cpp \ |
137 | kdecore/kprefs.cpp \ | 138 | kdecore/kprefs.cpp \ |
138 | kdecore/kshell.cpp \ | 139 | kdecore/kshell.cpp \ |
139 | kdecore/kstandarddirs.cpp \ | 140 | kdecore/kstandarddirs.cpp \ |
140 | kdecore/kstringhandler.cpp \ | 141 | kdecore/kstringhandler.cpp \ |
141 | kdeui/kaction.cpp \ | 142 | kdeui/kaction.cpp \ |
143 | kdeui/kpopupmenu.cpp \ | ||
142 | kdeui/kactionclasses.cpp \ | 144 | kdeui/kactionclasses.cpp \ |
143 | kdeui/kactioncollection.cpp \ | 145 | kdeui/kactioncollection.cpp \ |
144 | kdeui/kbuttonbox.cpp \ | 146 | kdeui/kbuttonbox.cpp \ |
145 | kdeui/kcmodule.cpp \ | 147 | kdeui/kcmodule.cpp \ |
146 | kdeui/kguiitem.cpp \ | 148 | kdeui/kguiitem.cpp \ |
147 | kdeui/kjanuswidget.cpp \ | 149 | kdeui/kjanuswidget.cpp \ |
148 | kdeui/klistbox.cpp \ | 150 | kdeui/klistbox.cpp \ |
149 | kdeui/klistview.cpp \ | 151 | kdeui/klistview.cpp \ |
150 | kdeui/kmainwindow.cpp \ | 152 | kdeui/kmainwindow.cpp \ |
151 | kdeui/knuminput.cpp \ | 153 | kdeui/knuminput.cpp \ |
152 | kdeui/knumvalidator.cpp \ | 154 | kdeui/knumvalidator.cpp \ |
153 | kdeui/kseparator.cpp \ | 155 | kdeui/kseparator.cpp \ |
154 | kdeui/kstdaction.cpp \ | 156 | kdeui/kstdaction.cpp \ |
155 | kdeui/ksqueezedtextlabel.cpp \ | 157 | kdeui/ksqueezedtextlabel.cpp \ |
156 | kdeui/ktoolbar.cpp \ | 158 | kdeui/ktoolbar.cpp \ |
157 | kdeui/ktoolbarbutton.cpp \ | 159 | kdeui/ktoolbarbutton.cpp \ |
158 | kdeui/ktoolbarhandler.cpp \ | 160 | kdeui/ktoolbarhandler.cpp \ |
159 | kdeui/kxmlguiclient.cpp \ | 161 | kdeui/kxmlguiclient.cpp \ |
160 | kio/kfile/kurlrequester.cpp \ | 162 | kio/kfile/kurlrequester.cpp \ |
161 | kio/kio/kdirwatch.cpp \ | 163 | kio/kio/kdirwatch.cpp \ |
162 | kresources/configpage.cpp \ | 164 | kresources/configpage.cpp \ |
163 | kresources/configdialog.cpp \ | 165 | kresources/configdialog.cpp \ |
164 | kresources/configwidget.cpp \ | 166 | kresources/configwidget.cpp \ |
165 | kresources/factory.cpp \ | 167 | kresources/factory.cpp \ |
166 | kresources/kcmkresources.cpp \ | 168 | kresources/kcmkresources.cpp \ |
167 | kresources/managerimpl.cpp \ | 169 | kresources/managerimpl.cpp \ |
168 | kresources/resource.cpp \ | 170 | kresources/resource.cpp \ |
169 | kresources/selectdialog.cpp \ | 171 | kresources/selectdialog.cpp \ |
170 | kutils/kcmultidialog.cpp \ | 172 | kutils/kcmultidialog.cpp \ |
171 | kidmanager.cpp | 173 | kidmanager.cpp |
172 | 174 | ||