[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesdk/kapptemplate
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2003-12-05 21:35:07
[Download RAW message or body]
CVS commit by aacid:
Change deprecated calls to KUrl::isMalformed() to non deprecated ones !(KUrl::isValid())
M +1 -1 kapp/app.cpp 1.16
M +1 -1 kpartplugin/plugin_app.cpp 1.7
--- kdesdk/kapptemplate/kapp/app.cpp #1.15:1.16
@@ -202,5 +202,5 @@ void ${APP_NAME}::fileSaveAs()
// this slot is called whenever the File->Save As menu is selected,
KURL file_url = KFileDialog::getSaveURL();
- if (!file_url.isEmpty() && !file_url.isMalformed())
+ if (!file_url.isEmpty() && file_url.isValid())
{
// save your info, here
--- kdesdk/kapptemplate/kpartplugin/plugin_app.cpp #1.6:1.7
@@ -54,5 +54,5 @@ void Plugin${APP_NAME}::slotAction()
// This is a standard check to make sure we are dealing with a
// valid URL
- if ( url.isMalformed() )
+ if ( !url.isValid() )
{
QString title( i18n( "Malformed URL" ) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic