imports.h
author insilmaril
Fri May 15 15:22:15 2009 +0000 (2009-05-15)
changeset 769 a6931cd6309a
parent 313 6ae1c6f1b7eb
child 775 6e4b586aa88a
permissions -rw-r--r--
more changes on views
     1 #ifndef IMPORTS_H
     2 #define IMPORTS_H
     3 
     4 #include <qdir.h>
     5 #include <qstring.h>
     6 #include <iostream>
     7 
     8 #include "mapcenterobj.h"
     9 #include "settings.h"
    10 
    11 
    12 ///////////////////////////////////////////////////////////////////////
    13 
    14 class ImportBase
    15 {
    16 public:
    17 	ImportBase();
    18 	virtual ~ImportBase();
    19 	virtual void setDir(const QString &);
    20 	virtual void setFile(const QString &);
    21 	virtual void setMapCenter (MapCenterObj*);
    22 	virtual bool transform();
    23 	virtual QString getTransformedFile();
    24 protected:
    25 	QDir tmpDir;
    26 	QString inputDir;
    27 	QString inputFile;
    28 	MapCenterObj *mapCenter;
    29 	QString transformedFile;
    30 	
    31 };
    32 
    33 ///////////////////////////////////////////////////////////////////////
    34 class ImportKDE3Bookmarks:public ImportBase
    35 {
    36 public:
    37 	bool transform();
    38 };	
    39 
    40 class ImportKDE4Bookmarks:public ImportBase
    41 {
    42 public:
    43 	bool transform();
    44 };	
    45 
    46 
    47 ///////////////////////////////////////////////////////////////////////
    48 class ImportFirefoxBookmarks:public ImportBase
    49 {
    50 public:
    51 	bool transform();
    52 };	
    53 
    54 
    55 ///////////////////////////////////////////////////////////////////////
    56 class ImportMM:public ImportBase
    57 {
    58 public:
    59 	bool transform();
    60 };	
    61 
    62 
    63 
    64 #endif