summaryrefslogtreecommitdiffstats
path: root/korganizer/koeventviewer.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
commit1c93fca14d9ce37499bcfdf994c660186a0b6f17 (patch)
treef2defe163a805a9e34a2142dfde4cdb5e49241e7 /korganizer/koeventviewer.cpp
parent67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (diff)
downloadtdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.tar.gz
tdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.zip
Enable kdepim compilation under Qt4
This will likely break Qt3 compilation temporarily, which is an unintended side effect. A third and final kdepim commit will repair Qt3 compilation shortly. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/koeventviewer.cpp')
-rw-r--r--korganizer/koeventviewer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp
index 8cd16faad..391ad42ac 100644
--- a/korganizer/koeventviewer.cpp
+++ b/korganizer/koeventviewer.cpp
@@ -62,7 +62,7 @@ void KOEventViewer::message( const TQString &link )
if ( link.startsWith( "kmail:" ) ) {
ttStr = i18n( "Open the message in KMail" );
} else if ( link.startsWith( "mailto:" ) ) {
- ttStr = i18n( "Send an email message to %1" ).arg( link.mid( 7 ) );
+ ttStr = i18n( "Send an email message to %1" ).tqarg( link.mid( 7 ) );
} else if ( link.startsWith( "uid:" ) ) {
ttStr = i18n( "Lookup the contact in KAddressbook" );
} else if ( link.startsWith( "ATTACH:" ) ) {
@@ -70,7 +70,7 @@ void KOEventViewer::message( const TQString &link )
tmp.remove( TQRegExp( "^ATTACH://" ) );
TQString uid = tmp.section( ':', 0, 0 );
TQString name = tmp.section( ':', -1, -1 );
- ttStr = i18n( "View attachment \"%1\"" ).arg( name );
+ ttStr = i18n( "View attachment \"%1\"" ).tqarg( name );
mAttachLink = link;
} else { // no special URI, let KDE handle it
ttStr = i18n( "Launch a viewer on the link" );
@@ -85,7 +85,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( TQString("EventViewer-%1").arg( name() ) );
+ config->setGroup( TQString("EventViewer-%1").tqarg( name() ) );
int zoomFactor = config->readNumEntry("ZoomFactor", pointSize() );
zoomTo( zoomFactor/2 );
kdDebug(5850) << " KOEventViewer: restoring the pointSize: "<< pointSize()
@@ -98,7 +98,7 @@ void KOEventViewer::writeSettings( KConfig * config )
{
if ( config ) {
kdDebug(5850) << " KOEventViewer: saving the zoomFactor: "<< pointSize() << endl;
- config->setGroup( TQString("EventViewer-%1").arg( name() ) );
+ config->setGroup( TQString("EventViewer-%1").tqarg( name() ) );
config->writeEntry("ZoomFactor", pointSize() );
}
}