Skip to content

Commit

Permalink
Simplify service authentication.
Browse files Browse the repository at this point in the history
Move Service private data into Private class.
Add new classes to profile.
Add PREFIX support on unix.
Service provides ListsModel and FilteredTasksModel.
  • Loading branch information
jpwhiting committed Apr 19, 2012
1 parent bd10264 commit d28db70
Show file tree
Hide file tree
Showing 3 changed files with 358 additions and 190 deletions.
28 changes: 18 additions & 10 deletions libqrtm.pro
Expand Up @@ -10,12 +10,22 @@ PKGCONFIG += QJson

SOURCES += src/request.cpp \
src/authentication.cpp \
src/service.cpp
src/service.cpp \
src/listsmodel.cpp \
src/tasksmodel.cpp \
src/list.cpp \
src/task.cpp \
src/filteredtasksmodel.cpp
HEADERS += src/libqrtm_global.h \
src/request.h \
src/rtm.h \
src/authentication.h \
src/service.h
src/service.h \
src/listsmodel.h \
src/tasksmodel.h \
src/list.h \
src/task.h \
src/filteredtasksmodel.h
OTHER_FILES += qtc_packaging/debian_harmattan/rules \
qtc_packaging/debian_harmattan/README \
qtc_packaging/debian_harmattan/manifest.aegis \
Expand All @@ -30,21 +40,19 @@ win32 {
OBJECTS_DIR = .\build\objects
}
unix {
target.path = /usr/local/lib
isEmpty(PREFIX) {
PREFIX = /usr/local
}
target.path = $${PREFIX}/lib

QMAKE_PKGCONFIG_NAME = qrtm
QMAKE_PKGCONFIG_DESCRIPTION = Qt Remember The Milk library
QMAKE_PKGCONFIG_LIBDIR = $$target.path
QMAKE_PKGCONFIG_INCDIR = $$target.path
QMAKE_PKGCONFIG_DESTDIR = pkgconfig

headers.path = /usr/local/include/qrtm
headers.files = src/libqrtm_global.h \
src/loginview.h \
src/request.h \
src/rtm.h \
src/authentication.h \
src/service.h
headers.path = $${PREFIX}/include/qrtm
headers.files = $$HEADERS

}

Expand Down

0 comments on commit d28db70

Please sign in to comment.