summaryrefslogtreecommitdiffstats
path: root/kontact/interfaces
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
commit716a5de8870d7c02bb4d0aed72f30291b17b763a (patch)
tree29e58b213ead28151ccf7eb33d12c968ea844120 /kontact/interfaces
parent0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (diff)
downloadtdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.tar.gz
tdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kontact/interfaces')
-rw-r--r--kontact/interfaces/core.cpp4
-rw-r--r--kontact/interfaces/summary.cpp4
-rw-r--r--kontact/interfaces/summary.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/kontact/interfaces/core.cpp b/kontact/interfaces/core.cpp
index ed8848c6..92e0f624 100644
--- a/kontact/interfaces/core.cpp
+++ b/kontact/interfaces/core.cpp
@@ -86,10 +86,10 @@ KParts::ReadOnlyPart *Core::createPart( const char *libname )
d->lastErrorMessage = KLibLoader::self()->lastErrorMessage();
break;
case KParts::ComponentFactory::ErrNoFactory:
- d->lastErrorMessage = i18n( "Program error: the library %1 does not provide a factory." ).tqarg( libname );
+ d->lastErrorMessage = i18n( "Program error: the library %1 does not provide a factory." ).arg( libname );
break;
case KParts::ComponentFactory::ErrNoComponent:
- d->lastErrorMessage = i18n( "Program error: the library %1 does not support creating components of the specified type" ).tqarg( libname );
+ d->lastErrorMessage = i18n( "Program error: the library %1 does not support creating components of the specified type" ).arg( libname );
break;
}
kdWarning(5601) << d->lastErrorMessage << endl;
diff --git a/kontact/interfaces/summary.cpp b/kontact/interfaces/summary.cpp
index ece3a577..6192dd4c 100644
--- a/kontact/interfaces/summary.cpp
+++ b/kontact/interfaces/summary.cpp
@@ -109,8 +109,8 @@ void Summary::dragEnterEvent( TQDragEnterEvent *event )
void Summary::dropEvent( TQDropEvent *event )
{
- int tqalignment = (event->pos().y() < (height() / 2) ? TQt::AlignTop : TQt::AlignBottom);
- emit summaryWidgetDropped( this, event->source(), tqalignment );
+ int alignment = (event->pos().y() < (height() / 2) ? TQt::AlignTop : TQt::AlignBottom);
+ emit summaryWidgetDropped( this, event->source(), alignment );
}
#include "summary.moc"
diff --git a/kontact/interfaces/summary.h b/kontact/interfaces/summary.h
index f50507ce..f490f517 100644
--- a/kontact/interfaces/summary.h
+++ b/kontact/interfaces/summary.h
@@ -74,7 +74,7 @@ class KDE_EXPORT Summary : public TQWidget
signals:
void message( const TQString &message );
- void summaryWidgetDropped( TQWidget *target, TQWidget *widget, int tqalignment );
+ void summaryWidgetDropped( TQWidget *target, TQWidget *widget, int alignment );
protected:
virtual void mousePressEvent( TQMouseEvent* );