forked from qt-creator/qt-creator
add/unify i/o error handling
lots of use of Utils::FileSaver and Utils::FileReader Task-number: QTCREATORBUG-1619
This commit is contained in:
@@ -38,6 +38,10 @@
|
||||
#include <QtCore/QList>
|
||||
#include <QtCore/QString>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QWidget;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Macros {
|
||||
|
||||
class MacroEvent;
|
||||
@@ -50,9 +54,9 @@ public:
|
||||
~Macro();
|
||||
Macro& operator=(const Macro& other);
|
||||
|
||||
void load(QString fileName = QString());
|
||||
void loadHeader(const QString &fileName);
|
||||
void save(const QString &fileName);
|
||||
bool load(QString fileName = QString());
|
||||
bool loadHeader(const QString &fileName);
|
||||
bool save(const QString &fileName, QWidget *parent);
|
||||
|
||||
const QString &description() const;
|
||||
void setDescription(const QString &text);
|
||||
|
||||
Reference in New Issue
Block a user