Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

liturl.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002  *                                                                         *
00003  *   liturl.cpp                                                            *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   Read the file COPYING for details.                                    *
00011  *                                                                         *
00012  *   copyright: (C) 2003 by Jan Mueller                                    *
00013  *   email: janmueller7@hotmail.com                                        *
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(); }

Generated on Sat Mar 27 19:20:39 2004 for Literature by doxygen 1.3.6-20040222