/*! @file @id $Id$ */ // 1 2 3 4 5 6 7 8 // 45678901234567890123456789012345678901234567890123456789012345678901234567890 #ifndef __TEMPORARYFILE_HXX__ #define __TEMPORARYFILE_HXX__ #include #include #include class TemporaryFile: public QFile { Q_OBJECT; public: TemporaryFile(QString filename): _autoRemove(false) { if (exists(filename)) { QString prefix(filename); QString suffix(filename); prefix.remove(QRegExp("\\.[^.]*$")); suffix.remove(QRegExp("^.*\\.")); qDebug()<<"filename"<