diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/koeventviewer.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/koeventviewer.cpp')
-rw-r--r-- | korganizer/koeventviewer.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp index 5567211e5..47ac5b7a4 100644 --- a/korganizer/koeventviewer.cpp +++ b/korganizer/koeventviewer.cpp @@ -31,8 +31,8 @@ #include <kdebug.h> #include <koglobals.h> -KOEventViewer::KOEventViewer( QWidget *parent, const char *name ) - : QTextBrowser( parent, name ), mDefaultText("") +KOEventViewer::KOEventViewer( TQWidget *parent, const char *name ) + : TQTextBrowser( parent, name ), mDefaultText("") { mIncidence = 0; } @@ -47,7 +47,7 @@ void KOEventViewer::readSettings( KConfig * config ) // With each restart of KOrganizer the font site gets halfed. What should this // be good for? #if 0 - config->setGroup( QString("EventViewer-%1").arg( name() ) ); + config->setGroup( TQString("EventViewer-%1").arg( name() ) ); int zoomFactor = config->readNumEntry("ZoomFactor", pointSize() ); zoomTo( zoomFactor/2 ); kdDebug(5850) << " KOEventViewer: restoring the pointSize: "<< pointSize() @@ -60,12 +60,12 @@ void KOEventViewer::writeSettings( KConfig * config ) { if ( config ) { kdDebug(5850) << " KOEventViewer: saving the zoomFactor: "<< pointSize() << endl; - config->setGroup( QString("EventViewer-%1").arg( name() ) ); + config->setGroup( TQString("EventViewer-%1").arg( name() ) ); config->writeEntry("ZoomFactor", pointSize() ); } } -void KOEventViewer::setSource( const QString &n ) +void KOEventViewer::setSource( const TQString &n ) { UriHandler::process( n ); } @@ -94,13 +94,13 @@ void KOEventViewer::clearEvents( bool now ) if ( now ) setText( mDefaultText ); } -void KOEventViewer::addText( const QString &text ) +void KOEventViewer::addText( const TQString &text ) { mText.append( text ); setText( mText ); } -void KOEventViewer::setDefaultText( const QString &text ) +void KOEventViewer::setDefaultText( const TQString &text ) { mDefaultText = text; } |