summaryrefslogtreecommitdiffstats
path: root/kontact/src/aboutdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/src/aboutdialog.cpp')
-rw-r--r--kontact/src/aboutdialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kontact/src/aboutdialog.cpp b/kontact/src/aboutdialog.cpp
index 1bbd0ef6..6f27a4cf 100644
--- a/kontact/src/aboutdialog.cpp
+++ b/kontact/src/aboutdialog.cpp
@@ -33,7 +33,7 @@
#include <kactivelabel.h>
#include <ktextbrowser.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <kdebug.h>
@@ -81,7 +81,7 @@ void AboutDialog::addAboutData( const TQString &title, const TQString &icon,
text += "<p><b>" + about->programName() + "</b><br>";
- text += i18n( "Version %1</p>" ).tqarg( about->version() );
+ text += i18n( "Version %1</p>" ).arg( about->version() );
if ( !about->shortDescription().isEmpty() ) {
text += "<p>" + about->shortDescription() + "<br>" +
@@ -96,7 +96,7 @@ void AboutDialog::addAboutData( const TQString &title, const TQString &icon,
text.replace( "\n", "<br>" );
KActiveLabel *label = new KActiveLabel( text, topFrame );
- label->tqsetAlignment( AlignTop );
+ label->setAlignment( AlignTop );
topLayout->addWidget( label );
@@ -163,13 +163,13 @@ void AboutDialog::addLicenseText( const KAboutData *about )
TQPixmap pixmap = KGlobal::iconLoader()->loadIcon( "signature",
KIcon::Desktop, 48 );
- TQString title = i18n( "%1 License" ).tqarg( about->programName() );
+ TQString title = i18n( "%1 License" ).arg( about->programName() );
TQFrame *topFrame = addPage( title, TQString(), pixmap );
TQBoxLayout *topLayout = new TQVBoxLayout( topFrame );
KTextBrowser *textBrowser = new KTextBrowser( topFrame );
- textBrowser->setText( TQString( "<pre>%1</pre>" ).tqarg( about->license() ) );
+ textBrowser->setText( TQString( "<pre>%1</pre>" ).arg( about->license() ) );
topLayout->addWidget( textBrowser );
}