Commit 1646c63f authored by Pino Toscano's avatar Pino Toscano

Port to the new KDialog API

svn path=/trunk/KDE/kdeedu/kmplot/; revision=551003
parent 51c8f388
......@@ -48,6 +48,8 @@ class QMinMax : public QWidget, public Ui::QMinMax
KMinMax::KMinMax(QWidget *parent )
: KDialog( parent )
{
setCaption( i18n("Find Minimum Point") );
m_mainWidget = new QMinMax( this );
setMainWidget( m_mainWidget );
......
......@@ -35,6 +35,7 @@ class QMinMax;
}
class QMinMax;
class QListWidgetItem;
/**
@author Fredrik Edemar
......
......@@ -50,6 +50,9 @@ KParameterEditor::KParameterEditor(XParser *m, QList<Value> *l, QWidget *parent
m_parameter(l),
m_parser(m)
{
setCaption( i18n( "Parameter Editor" ) );
setButtons( Ok | Cancel );
m_mainWidget = new QParameterEditor( this );
setMainWidget( m_mainWidget );
......
......@@ -48,6 +48,8 @@
KSliderWindow::KSliderWindow( QWidget * parent, KActionCollection * ac ) :
KDialog( parent )
{
setCaption( i18n("Sliders") );
m_clickedOnSlider = 0l;
setModal( false );
......
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