/***************************************************************************
- * Copyright (C) 2007 by Peter Penz (peter.penz@gmx.at) *
+ * Copyright (C) 2007-2012 by Peter Penz <peter.penz19@gmail.com> *
* *
* 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 *
#ifndef ADDITIONALINFODIALOG_H
#define ADDITIONALINFODIALOG_H
-#include <KDialog>
+#include <QDialog>
#include <QList>
+#include <QListWidget>
-class QCheckBox;
/**
* @brief Dialog for changing the additional information shown in the view.
*/
-class AdditionalInfoDialog : public KDialog
+class AdditionalInfoDialog : public QDialog
{
Q_OBJECT
public:
AdditionalInfoDialog(QWidget* parent, const QList<QByteArray>& visibleRoles);
- virtual ~AdditionalInfoDialog();
+ ~AdditionalInfoDialog() override;
QList<QByteArray> visibleRoles() const;
-private slots:
- void slotOk();
+public slots:
+ void accept() override;
private:
QList<QByteArray> m_visibleRoles;
- QList<QCheckBox*> m_checkBoxes;
+ QListWidget* m_listWidget;
};
#endif