/*
* Copyright (C) 2014-2016 Canonical, Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#ifndef SCREENSHOTDIRECTORY_H
#define SCREENSHOTDIRECTORY_H
#include
#include
class ScreenshotDirectory: public QObject
{
Q_OBJECT
public:
explicit ScreenshotDirectory(QObject *parent = 0);
~ScreenshotDirectory() = default;
public Q_SLOTS:
QString makeFileName() const;
private:
QString format() const;
QString m_fileNamePrefix;
};
#endif // SCREENSHOTDIRECTORY_H