Commit 8114c5de authored by Tim Beaulen's avatar Tim Beaulen

Port the delete confirmation dialog to Ui4


svn path=/trunk/KDE/kdemultimedia/juk/; revision=595664
parent 3a90fab2
......@@ -83,11 +83,9 @@ kde4_add_ui_files(juk_SRCS
tagguesserconfigdlgwidget.ui
exampleoptionsbase.ui
coverdialogbase.ui
deletedialogbase.ui
)
kde4_add_ui3_files(juk_SRCS
deletedialogbase.ui )
kde4_add_executable(juk ${juk_SRCS})
......
......@@ -34,8 +34,12 @@
//////////////////////////////////////////////////////////////////////////////
DeleteWidget::DeleteWidget(QWidget *parent, const char *name)
: DeleteDialogBase(parent, name)
: QWidget(parent)
{
setupUi(this);
setObjectName(name);
KConfigGroup messageGroup(KGlobal::config(), "FileRemover");
bool deleteInstead = messageGroup.readEntry("deleteInsteadOfTrash", false);
......
......@@ -20,14 +20,14 @@
//Added by qt3to4:
#include <QLabel>
#include "deletedialogbase.h"
#include "ui_deletedialogbase.h"
class QStringList;
class KListBox;
class QLabel;
class Q3WidgetStack;
class DeleteWidget : public DeleteDialogBase
class DeleteWidget : public QWidget, public Ui::DeleteDialogBase
{
Q_OBJECT
......
This diff is collapsed.
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