author | drw <drw> | 2004-02-23 18:12:57 (UTC) |
---|---|---|
committer | drw <drw> | 2004-02-23 18:12:57 (UTC) |
commit | 398c7d54acfc203ec90644d6c63e5b200391e906 (patch) (unidiff) | |
tree | 84a1f495a5a2450f7eb2f401037b6fd81162d72b /noncore/apps/tinykate/libkate | |
parent | f5762a3bee0ca4a176048f6552acaea2af827914 (diff) | |
download | opie-398c7d54acfc203ec90644d6c63e5b200391e906.zip opie-398c7d54acfc203ec90644d6c63e5b200391e906.tar.gz opie-398c7d54acfc203ec90644d6c63e5b200391e906.tar.bz2 |
TinyKate: libopie->libopie2
Diffstat (limited to 'noncore/apps/tinykate/libkate') (more/less context) (ignore whitespace changes)
5 files changed, 61 insertions, 62 deletions
diff --git a/noncore/apps/tinykate/libkate/config.in b/noncore/apps/tinykate/libkate/config.in index 47d7ef5..2e7e62c 100644 --- a/noncore/apps/tinykate/libkate/config.in +++ b/noncore/apps/tinykate/libkate/config.in | |||
@@ -3,2 +3,2 @@ | |||
3 | default "y" | 3 | default "y" |
4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE | 4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBQTAUX && LIBOPIE2CORE && LIBOPIE2UI |
diff --git a/noncore/apps/tinykate/libkate/document/katesyntaxdocument.h b/noncore/apps/tinykate/libkate/document/katesyntaxdocument.h index 5c5c5a4..5eefc77 100644 --- a/noncore/apps/tinykate/libkate/document/katesyntaxdocument.h +++ b/noncore/apps/tinykate/libkate/document/katesyntaxdocument.h | |||
@@ -20,3 +20,3 @@ | |||
20 | 20 | ||
21 | #include <opie/xmltree.h> | 21 | #include <opie2/xmltree.h> |
22 | #include <qlist.h> | 22 | #include <qlist.h> |
@@ -45,3 +45,3 @@ typedef QList<syntaxModeListItem> SyntaxModeList; | |||
45 | 45 | ||
46 | class SyntaxDocument | 46 | class SyntaxDocument |
47 | { | 47 | { |
@@ -56,3 +56,3 @@ class SyntaxDocument | |||
56 | void freeGroupInfo(syntaxContextData* data); | 56 | void freeGroupInfo(syntaxContextData* data); |
57 | syntaxContextData* getConfig(const QString& mainGroupName, const QString &Config); | 57 | syntaxContextData* getConfig(const QString& mainGroupName, const QString &Config); |
58 | bool nextItem(syntaxContextData* data); | 58 | bool nextItem(syntaxContextData* data); |
diff --git a/noncore/apps/tinykate/libkate/libkate.pro b/noncore/apps/tinykate/libkate/libkate.pro index 7266b18..f1b8063 100644 --- a/noncore/apps/tinykate/libkate/libkate.pro +++ b/noncore/apps/tinykate/libkate/libkate.pro | |||
@@ -1,5 +1,5 @@ | |||
1 | TEMPLATE= lib | 1 | TEMPLATE = lib |
2 | CONFIG = qt warn_on release | 2 | CONFIG = qt warn_on release |
3 | HEADERS = microkde/kapplication.h \ | 3 | HEADERS = microkde/kapplication.h \ |
4 | kateconfig.h \ | 4 | kateconfig.h \ |
5 | microkde/kdebug.h \ | 5 | microkde/kdebug.h \ |
@@ -26,23 +26,23 @@ HEADERS = microkde/kapplication.h \ | |||
26 | microkde/kglobalsettings.h \ | 26 | microkde/kglobalsettings.h \ |
27 | microkde/kcolorbtn.h \ | 27 | microkde/kcolorbtn.h \ |
28 | \ | 28 | \ |
29 | \ | 29 | \ |
30 | qt3back/qregexp3.h \ | 30 | qt3back/qregexp3.h \ |
31 | microkde/ksharedptr.h \ | 31 | microkde/ksharedptr.h \ |
32 | document/katebuffer.h document/katedialogs.h \ | 32 | document/katebuffer.h document/katedialogs.h \ |
33 | document/katetextline.h \ | 33 | document/katetextline.h \ |
34 | document/katecmd.h \ | 34 | document/katecmd.h \ |
35 | document/katehighlight.h \ | 35 | document/katehighlight.h \ |
36 | document/katecmds.h document/katedocument.h \ | 36 | document/katecmds.h document/katedocument.h \ |
37 | document/katesyntaxdocument.h \ | 37 | document/katesyntaxdocument.h \ |
38 | view/kateundohistory.h \ | 38 | view/kateundohistory.h \ |
39 | view/kateview.h \ | 39 | view/kateview.h \ |
40 | view/kateviewdialog.h \ | 40 | view/kateviewdialog.h \ |
41 | interfaces/view.h \ | 41 | interfaces/view.h \ |
42 | interfaces/document.h \ | 42 | interfaces/document.h \ |
43 | ktexteditor/ktexteditor.h | 43 | ktexteditor/ktexteditor.h |
44 | 44 | ||
45 | SOURCES = microkde/kapplication.cpp \ | 45 | SOURCES = microkde/kapplication.cpp \ |
46 | microkde/kdialogbase.cpp \ | 46 | microkde/kdialogbase.cpp \ |
47 | kateconfig.cpp \ | 47 | kateconfig.cpp \ |
48 | microkde/klocale.cpp \ | 48 | microkde/klocale.cpp \ |
@@ -58,29 +58,29 @@ SOURCES = microkde/kapplication.cpp \ | |||
58 | microkde/kglobalsettings.cpp \ | 58 | microkde/kglobalsettings.cpp \ |
59 | microkde/kcolorbtn.cpp \ | 59 | microkde/kcolorbtn.cpp \ |
60 | \ | 60 | \ |
61 | \ | 61 | \ |
62 | qt3back/qregexp3.cpp \ | 62 | qt3back/qregexp3.cpp \ |
63 | ktexteditor/ktexteditor.cpp \ | 63 | ktexteditor/ktexteditor.cpp \ |
64 | document/katebuffer.cpp document/katedialogs.cpp \ | 64 | document/katebuffer.cpp document/katedialogs.cpp \ |
65 | document/katehighlight.cpp \ | 65 | document/katehighlight.cpp \ |
66 | document/katecmd.cpp \ | 66 | document/katecmd.cpp \ |
67 | document/katesyntaxdocument.cpp document/katecmds.cpp \ | 67 | document/katesyntaxdocument.cpp document/katecmds.cpp \ |
68 | document/katedocument.cpp document/katetextline.cpp \ | 68 | document/katedocument.cpp document/katetextline.cpp \ |
69 | view/kateundohistory.cpp \ | 69 | view/kateundohistory.cpp \ |
70 | view/kateview.cpp \ | 70 | view/kateview.cpp \ |
71 | view/kateviewdialog.cpp \ | 71 | view/kateviewdialog.cpp \ |
72 | interfaces/interfaces.cpp | 72 | interfaces/interfaces.cpp |
73 | 73 | ||
74 | INTERFACES= | 74 | INTERFACES = |
75 | INCLUDEPATH+= $(OPIEDIR)/include \ | 75 | INCLUDEPATH += $(OPIEDIR)/include \ |
76 | $(OPIEDIR)/noncore/apps/tinykate/libkate \ | 76 | $(OPIEDIR)/noncore/apps/tinykate/libkate \ |
77 | $(OPIEDIR)/noncore/apps/tinykate/libkate/microkde \ | 77 | $(OPIEDIR)/noncore/apps/tinykate/libkate/microkde \ |
78 | $(OPIEDIR)/noncore/apps/tinykate/libkate/document \ | 78 | $(OPIEDIR)/noncore/apps/tinykate/libkate/document \ |
79 | $(OPIEDIR)/noncore/apps/tinykate/libkate/view \ | 79 | $(OPIEDIR)/noncore/apps/tinykate/libkate/view \ |
80 | $(OPIEDIR)/noncore/apps/tinykate/libkate/interfaces \ | 80 | $(OPIEDIR)/noncore/apps/tinykate/libkate/interfaces \ |
81 | $(OPIEDIR)/noncore/apps/tinykate/libkate/ktexteditor \ | 81 | $(OPIEDIR)/noncore/apps/tinykate/libkate/ktexteditor \ |
82 | $(OPIEDIR)/noncore/apps/tinykate/libkate/qt3back | 82 | $(OPIEDIR)/noncore/apps/tinykate/libkate/qt3back |
83 | DEPENDPATH+= $(OPIEDIR)/include | 83 | DEPENDPATH += $(OPIEDIR)/include |
84 | LIBS += -lqpe -lopie | 84 | LIBS += -lqpe -lqtaux2 -lopiecore2 -lopieui2 |
85 | TARGET = tinykate | 85 | TARGET = tinykate |
86 | 86 | ||
diff --git a/noncore/apps/tinykate/libkate/microkde/kcolorbtn.cpp b/noncore/apps/tinykate/libkate/microkde/kcolorbtn.cpp index 7be5af5..1320cbc 100644 --- a/noncore/apps/tinykate/libkate/microkde/kcolorbtn.cpp +++ b/noncore/apps/tinykate/libkate/microkde/kcolorbtn.cpp | |||
@@ -25,6 +25,5 @@ | |||
25 | #include <kglobalsettings.h> | 25 | #include <kglobalsettings.h> |
26 | //#include "kcolordialog.h" | ||
27 | #include "kcolorbtn.h" | 26 | #include "kcolorbtn.h" |
28 | 27 | ||
29 | #include <opie/colordialog.h> | 28 | #include <opie2/qcolordialog.h> |
30 | 29 | ||
@@ -60,6 +59,6 @@ void KColorButton::drawButtonLabel( QPainter *painter ) | |||
60 | int b = 5; | 59 | int b = 5; |
61 | 60 | ||
62 | QColor lnCol = colorGroup().text(); | 61 | QColor lnCol = colorGroup().text(); |
63 | QColor fillCol = isEnabled() ? col : backgroundColor(); | 62 | QColor fillCol = isEnabled() ? col : backgroundColor(); |
64 | 63 | ||
65 | if ( isDown() ) { | 64 | if ( isDown() ) { |
@@ -77,3 +76,3 @@ void KColorButton::chooseColor() | |||
77 | { | 76 | { |
78 | QColor newCol=OColorDialog::getColor( col); | 77 | QColor newCol=QColorDialog::getColor( col); |
79 | if( newCol != QDialog::Rejected ) | 78 | if( newCol != QDialog::Rejected ) |
diff --git a/noncore/apps/tinykate/libkate/view/kateviewdialog.cpp b/noncore/apps/tinykate/libkate/view/kateviewdialog.cpp index 6a19e01..4cb13e8 100644 --- a/noncore/apps/tinykate/libkate/view/kateviewdialog.cpp +++ b/noncore/apps/tinykate/libkate/view/kateviewdialog.cpp | |||
@@ -37,3 +37,3 @@ | |||
37 | #include <qwhatsthis.h> | 37 | #include <qwhatsthis.h> |
38 | #include <qstringlist.h> | 38 | #include <qstringlist.h> |
39 | #include <klocale.h> | 39 | #include <klocale.h> |
@@ -48,3 +48,3 @@ | |||
48 | #include "kateviewdialog.h" | 48 | #include "kateviewdialog.h" |
49 | #include <opie/ofontselector.h> | 49 | #include <opie2/ofontselector.h> |
50 | 50 | ||
@@ -427,3 +427,3 @@ EditConfigTab::EditConfigTab(QWidget *parent, KateView *view) | |||
427 | e3->setMaxValue( 30000); | 427 | e3->setMaxValue( 30000); |
428 | #warning fixme e3->setLabel(i18n("Undo steps:")); | 428 | #warning fixme e3->setLabel(i18n("Undo steps:")); |
429 | e3->setValue((int)view->undoSteps()); | 429 | e3->setValue((int)view->undoSteps()); |
@@ -543,3 +543,3 @@ FontConfig::FontConfig( QWidget *parent, char *name ) | |||
543 | 543 | ||
544 | 544 | ||
545 | // #if 0 | 545 | // #if 0 |