summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:58:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:58:08 -0600
commit1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98 (patch)
treee24fdc0514249de1233dd5dc07f09d07a35f4269 /kopete/libkopete/ui
parent089118c18533dfa3e6ce5065dbebdd4db94051f1 (diff)
downloadtdenetwork-1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98.tar.gz
tdenetwork-1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kopete/libkopete/ui')
-rw-r--r--kopete/libkopete/ui/addressbooklinkwidget.cpp2
-rw-r--r--kopete/libkopete/ui/contactaddednotifydialog.cpp2
-rw-r--r--kopete/libkopete/ui/contactaddednotifywidget.ui2
-rw-r--r--kopete/libkopete/ui/fileconfirmbase.ui2
-rw-r--r--kopete/libkopete/ui/kopeteawaydialogbase.ui2
-rw-r--r--kopete/libkopete/ui/kopetefileconfirmdialog.cpp2
-rw-r--r--kopete/libkopete/ui/kopetelistviewitem.cpp26
-rw-r--r--kopete/libkopete/ui/kopetelistviewitem.h10
-rw-r--r--kopete/libkopete/ui/userinfodialog.cpp2
9 files changed, 25 insertions, 25 deletions
diff --git a/kopete/libkopete/ui/addressbooklinkwidget.cpp b/kopete/libkopete/ui/addressbooklinkwidget.cpp
index 5de3a023..31e04a52 100644
--- a/kopete/libkopete/ui/addressbooklinkwidget.cpp
+++ b/kopete/libkopete/ui/addressbooklinkwidget.cpp
@@ -74,7 +74,7 @@ void AddressBookLinkWidget::slotSelectAddressee()
{
TQString message;
if ( mMetaContact )
- message = i18n("Choose the corresponding entry for '%1'" ).tqarg( mMetaContact->displayName() );
+ message = i18n("Choose the corresponding entry for '%1'" ).arg( mMetaContact->displayName() );
else
message = i18n("Choose the corresponding entry in the address book" );
diff --git a/kopete/libkopete/ui/contactaddednotifydialog.cpp b/kopete/libkopete/ui/contactaddednotifydialog.cpp
index 018baf7a..5b5e1e55 100644
--- a/kopete/libkopete/ui/contactaddednotifydialog.cpp
+++ b/kopete/libkopete/ui/contactaddednotifydialog.cpp
@@ -71,7 +71,7 @@ ContactAddedNotifyDialog::ContactAddedNotifyDialog(const TQString& contactId,
d->account=account;
d->contactId=contactId;
d->widget->m_label->setText(i18n("<qt><img src=\"kopete-account-icon:%1\" /> The contact <b>%2</b> has added you to his/her contactlist. (Account %3)</qt>")
- .tqarg( KURL::encode_string( account->protocol()->pluginId() ) + TQString::fromLatin1(":")
+ .arg( KURL::encode_string( account->protocol()->pluginId() ) + TQString::fromLatin1(":")
+ KURL::encode_string( account->accountId() ) ,
contactNick.isEmpty() ? contactId : contactNick + TQString::fromLatin1(" < ") + contactId + TQString::fromLatin1(" >") ,
account->accountLabel() ) );
diff --git a/kopete/libkopete/ui/contactaddednotifywidget.ui b/kopete/libkopete/ui/contactaddednotifywidget.ui
index 80390486..4408d23b 100644
--- a/kopete/libkopete/ui/contactaddednotifywidget.ui
+++ b/kopete/libkopete/ui/contactaddednotifywidget.ui
@@ -24,7 +24,7 @@
<property name="text">
<string>The contact XXX added you in his contactlist</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
diff --git a/kopete/libkopete/ui/fileconfirmbase.ui b/kopete/libkopete/ui/fileconfirmbase.ui
index 490d2a7f..98970958 100644
--- a/kopete/libkopete/ui/fileconfirmbase.ui
+++ b/kopete/libkopete/ui/fileconfirmbase.ui
@@ -32,7 +32,7 @@
<property name="text">
<string>A user is trying to send you a file. The file will only be downloaded if you accept this dialog. If you do not wish to receive it, please click 'Refuse'. This file will never be executed by Kopete at any point during or after the transfer.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
diff --git a/kopete/libkopete/ui/kopeteawaydialogbase.ui b/kopete/libkopete/ui/kopeteawaydialogbase.ui
index 45b34aa2..38571bd6 100644
--- a/kopete/libkopete/ui/kopeteawaydialogbase.ui
+++ b/kopete/libkopete/ui/kopeteawaydialogbase.ui
@@ -26,7 +26,7 @@
<property name="text">
<string>Please specify an away message, or choose a predefined one.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter|AlignLeft</set>
</property>
<property name="wordwrap" stdset="0">
diff --git a/kopete/libkopete/ui/kopetefileconfirmdialog.cpp b/kopete/libkopete/ui/kopetefileconfirmdialog.cpp
index 33b54c4d..fffeec66 100644
--- a/kopete/libkopete/ui/kopetefileconfirmdialog.cpp
+++ b/kopete/libkopete/ui/kopetefileconfirmdialog.cpp
@@ -83,7 +83,7 @@ void KopeteFileConfirmDialog::slotUser2()
if(TQFile(m_view->m_saveto->text()).exists())
{
- int ret=KMessageBox::warningContinueCancel(this, i18n("The file '%1' already exists.\nDo you want to overwrite it ?").tqarg(m_view->m_saveto->text()) ,
+ int ret=KMessageBox::warningContinueCancel(this, i18n("The file '%1' already exists.\nDo you want to overwrite it ?").arg(m_view->m_saveto->text()) ,
i18n("Overwrite File") , KStdGuiItem::save());
if(ret==KMessageBox::Cancel)
return;
diff --git a/kopete/libkopete/ui/kopetelistviewitem.cpp b/kopete/libkopete/ui/kopetelistviewitem.cpp
index 777d35ae..5c4ff318 100644
--- a/kopete/libkopete/ui/kopetelistviewitem.cpp
+++ b/kopete/libkopete/ui/kopetelistviewitem.cpp
@@ -262,9 +262,9 @@ void Component::paint( TQPainter *painter, const TQColorGroup &cg )
}
}
-void Component::tqrepaint()
+void Component::repaint()
{
- d->parent->tqrepaint();
+ d->parent->repaint();
}
void Component::retqlayout()
@@ -374,7 +374,7 @@ void BoxComponent::calcMinSize()
}
if ( sizeChanged )
- tqrepaint();
+ repaint();
else
retqlayout();
}
@@ -758,7 +758,7 @@ ImageComponent::ImageComponent( ComponentBase *parent, int minW, int minH )
{
setMinWidth( minW );
setMinHeight( minH );
- tqrepaint();
+ repaint();
}
ImageComponent::~ImageComponent()
@@ -777,7 +777,7 @@ void ImageComponent::setPixmap( const TQPixmap &img, bool)
setMinWidth(d->image.width());
setMinHeight(d->image.height());
- tqrepaint();
+ repaint();
}
void ImageComponent::paint( TQPainter *painter, const TQColorGroup & )
@@ -814,7 +814,7 @@ void FaceComponent::setPixmap(const TQPixmap &img, bool)
setMinHeight(d->image.height() + 4);
}
- tqrepaint();
+ repaint();
}
static TQPoint operator+(const TQPoint &pt, const TQSize &sz)
@@ -906,7 +906,7 @@ void TextComponent::calcMinSize()
else
setMinHeight( 0 );
- tqrepaint();
+ repaint();
}
int TextComponent::widthForHeight( int )
@@ -927,13 +927,13 @@ void TextComponent::setColor( const TQColor &color )
{
d->color = color;
d->customColor = true;
- tqrepaint();
+ repaint();
}
void TextComponent::setDefaultColor()
{
d->customColor = false;
- tqrepaint();
+ repaint();
}
void TextComponent::paint( TQPainter *painter, const TQColorGroup &cg )
@@ -1370,7 +1370,7 @@ void Item::slotLayoutAnimateItems()
updateAnimationPosition( p, s );
setHeight(0);
- tqrepaint();
+ repaint();
}
float Item::opacity()
@@ -1382,7 +1382,7 @@ void Item::setOpacity( float opacity )
{
if ( d->opacity == opacity ) return;
d->opacity = opacity;
- tqrepaint();
+ repaint();
}
void Item::setSearchMatch( bool match )
@@ -1451,10 +1451,10 @@ void Item::slotUpdateVisibility()
setVisible( false );
}
setHeight( 0 );
- tqrepaint();
+ repaint();
}
-void Item::tqrepaint()
+void Item::repaint()
{
// if we're about to retqlayout, don't bother painting yet.
if ( d->layoutTimer.isActive() )
diff --git a/kopete/libkopete/ui/kopetelistviewitem.h b/kopete/libkopete/ui/kopetelistviewitem.h
index 0868afab..ba4b86f7 100644
--- a/kopete/libkopete/ui/kopetelistviewitem.h
+++ b/kopete/libkopete/ui/kopetelistviewitem.h
@@ -44,7 +44,7 @@ public:
Component *componentAt( const TQPoint &pt );
/** Repaint this item */
- virtual void tqrepaint() = 0;
+ virtual void repaint() = 0;
/** Retqlayout this item */
virtual void retqlayout() = 0;
@@ -64,7 +64,7 @@ protected:
virtual void componentRemoved( Component *component );
/** A child item has been resized */
virtual void componentResized( Component *component );
- /** Remove all tqchildren */
+ /** Remove all children */
virtual void clear();
/** @internal animate items */
@@ -116,11 +116,11 @@ public:
/**
* Paint this item, inside the rectangle returned by rect().
- * The default implementation calls paint on all tqchildren.
+ * The default implementation calls paint on all children.
*/
virtual void paint( TQPainter *painter, const TQColorGroup &cg );
- void tqrepaint();
+ void repaint();
void retqlayout();
/**
@@ -460,7 +460,7 @@ public:
Item( TQListViewItem *parent, TQObject *owner = 0, const char *name = 0 );
~Item();
- void tqrepaint();
+ void repaint();
void retqlayout();
void setup();
diff --git a/kopete/libkopete/ui/userinfodialog.cpp b/kopete/libkopete/ui/userinfodialog.cpp
index 35149e66..560abb97 100644
--- a/kopete/libkopete/ui/userinfodialog.cpp
+++ b/kopete/libkopete/ui/userinfodialog.cpp
@@ -59,7 +59,7 @@ struct UserInfoDialog::UserInfoDialogPrivate {
};
UserInfoDialog::UserInfoDialog( const TQString& descr )
-: KDialogBase( Kopete::UI::Global::mainWidget(), "userinfodialog", true, i18n( "User Info for %1" ).tqarg( descr ), KDialogBase::Ok )
+: KDialogBase( Kopete::UI::Global::mainWidget(), "userinfodialog", true, i18n( "User Info for %1" ).arg( descr ), KDialogBase::Ok )
{
d = new UserInfoDialogPrivate;
d->page = new TQWidget( this );