nextcloud-desktop/src/mirall/statusdialog.cpp

45 lines
1.1 KiB
C++
Raw Normal View History

2011-09-30 19:42:28 +04:00
/*
* Copyright (C) by Klaas Freitag <freitag@kde.org>
*
* 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; either version 2 of the License, or
* (at your option) any later version.
*
* 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.
*/#include <QtCore>
2011-09-26 23:46:26 +04:00
#include "statusdialog.h"
2011-09-26 23:46:26 +04:00
#include "folder.h"
2011-09-26 17:00:12 +04:00
namespace Mirall {
StatusDialog::StatusDialog(QWidget *parent) :
QDialog(parent)
{
2011-09-26 23:46:26 +04:00
setupUi( this );
connect(_ButtonClose, SIGNAL(clicked()), this, SLOT(accept()));
connect(_ButtonRemove, SIGNAL(clicked()), this, SLOT(slotRemoveFolder()));
}
void StatusDialog::setFolderList( QHash<QString, Folder*> folders )
{
foreach( QString f, folders.keys() ) {
qDebug() << "Folder: " << f;
}
}
void StatusDialog::slotRemoveFolder()
{
qDebug() << "Remove Folder!";
}
2011-09-26 17:00:12 +04:00
}
#include "statusdialog.moc"