Commit cddfcf32 authored by David Saxton's avatar David Saxton

Ported coords config page to Qt4.

svn path=/trunk/KDE/kdeedu/kmplot/; revision=522192
parent 5c40c3f2
......@@ -29,13 +29,12 @@
#include <qradiobutton.h>
#include "settings.h"
#include "settingspagecoords.h"
#include "coordsconfigdialog.h"
CoordsConfigDialog::CoordsConfigDialog(XParser *p, QWidget *parent)
: KConfigDialog(parent, "coords", Settings::self()), m_parser(p)
{
configAxesDialog = new SettingsPageCoords( 0, "coordsSettings" );
configAxesDialog = new SettingsPageCoords( 0 );
addPage(configAxesDialog , i18n( "Coords" ), "coords", i18n( "Edit Coordinate System" ) );
setHelp("axes-config");
}
......
......@@ -28,9 +28,16 @@
#include <kconfigdialog.h>
#include "settingspagecoords.h"
#include "xparser.h"
class SettingsPageCoords;
class SettingsPageCoords : public QWidget, public Ui::SettingsPageCoords
{
public:
SettingsPageCoords( QWidget * parent = 0 )
: QWidget( parent )
{ setupUi(this); }
};
/**
@author Fredrik Edemar
......@@ -50,7 +57,7 @@ class CoordsConfigDialog : public KConfigDialog
bool evalY();
Parser *m_parser;
SettingsPageCoords* configAxesDialog;
SettingsPageCoords * configAxesDialog;
};
#endif
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