Commit 0113a1c1 authored by David Saxton's avatar David Saxton

compile (URL->Url).

svn path=/trunk/KDE/kdeedu/kmplot/; revision=558190
parent 7b1ff781
......@@ -214,7 +214,7 @@ void KmPlot::fileOpen()
// this slot is called whenever the File->Open menu is selected,
// the Open shortcut is pressed (usually CTRL+O) or the Open toolbar
// button is clicked
KUrl const url = KFileDialog::getOpenURL( QDir::currentPath(),
KUrl const url = KFileDialog::getOpenUrl( QDir::currentPath(),
i18n( "*.fkt|KmPlot Files (*.fkt)\n*.*|All Files" ), this, i18n( "Open" ) );
if ( !url.isEmpty())
......
......@@ -155,7 +155,7 @@ bool KParameterEditor::checkValueValid()
void KParameterEditor::cmdImport_clicked()
{
KUrl url = KFileDialog::getOpenURL( QString(),i18n("*.txt|Plain Text File "));
KUrl url = KFileDialog::getOpenUrl( QString(),i18n("*.txt|Plain Text File "));
if ( url.isEmpty() )
return;
......@@ -224,7 +224,7 @@ void KParameterEditor::cmdExport_clicked()
{
if ( !m_mainWidget->list->count() )
return;
KUrl url = KFileDialog::getSaveURL( QString(),i18n("*.txt|Plain Text File "));
KUrl url = KFileDialog::getSaveUrl( QString(),i18n("*.txt|Plain Text File "));
if ( url.isEmpty() )
return;
......
......@@ -465,7 +465,7 @@ void MainDlg::slotSaveas()
{
if (m_readonly)
return;
const KUrl url = KFileDialog::getSaveURL( QDir::currentPath(), i18n( "*.fkt|KmPlot Files (*.fkt)\n*|All Files" ), m_parent, i18n( "Save As" ) );
const KUrl url = KFileDialog::getSaveUrl( QDir::currentPath(), i18n( "*.fkt|KmPlot Files (*.fkt)\n*|All Files" ), m_parent, i18n( "Save As" ) );
if ( !url.isEmpty() )
{
......@@ -488,7 +488,7 @@ void MainDlg::slotSaveas()
void MainDlg::slotExport()
{
KUrl const url = KFileDialog::getSaveURL(QDir::currentPath(),
KUrl const url = KFileDialog::getSaveUrl(QDir::currentPath(),
i18n("*.svg|Scalable Vector Graphics (*.svg)\n"
"*.bmp|Bitmap 180dpi (*.bmp)\n"
"*.png|Bitmap 180dpi (*.png)"), m_parent, i18n("Export") );
......
......@@ -149,6 +149,7 @@ Parser::~Parser()
delete function;
delete m_ownEquation;
delete m_constants;
delete [] m_stack;
}
......
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