[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenox/konq-embed/src
From:       Luciano Montanaro <mikelima () virgilio ! it>
Date:       2004-03-17 15:35:43
Message-ID: 20040317153543.7458899B4 () office ! kde ! org
[Download RAW message or body]

CVS commit by montanaro: 

Use isValid() instead of deprecated !isMalformed().
Updated the license as well.


  M +19 -18    main.cc   1.46


--- kdenox/konq-embed/src/main.cc  #1.45:1.46
@@ -1,23 +1,24 @@
 /*  This file is part of the KDE project
-    Copyright (C) 2000,2001 Simon Hausmann <hausmann@kde.org>
+    Copyright (C) 2000-2002 Simon Hausmann <hausmann@kde.org>
+    Copyright (C) 2001 Lars Knoll <knoll@kde.org>
+    Copyright (C) 2001 Dirk Mueller <mueller@kde.org>
+    Copyright (C) 2002-2003 Paul Chitescu <paulc-devel@null.ro>
+    Copyright (C) 2003 Luciano Montanaro <mikelima@virgilio.it>
+    Copyright (C) 2003-2004 Fastweb SpA
 
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Library General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
 
-    This program is distributed in the hope that it will be useful,
+    This library is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-
-    As a special exception this program may be linked with Qt non-commercial 
-    edition, the resulting executable be distributed, without including the 
-    source code for the Qt non-commercial edition in the source distribution.
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Library General Public License for more details.
 
+    You should have received a copy of the GNU Library General Public License
+    along with this library; see the file COPYING.LIB.  If not, write to
+    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+    Boston, MA 02111-1307, USA.
 */
 
@@ -318,5 +319,5 @@ int main( int argc, char **argv )
        {
            KURL u = QString::fromLatin1( QCString( argv[ i ] ) );
-           if ( !u.isMalformed() && !u.isEmpty() )
+           if ( u.isValid() && !u.isEmpty() )
            {
                toplevel->createNewView( u );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic