@ -22,7 +22,7 @@
# include "kio_umountwrapper.h"
# include <cstdlib>
# include < qtimer.h>
# include < t qtimer.h>
# include <kapplication.h>
# include <klocale.h>
@ -31,7 +31,7 @@
# include <kcmdlineargs.h>
# include <kdebug.h>
kio_umountwrapper : : kio_umountwrapper ( const QString& url )
kio_umountwrapper : : kio_umountwrapper ( const T QString& url )
: KApplication ( 0 , " kio_umountwrapper " )
{
m_progress = new KProgressDialog ( ) ;
@ -43,17 +43,17 @@ kio_umountwrapper::kio_umountwrapper(const QString& url)
m_progress - > progressBar ( ) - > setTotalSteps ( 0 ) ;
m_progress - > show ( ) ;
QTimer * t = new QTimer( this ) ;
connect ( t , SIGNAL( timeout ( ) ) , SLOT( progressAdvance ( ) ) ) ;
T QTimer * t = new T QTimer( this ) ;
connect ( t , TQT_ SIGNAL( timeout ( ) ) , TQT_ SLOT( progressAdvance ( ) ) ) ;
t - > start ( 10 , FALSE ) ;
KProcess * p = new KProcess ( this ) ;
KProcess * p = new KProcess ( TQT_TQOBJECT ( this ) ) ;
* p < < " kio_media_mounthelper " ;
* p < < " -s " ;
* p < < url ;
kdDebug ( ) < < " KProcess: " < < url < < endl ;
connect ( p , SIGNAL( processExited ( KProcess * ) ) ,
this , SLOT( processFinished ( KProcess * ) ) ) ;
connect ( p , TQT_ SIGNAL( processExited ( KProcess * ) ) ,
this , TQT_ SLOT( processFinished ( KProcess * ) ) ) ;
p - > start ( ) ;
}