CVS commit by ossi: minors M +3 -2 configure.in.in 1.38 M +3 -2 kprocio.h 1.21 M +1 -1 kprotocolinfo_kdecore.cpp 1.7 M +1 -1 ktempfile.h 1.23 M +1 -1 kurl.cpp 1.260 M +2 -2 kurl.h 1.129 --- kdelibs/kdecore/configure.in.in #1.37:1.38 @@ -15,6 +15,7 @@ dnl tests for openpty support AC_MSG_CHECKING(whether we can use openpty) -ac_use_openpty="yes" -AC_ARG_ENABLE(openpty, [ --disable-openpty disable openpty (UNIX98 terminals) support [default=enabled]], [ac_use_openpty="no"]) +AC_ARG_ENABLE(openpty, + [ --disable-openpty disable openpty (UNIX98 terminals) support [default=enabled]], + [ac_use_openpty=$enableval], [ac_use_openpty=yes]) if test "$ac_use_openpty" = "yes"; then kde_safe_LIBS=$LIBS --- kdelibs/kdecore/kprocio.h #1.20:1.21 @@ -158,5 +158,6 @@ public: * @param autoAck when true, ackRead() is called for you. * @return the number of characters read, or -1 if no data is available. - * @deprecated use readln + * @deprecated use readln. Note that it has an inverted autoAck default, + * though. **/ KDE_DEPRECATED int fgets (QString &line, bool autoAck=false) --- kdelibs/kdecore/kprotocolinfo_kdecore.cpp #1.6:1.7 @@ -90,5 +90,5 @@ KProtocolInfo::KProtocolInfo(const QStri d->docPath = config.readPathEntry( "DocPath" ); d->protClass = config.readEntry( "Class" ).lower(); - if (!d->protClass.startsWith(":")) + if (d->protClass[0] != ':') d->protClass.prepend(':'); --- kdelibs/kdecore/ktempfile.h #1.22:1.23 @@ -60,5 +60,5 @@ public: * \\\ * - * The default @p filePrefix is "$KDEHOME/tmp-$HOST/appname" + * The default @p filePrefix is "$KDEHOME/tmp-$HOST/appname/" * The default @p fileExtension is ".tmp" * @param filePrefix the prefix of the file name, or QString::null --- kdelibs/kdecore/kurl.cpp #1.259:1.260 @@ -1785,5 +1785,5 @@ void KURL::setDirectory( const QString & void KURL::setQuery( const QString &_txt, int encoding_hint) { - if (_txt.length() && (_txt[0] =='?')) + if (_txt[0] == '?') _setQuery( _txt.mid(1), encoding_hint ); else --- kdelibs/kdecore/kurl.h #1.128:1.129 @@ -35,5 +35,5 @@ class KURLPrivate; * A prototypical URL looks like: * \code - * protocol:/user:password\@hostname:port/path/to/file.ext#reference + * protocol://user:password\@hostname:port/path/to/file.ext#reference * \endcode *