summaryrefslogtreecommitdiff
path: root/library
Unidiff
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/Makefile.in26
-rw-r--r--library/global.cpp2
-rw-r--r--library/library.pro4
-rw-r--r--library/qpeapplication.cpp4
4 files changed, 17 insertions, 19 deletions
diff --git a/library/Makefile.in b/library/Makefile.in
index c89390f..b74b818 100644
--- a/library/Makefile.in
+++ b/library/Makefile.in
@@ -6,7 +6,7 @@ CXX = $(SYSCONF_CXX) $(QT_CXX_MT)
6 CXXFLAGS=$(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS) $(SYSCONF_CXXFLAGS_LIB) 6 CXXFLAGS=$(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS) $(SYSCONF_CXXFLAGS_LIB)
7 CC =$(SYSCONF_CC) $(QT_C_MT) 7 CC =$(SYSCONF_CC) $(QT_C_MT)
8 CFLAGS =$(SYSCONF_CFLAGS) $(SYSCONF_CFLAGS_LIB) 8 CFLAGS =$(SYSCONF_CFLAGS) $(SYSCONF_CFLAGS_LIB)
9 INCPATH =-I$(QPEDIR)/include -Ibackend 9 INCPATH =-I$(OPIEDIR)/include -Ibackend
10 LFLAGS =$(SYSCONF_LFLAGS_QT) $(SYSCONF_RPATH_QT) $(SYSCONF_LFLAGS) $(QT_LFLAGS_MT) 10 LFLAGS =$(SYSCONF_LFLAGS_QT) $(SYSCONF_RPATH_QT) $(SYSCONF_LFLAGS) $(QT_LFLAGS_MT)
11 LIBS =$(SUBLIBS) -ldl -lcrypt -lm $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS_QTAPP) 11 LIBS =$(SUBLIBS) -ldl -lcrypt -lm $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS_QTAPP)
12 MOC =$(SYSCONF_MOC) 12 MOC =$(SYSCONF_MOC)
@@ -457,7 +457,8 @@ qpeapplication.o: qpeapplication.cpp \
457 fontmanager.h \ 457 fontmanager.h \
458 power.h \ 458 power.h \
459 alarmserver.h \ 459 alarmserver.h \
460 applnk.h 460 applnk.h \
461 qpemenubar.h
461 462
462qpestyle.o: qpestyle.cpp \ 463qpestyle.o: qpestyle.cpp \
463 qpestyle.h \ 464 qpestyle.h \
@@ -533,7 +534,8 @@ fontdatabase.o: fontdatabase.cpp \
533 fontdatabase.h 534 fontdatabase.h
534 535
535power.o: power.cpp \ 536power.o: power.cpp \
536 power.h 537 power.h \
538 custom.h
537 539
538storage.o: storage.cpp 540storage.o: storage.cpp
539 541
@@ -610,7 +612,8 @@ ir.o: ir.cpp \
610 applnk.h 612 applnk.h
611 613
612backend/vcc_yacc.o: backend/vcc_yacc.cpp \ 614backend/vcc_yacc.o: backend/vcc_yacc.cpp \
613 backend/vobject_p.h 615 backend/vobject_p.h \
616 backend/qfiledirect_p.h
614 617
615backend/vobject.o: backend/vobject.cpp \ 618backend/vobject.o: backend/vobject.cpp \
616 backend/vobject_p.h \ 619 backend/vobject_p.h \
@@ -679,20 +682,15 @@ lnkpropertiesbase_p.h: lnkpropertiesbase_p.ui
679lnkpropertiesbase_p.cpp: lnkpropertiesbase_p.ui 682lnkpropertiesbase_p.cpp: lnkpropertiesbase_p.ui
680 $(UIC) lnkpropertiesbase_p.ui -i lnkpropertiesbase_p.h -o lnkpropertiesbase_p.cpp 683 $(UIC) lnkpropertiesbase_p.ui -i lnkpropertiesbase_p.h -o lnkpropertiesbase_p.cpp
681 684
682passwordbase_p.o: passwordbase_p.cpp \ 685passwordbase_p.o: passwordbase_p.cpp
683 passwordbase_p.h
684 686
685proxiesbase_p.o: proxiesbase_p.cpp \ 687proxiesbase_p.o: proxiesbase_p.cpp
686 proxiesbase_p.h
687 688
688categoryeditbase_p.o: categoryeditbase_p.cpp \ 689categoryeditbase_p.o: categoryeditbase_p.cpp
689 categoryeditbase_p.h
690 690
691findwidgetbase_p.o: findwidgetbase_p.cpp \ 691findwidgetbase_p.o: findwidgetbase_p.cpp
692 findwidgetbase_p.h
693 692
694lnkpropertiesbase_p.o: lnkpropertiesbase_p.cpp \ 693lnkpropertiesbase_p.o: lnkpropertiesbase_p.cpp
695 lnkpropertiesbase_p.h
696 694
697moc_menubutton.o: moc_menubutton.cpp \ 695moc_menubutton.o: moc_menubutton.cpp \
698 menubutton.h 696 menubutton.h
diff --git a/library/global.cpp b/library/global.cpp
index e1bbf3e..e5fc2b3 100644
--- a/library/global.cpp
+++ b/library/global.cpp
@@ -134,7 +134,7 @@ static QDict<QDawg> *named_dawg = 0;
134 134
135static QString qpeDir() 135static QString qpeDir()
136{ 136{
137 QString dir = getenv("QPEDIR"); 137 QString dir = getenv("OPIEDIR");
138 if ( dir.isEmpty() ) dir = ".."; 138 if ( dir.isEmpty() ) dir = "..";
139 return dir; 139 return dir;
140} 140}
diff --git a/library/library.pro b/library/library.pro
index 06dfc8f..058d216 100644
--- a/library/library.pro
+++ b/library/library.pro
@@ -119,14 +119,14 @@ qt2:HEADERS += quuid.h qcom.h qlibrary.h qlibrary_p.h qprocess.h
119qt2:SOURCES += quuid.cpp qlibrary.cpp qlibrary_unix.cpp qprocess.cpp \ 119qt2:SOURCES += quuid.cpp qlibrary.cpp qlibrary_unix.cpp qprocess.cpp \
120 qprocess_unix.cpp 120 qprocess_unix.cpp
121 121
122INCLUDEPATH += $(QPEDIR)/include backend 122INCLUDEPATH += $(OPIEDIR)/include backend
123 LIBS += -ldl -lcrypt -lm 123 LIBS += -ldl -lcrypt -lm
124 124
125INTERFACES = passwordbase_p.ui proxiesbase_p.ui categoryeditbase_p.ui findwidgetbase_p.ui lnkpropertiesbase_p.ui 125INTERFACES = passwordbase_p.ui proxiesbase_p.ui categoryeditbase_p.ui findwidgetbase_p.ui lnkpropertiesbase_p.ui
126 126
127 TARGET = qpe 127 TARGET = qpe
128 DESTDIR = $(QTDIR)/lib$(PROJMAK) 128 DESTDIR = $(QTDIR)/lib$(PROJMAK)
129# This is set by configure$(QPEDIR). 129# This is set by configure$(OPIEDIR).
130 VERSION = 1.5.0 130 VERSION = 1.5.0
131 131
132TRANSLATIONS = ../i18n/de/libqpe.ts 132TRANSLATIONS = ../i18n/de/libqpe.ts
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index f0a68cf..70ffec1 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -790,11 +790,11 @@ QPEApplication::~QPEApplication()
790} 790}
791 791
792/*! 792/*!
793 Returns <tt>$QPEDIR/</tt>. 793 Returns <tt>$OPIEDIR/</tt>.
794*/ 794*/
795QString QPEApplication::qpeDir() 795QString QPEApplication::qpeDir()
796{ 796{
797 const char *base = getenv( "QPEDIR" ); 797 const char *base = getenv( "OPIEDIR" );
798 if ( base ) 798 if ( base )
799 return QString( base ) + "/"; 799 return QString( base ) + "/";
800 800