00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include "liturl.h"
00018 #include <qstring.h>
00019 #include <stdlib.h>
00020
00021 LitUrl::LitUrl():QUrl() { };
00022 LitUrl::LitUrl(const QUrl &url):QUrl(url) {
00023 if(fileName().isEmpty() || host().isEmpty()) {
00024 debug("LitUrl - filename oder host empty:"+url);
00025 abort();
00026 }
00027 }
00028 LitUrl::LitUrl(const QString &url):QUrl(url) {
00029 if(fileName().isEmpty() || host().isEmpty()) {
00030 debug("LitUrl - filename oder host empty:"+url);
00031 abort();
00032 }
00033 };
00034
00035 QString LitUrl::table() { return fileName(); }
00036
00037 QString LitUrl::where() { return query(); }
00038 QString LitUrl::form() { return host(); }