|
|
|
/***************************************************************************
|
|
|
|
copyright : (C) 2005-2006 by Robby Stephenson
|
|
|
|
email : robby@periapsis.org
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
/***************************************************************************
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of version 2 of the GNU General Public License as *
|
|
|
|
* published by the Free Software Foundation; *
|
|
|
|
* *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef TELLICO_EXPORT_GCFILMSEXPORTER_H
|
|
|
|
#define TELLICO_EXPORT_GCFILMSEXPORTER_H
|
|
|
|
|
|
|
|
class TQTextOStream;
|
|
|
|
|
|
|
|
#include "exporter.h"
|
|
|
|
|
|
|
|
namespace Tellico {
|
|
|
|
namespace Export {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Robby Stephenson
|
|
|
|
*/
|
|
|
|
class GCfilmsExporter : public Exporter {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
GCfilmsExporter();
|
|
|
|
|
|
|
|
virtual bool exec();
|
|
|
|
virtual TQString formatString() const;
|
|
|
|
virtual TQString fileFilter() const;
|
|
|
|
|
|
|
|
// no options
|
|
|
|
virtual TQWidget* widget(TQWidget*, const char*) { return 0; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
void push(TQTextOStream& ts, TQCString fieldName, Data::EntryVec::ConstIterator entry, bool format);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // end namespace
|
|
|
|
} // end namespace
|
|
|
|
#endif
|