Commit 519d3ffd authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa
Browse files

More more methods from the class declaration to its implementation

svn path=/trunk/KDE/kdeutils/ark/; revision=1001395
parent d3f5cd14
......@@ -45,6 +45,26 @@ AddToArchive::~AddToArchive()
{
}
void AddToArchive::setAutoFilenameSuffix(const QString& suffix)
{
m_autoFilenameSuffix = suffix;
}
void AddToArchive::setChangeToFirstPath(bool value)
{
m_changeToFirstPath = value;
}
void AddToArchive::setFilename(const KUrl& path)
{
m_filename = path.path();
}
void AddToArchive::setMimeType(const QString & mimeType)
{
m_mimeType = mimeType;
}
bool AddToArchive::showAddDialog(void)
{
QPointer<Kerfuffle::AddDialog> dialog = new Kerfuffle::AddDialog(
......
......@@ -49,21 +49,13 @@ public:
bool showAddDialog();
void setPreservePaths(bool value);
void setChangeToFirstPath(bool value) {
m_changeToFirstPath = value;
}
void setChangeToFirstPath(bool value);
public slots:
bool addInput(const KUrl& url);
void setFilename(const KUrl& path) {
m_filename = path.path();
}
void setMimeType(const QString & mimeType) {
m_mimeType = mimeType;
}
void setAutoFilenameSuffix(const QString& suffix) {
m_autoFilenameSuffix = suffix;
}
void setAutoFilenameSuffix(const QString& suffix);
void setFilename(const KUrl& path);
void setMimeType(const QString & mimeType);
void start();
private slots:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment