Commit cc5e8a09 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Use URLs with transport encryption

parent 3369cd15
...@@ -122,7 +122,7 @@ void CoordsConfigDialog::updateButtons() ...@@ -122,7 +122,7 @@ void CoordsConfigDialog::updateButtons()
void CoordsConfigDialog::done(int result) void CoordsConfigDialog::done(int result)
{ {
// http://www.qtcentre.org/threads/8048-Validate-Data-in-QDialog // https://www.qtcentre.org/threads/8048-Validate-Data-in-QDialog
if ( result == QDialog::Accepted ) { if ( result == QDialog::Accepted ) {
if ( !evalX() || !evalY() ) { if ( !evalX() || !evalY() ) {
return; return;
......
...@@ -177,10 +177,9 @@ void KmPlot::setupActions() ...@@ -177,10 +177,9 @@ void KmPlot::setupActions()
void KmPlot::fileNew() void KmPlot::fileNew()
{ {
// About this function, the style guide ( // About this function, the style guide
// http://developer.kde.org/documentation/standards/kde/style/basics/index.html )
// says that it should open a new window if the document is _not_ // says that it should open a new window if the document is _not_
// in its initial state. This is what we do here.. // in its initial state. This is what we do here...
if ( !m_part->url().isEmpty() || isModified() ) if ( !m_part->url().isEmpty() || isModified() )
//KToolInvocation::startServiceByDesktopName("kmplot"); //KToolInvocation::startServiceByDesktopName("kmplot");
KToolInvocation::kdeinitExec(QStringLiteral("kmplot")); KToolInvocation::kdeinitExec(QStringLiteral("kmplot"));
...@@ -200,8 +199,7 @@ void KmPlot::fileOpen() ...@@ -200,8 +199,7 @@ void KmPlot::fileOpen()
if ( !url.isEmpty()) if ( !url.isEmpty())
{ {
// About this function, the style guide ( // About this function, the style guide
// http://developer.kde.org/documentation/standards/kde/style/basics/index.html )
// says that it should open a new window if the document is _not_ // says that it should open a new window if the document is _not_
// in its initial state. This is what we do here.. // in its initial state. This is what we do here..
if ( m_part->url().isEmpty() && !isModified() ) if ( m_part->url().isEmpty() && !isModified() )
...@@ -215,8 +213,7 @@ void KmPlot::fileOpen(const QUrl &url) ...@@ -215,8 +213,7 @@ void KmPlot::fileOpen(const QUrl &url)
{ {
if ( !url.isEmpty()) if ( !url.isEmpty())
{ {
// About this function, the style guide ( // About this function, the style guide
// http://developer.kde.org/documentation/standards/kde/style/basics/index.html )
// says that it should open a new window if the document is _not_ // says that it should open a new window if the document is _not_
// in its initial state. This is what we do here.. // in its initial state. This is what we do here..
if ( m_part->url().isEmpty() && !isModified() ) if ( m_part->url().isEmpty() && !isModified() )
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
<p xml:lang="x-test">xxKmPlot is a program to plot graphs of functions, their integrals or derivatives. The graphs can be colorized and the view is highly configurable, is scalable, and can be zoomed. The program features a powerful mathematical parser, different plot types (cartesian, parametric, polar, implicit, differential), and provides simple mathematical tools like for finding maximum/minimum of a function. Parametrized functions can be visualized by adjusting the variable parameter via a slider. Plots can be exported as bitmap format pictures (BMP, PNG) and can be printed.xx</p> <p xml:lang="x-test">xxKmPlot is a program to plot graphs of functions, their integrals or derivatives. The graphs can be colorized and the view is highly configurable, is scalable, and can be zoomed. The program features a powerful mathematical parser, different plot types (cartesian, parametric, polar, implicit, differential), and provides simple mathematical tools like for finding maximum/minimum of a function. Parametrized functions can be visualized by adjusting the variable parameter via a slider. Plots can be exported as bitmap format pictures (BMP, PNG) and can be printed.xx</p>
<p xml:lang="zh-TW">KmPlot 是一套用來繪製函數、函數的積分與微分圖形的程式。圖形可以上色,可以設定檢視模式,也可以縮放調整。這個應用程式中包含了一套強大的數學剖析器,不同的繪圖樣式(直角座標、極座標等),並提供簡單的數學工具,如找出函數最大、最小值等等。函數的參數可以做視覺化,用滑動器來調整參數值。最後繪製的圖形可以匯出為 bmp 或 png 格式的圖檔來列印。</p> <p xml:lang="zh-TW">KmPlot 是一套用來繪製函數、函數的積分與微分圖形的程式。圖形可以上色,可以設定檢視模式,也可以縮放調整。這個應用程式中包含了一套強大的數學剖析器,不同的繪圖樣式(直角座標、極座標等),並提供簡單的數學工具,如找出函數最大、最小值等等。函數的參數可以做視覺化,用滑動器來調整參數值。最後繪製的圖形可以匯出為 bmp 或 png 格式的圖檔來列印。</p>
</description> </description>
<url type="homepage">http://edu.kde.org/kmplot/</url> <url type="homepage">https://edu.kde.org/kmplot/</url>
<url type="bugtracker">https://bugs.kde.org/enter_bug.cgi?format=guided&amp;product=kmplot</url> <url type="bugtracker">https://bugs.kde.org/enter_bug.cgi?format=guided&amp;product=kmplot</url>
<url type="help">https://docs.kde.org/?application=kmplot</url> <url type="help">https://docs.kde.org/?application=kmplot</url>
<url type="donation">https://www.kde.org/community/donations/?app=kmplot&amp;source=appdata</url> <url type="donation">https://www.kde.org/community/donations/?app=kmplot&amp;source=appdata</url>
......
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