summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete')
-rw-r--r--kopete/libkopete/avdevice/videodevicepool.cpp2
-rw-r--r--kopete/libkopete/compat/kpixmapregionselectorwidget.cpp6
-rw-r--r--kopete/libkopete/kabcpersistence.cpp8
-rw-r--r--kopete/libkopete/kautoconfig.cpp4
-rw-r--r--kopete/libkopete/kautoconfig.h14
-rw-r--r--kopete/libkopete/knotification.cpp2
-rw-r--r--kopete/libkopete/kopeteaccount.cpp10
-rw-r--r--kopete/libkopete/kopetechatsession.cpp4
-rw-r--r--kopete/libkopete/kopetecommandhandler.cpp2
-rw-r--r--kopete/libkopete/kopetecontact.cpp36
-rw-r--r--kopete/libkopete/kopeteeventpresentation.cpp2
-rw-r--r--kopete/libkopete/kopeteglobal.cpp6
-rw-r--r--kopete/libkopete/kopetemessage.cpp18
-rw-r--r--kopete/libkopete/kopetemimetypehandler.cpp2
-rw-r--r--kopete/libkopete/kopetenotifydataobject.cpp2
-rw-r--r--kopete/libkopete/kopetenotifyevent.cpp2
-rw-r--r--kopete/libkopete/kopeteonlinestatusmanager.cpp12
-rw-r--r--kopete/libkopete/kopetepasswordedaccount.cpp4
-rw-r--r--kopete/libkopete/kopetepicture.cpp2
-rw-r--r--kopete/libkopete/kopetepluginmanager.cpp4
-rw-r--r--kopete/libkopete/kopeteprefs.cpp2
-rw-r--r--kopete/libkopete/kopeteprotocol.h2
-rw-r--r--kopete/libkopete/private/kopetecommand.cpp12
-rw-r--r--kopete/libkopete/private/kopeteviewmanager.cpp2
-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
-rw-r--r--kopete/libkopete/webcamwidget.cpp2
34 files changed, 106 insertions, 106 deletions
diff --git a/kopete/libkopete/avdevice/videodevicepool.cpp b/kopete/libkopete/avdevice/videodevicepool.cpp
index 1107a54d..b725d5d5 100644
--- a/kopete/libkopete/avdevice/videodevicepool.cpp
+++ b/kopete/libkopete/avdevice/videodevicepool.cpp
@@ -833,7 +833,7 @@ void VideoDevicePool::saveConfig()
}
*/
// Stores what is the current video device in use
- const TQString currentdevice = TQString(TQString::fromLocal8Bit ( "Model %1 Device %2" )) .tqarg(m_videodevice[m_current_device].m_model) .tqarg(m_videodevice[m_current_device].m_modelindex);
+ const TQString currentdevice = TQString(TQString::fromLocal8Bit ( "Model %1 Device %2" )) .arg(m_videodevice[m_current_device].m_model) .arg(m_videodevice[m_current_device].m_modelindex);
config->writeEntry( "Current Device", currentdevice);
VideoDeviceVector::iterator vditerator;
diff --git a/kopete/libkopete/compat/kpixmapregionselectorwidget.cpp b/kopete/libkopete/compat/kpixmapregionselectorwidget.cpp
index 25f99824..967a47eb 100644
--- a/kopete/libkopete/compat/kpixmapregionselectorwidget.cpp
+++ b/kopete/libkopete/compat/kpixmapregionselectorwidget.cpp
@@ -211,7 +211,7 @@ bool KPixmapRegionSelectorWidget::eventFilter(TQObject *obj, TQEvent *ev)
if ( ev->type() == TQEvent::MouseButtonPress )
{
TQMouseEvent *mev= (TQMouseEvent *)(ev);
- //kdDebug() << TQString("click at %1,%2").tqarg( mev->x() ).tqarg( mev->y() ) << endl;
+ //kdDebug() << TQString("click at %1,%2").arg( mev->x() ).arg( mev->y() ) << endl;
if ( mev->button() == RightButton )
{
@@ -246,7 +246,7 @@ bool KPixmapRegionSelectorWidget::eventFilter(TQObject *obj, TQEvent *ev)
{
TQMouseEvent *mev= (TQMouseEvent *)(ev);
- //kdDebug() << TQString("move to %1,%2").tqarg( mev->x() ).tqarg( mev->y() ) << endl;
+ //kdDebug() << TQString("move to %1,%2").arg( mev->x() ).arg( mev->y() ) << endl;
if ( m_state == Resizing )
{
@@ -418,7 +418,7 @@ void KPixmapRegionSelectorWidget::setMaximumWidgetSize(int width, int height)
if (m_selectedRegion == m_originalPixmap.rect()) m_selectedRegion=TQRect();
// kdDebug() << TQString(" original Pixmap :") << m_originalPixmap.rect() << endl;
-// kdDebug() << TQString(" unzoomed Pixmap : %1 x %2 ").tqarg(m_unzoomedPixmap.width()).tqarg(m_unzoomedPixmap.height()) << endl;
+// kdDebug() << TQString(" unzoomed Pixmap : %1 x %2 ").arg(m_unzoomedPixmap.width()).arg(m_unzoomedPixmap.height()) << endl;
if ( !m_originalPixmap.isNull() &&
( m_originalPixmap.width() > m_maxWidth ||
diff --git a/kopete/libkopete/kabcpersistence.cpp b/kopete/libkopete/kabcpersistence.cpp
index 6e712606..c6356d65 100644
--- a/kopete/libkopete/kabcpersistence.cpp
+++ b/kopete/libkopete/kabcpersistence.cpp
@@ -291,7 +291,7 @@ bool KABCPersistence::syncWithKABC( MetaContact * mc )
if ( !proto )
{
KMessageBox::queuedMessageBox( Kopete::UI::Global::mainWidget(), KMessageBox::Sorry,
- i18n( "<qt>\"%1\" is not supported by Kopete.</qt>" ).tqarg( protocolName ),
+ i18n( "<qt>\"%1\" is not supported by Kopete.</qt>" ).arg( protocolName ),
i18n( "Could Not Sync with KDE Address Book" ) );
continue;
}
@@ -339,7 +339,7 @@ bool KABCPersistence::syncWithKABC( MetaContact * mc )
// if not, prompt to add it
kdDebug( 14010 ) << proto->pluginId() << "://" << *it << " was not found in the contact list. Prompting to add..." << endl;
if ( KMessageBox::Yes == KMessageBox::questionYesNo( Kopete::UI::Global::mainWidget(),
- i18n( "<qt>An address was added to this contact by another application.<br>Would you like to use it in Kopete?<br><b>Protocol:</b> %1<br><b>Address:</b> %2</qt>" ).tqarg( proto->displayName() ).tqarg( *it ), i18n( "Import Address From Address Book" ), i18n("Use"), i18n("Do Not Use"), TQString::fromLatin1( "ImportFromKABC" ) ) )
+ i18n( "<qt>An address was added to this contact by another application.<br>Would you like to use it in Kopete?<br><b>Protocol:</b> %1<br><b>Address:</b> %2</qt>" ).arg( proto->displayName() ).arg( *it ), i18n( "Import Address From Address Book" ), i18n("Use"), i18n("Do Not Use"), TQString::fromLatin1( "ImportFromKABC" ) ) )
{
// Check the accounts for this protocol are all connected
// Most protocols do not allow you to add contacts while offline
@@ -353,7 +353,7 @@ bool KABCPersistence::syncWithKABC( MetaContact * mc )
if ( !allAccountsConnected )
{
KMessageBox::queuedMessageBox( Kopete::UI::Global::mainWidget(), KMessageBox::Sorry,
- i18n( "<qt>One or more of your accounts using %1 are offline. Most systems have to be connected to add contacts. Please connect these accounts and try again.</qt>" ).tqarg( protocolName ),
+ i18n( "<qt>One or more of your accounts using %1 are offline. Most systems have to be connected to add contacts. Please connect these accounts and try again.</qt>" ).arg( protocolName ),
i18n( "Not Connected" ) );
continue;
}
@@ -378,7 +378,7 @@ bool KABCPersistence::syncWithKABC( MetaContact * mc )
else if ( accounts.isEmpty() )
{
KMessageBox::queuedMessageBox( Kopete::UI::Global::mainWidget(), KMessageBox::Sorry,
- i18n( "<qt>You do not have an account configured for <b>%1</b> yet. Please create an account, connect it, and try again.</qt>" ).tqarg( protocolName ),
+ i18n( "<qt>You do not have an account configured for <b>%1</b> yet. Please create an account, connect it, and try again.</qt>" ).arg( protocolName ),
i18n( "No Account Found" ) );
continue;
}
diff --git a/kopete/libkopete/kautoconfig.cpp b/kopete/libkopete/kautoconfig.cpp
index 21ec0e13..c94b197d 100644
--- a/kopete/libkopete/kautoconfig.cpp
+++ b/kopete/libkopete/kautoconfig.cpp
@@ -183,7 +183,7 @@ bool KAutoConfig::retrieveSettings(bool trackChanges){
changedMap.insert( TQString::fromLatin1("KDoubleNumInput"), TQT_SIGNAL(valueChanged (double)));
}
- // Go through all of the tqchildren of the widgets and find all known widgets
+ // Go through all of the children of the widgets and find all known widgets
TQPtrListIterator<TQWidget> it( d->widgets );
TQWidget *widget;
bool usingDefaultValues = false;
@@ -439,7 +439,7 @@ bool KAutoConfig::parseChildren(const TQWidget *widget,
if(parseTheChildren)
{
// this widget is not known as something we can store.
- // Maybe we can store one of its tqchildren.
+ // Maybe we can store one of its children.
valueChanged |= parseChildren(childWidget, currentGroup, trackChanges);
}
}
diff --git a/kopete/libkopete/kautoconfig.h b/kopete/libkopete/kautoconfig.h
index 6be452b0..7d1d3d28 100644
--- a/kopete/libkopete/kautoconfig.h
+++ b/kopete/libkopete/kautoconfig.h
@@ -142,7 +142,7 @@ public:
/**
* Adds a widget to the list of widgets that should be parsed for any
- * tqchildren that KAutoConfig might know when retrieveSettings() is
+ * children that KAutoConfig might know when retrieveSettings() is
* called. All calls to this function should be made before calling
* retrieveSettings().
* @param widget - Pointer to the widget to add.
@@ -155,7 +155,7 @@ public:
/**
* Ignore the specified child widget when performing an action. Doesn't
- * effect widgets that were added with addWidget() only their tqchildren. All
+ * effect widgets that were added with addWidget() only their children. All
* calls to this function should be made before calling retrieveSettings().
* @param widget - Pointer to the widget that should be ignored.
* Note: Widgets that don't have a name are ignored automatically.
@@ -252,13 +252,13 @@ protected:
TQMap<TQString, TQCString> changedMap;
/**
- * Recursive function that finds all known tqchildren.
- * Goes through the tqchildren of widget and if any are known and not being
+ * Recursive function that finds all known children.
+ * Goes through the children of widget and if any are known and not being
* ignored, stores them in currentGroup. Also checks if the widget
* should be disabled because it is set immutable.
- * @param widget - Parent of the tqchildren to look at.
- * @param currentGroup - Place to store known tqchildren of widget.
- * @param trackChanges - If true then tracks any changes to the tqchildren of
+ * @param widget - Parent of the children to look at.
+ * @param currentGroup - Place to store known children of widget.
+ * @param trackChanges - If true then tracks any changes to the children of
* widget that are known.
* @return bool - If a widget was set to something other then its default.
* @see retrieveSettings()
diff --git a/kopete/libkopete/knotification.cpp b/kopete/libkopete/knotification.cpp
index f818d101..f072254f 100644
--- a/kopete/libkopete/knotification.cpp
+++ b/kopete/libkopete/knotification.cpp
@@ -209,7 +209,7 @@ void KNotification::notifyByPassivePopup(const TQPixmap &pix )
for ( TQStringList::ConstIterator it = d->actions.begin() ; it != d->actions.end(); ++it )
{
i++;
- linkCode+=TQString::fromLatin1("&nbsp;<a href=\"%1\">%2</a> ").tqarg( TQString::number(i) , TQStyleSheet::escape(*it) );
+ linkCode+=TQString::fromLatin1("&nbsp;<a href=\"%1\">%2</a> ").arg( TQString::number(i) , TQStyleSheet::escape(*it) );
}
linkCode+=TQString::fromLatin1("</p>");
KActiveLabel *link = new KActiveLabel(linkCode , vb );
diff --git a/kopete/libkopete/kopeteaccount.cpp b/kopete/libkopete/kopeteaccount.cpp
index e0f7cfd2..bb8b3d36 100644
--- a/kopete/libkopete/kopeteaccount.cpp
+++ b/kopete/libkopete/kopeteaccount.cpp
@@ -86,7 +86,7 @@ public:
Account::Account( Protocol *parent, const TQString &accountId, const char *name )
: TQObject( parent, name ), d( new Private( parent, accountId ) )
{
- d->configGroup=new KConfigGroup(KGlobal::config(), TQString::fromLatin1( "Account_%1_%2" ).tqarg( d->protocol->pluginId(), d->id ));
+ d->configGroup=new KConfigGroup(KGlobal::config(), TQString::fromLatin1( "Account_%1_%2" ).arg( d->protocol->pluginId(), d->id ));
d->excludeconnect = d->configGroup->readBoolEntry( "ExcludeConnect", false );
d->color = d->configGroup->readColorEntry( "Color", &d->color );
@@ -139,7 +139,7 @@ void Account::disconnected( DisconnectReason reason )
}
if(reason== OtherClient)
{
- Kopete::Utils::notifyConnectionLost(this, i18n("You have been disconnected"), i18n( "You have connected from another client or computer to the account '%1'" ).tqarg(d->id), i18n("Most proprietary Instant Messaging services do not allow you to connect from more than one location. Check that nobody is using your account without your permission. If you need a service that supports connection from various locations at the same time, use the Jabber protocol."));
+ Kopete::Utils::notifyConnectionLost(this, i18n("You have been disconnected"), i18n( "You have connected from another client or computer to the account '%1'" ).arg(d->id), i18n("Most proprietary Instant Messaging services do not allow you to connect from more than one location. Check that nobody is using your account without your permission. If you need a service that supports connection from various locations at the same time, use the Jabber protocol."));
}
}
@@ -255,7 +255,7 @@ Kopete::MetaContact* Account::addContact( const TQString &contactId, const TQStr
if ( contactId == d->myself->contactId() )
{
KMessageBox::queuedMessageBox( Kopete::UI::Global::mainWidget(), KMessageBox::Error,
- i18n("You are not allowed to add yourself to the contact list. The addition of \"%1\" to account \"%2\" will not take place.").tqarg(contactId,accountId()), i18n("Error Creating Contact")
+ i18n("You are not allowed to add yourself to the contact list. The addition of \"%1\" to account \"%2\" will not take place.").arg(contactId,accountId()), i18n("Error Creating Contact")
);
return false;
}
@@ -321,7 +321,7 @@ bool Account::addContact(const TQString &contactId , MetaContact *parent, AddMod
if ( contactId == myself()->contactId() )
{
KMessageBox::error( Kopete::UI::Global::mainWidget(),
- i18n("You are not allowed to add yourself to the contact list. The addition of \"%1\" to account \"%2\" will not take place.").tqarg(contactId,accountId()), i18n("Error Creating Contact")
+ i18n("You are not allowed to add yourself to the contact list. The addition of \"%1\" to account \"%2\" will not take place.").arg(contactId,accountId()), i18n("Error Creating Contact")
);
return 0L;
}
@@ -365,7 +365,7 @@ KActionMenu * Account::actionMenu()
TQString nick = myself()->property( Kopete::Global::Properties::self()->nickName()).value().toString();
menu->popupMenu()->insertTitle( myself()->onlineStatus().iconFor( myself() ),
- nick.isNull() ? accountLabel() : i18n( "%2 <%1>" ).tqarg( accountLabel(), nick )
+ nick.isNull() ? accountLabel() : i18n( "%2 <%1>" ).arg( accountLabel(), nick )
);
OnlineStatusManager::self()->createAccountStatusActions(this, menu);
diff --git a/kopete/libkopete/kopetechatsession.cpp b/kopete/libkopete/kopetechatsession.cpp
index 46c19361..41083d5e 100644
--- a/kopete/libkopete/kopetechatsession.cpp
+++ b/kopete/libkopete/kopetechatsession.cpp
@@ -171,7 +171,7 @@ void Kopete::ChatSession::slotUpdateDisplayName()
//If we have only 1 contact, add the status of him
if ( d->mContactList.count() == 1 )
{
- d->displayName.append( TQString::fromLatin1( " (%1)" ).tqarg( d->mContactList.first()->onlineStatus().description() ) );
+ d->displayName.append( TQString::fromLatin1( " (%1)" ).arg( d->mContactList.first()->onlineStatus().description() ) );
}
emit displayNameChanged();
@@ -275,7 +275,7 @@ void Kopete::ChatSession::appendMessage( Kopete::Message &msg )
{
TQString nick=myself()->property(Kopete::Global::Properties::self()->nickName()).value().toString();
if ( KopetePrefs::prefs()->highlightEnabled() && !nick.isEmpty() &&
- msg.plainBody().contains( TQRegExp( TQString::fromLatin1( "\\b(%1)\\b" ).tqarg( nick ), false ) ) )
+ msg.plainBody().contains( TQRegExp( TQString::fromLatin1( "\\b(%1)\\b" ).arg( nick ), false ) ) )
{
msg.setImportance( Kopete::Message::Highlight );
}
diff --git a/kopete/libkopete/kopetecommandhandler.cpp b/kopete/libkopete/kopetecommandhandler.cpp
index acb3d767..2b0aeb4d 100644
--- a/kopete/libkopete/kopetecommandhandler.cpp
+++ b/kopete/libkopete/kopetecommandhandler.cpp
@@ -255,7 +255,7 @@ void Kopete::CommandHandler::slotHelpCommand( const TQString &args, Kopete::Chat
if( c && !c->help().isNull() )
output = c->help();
else
- output = i18n("There is no help available for '%1'.").tqarg( command );
+ output = i18n("There is no help available for '%1'.").arg( command );
}
Kopete::Message msg(manager->myself(), manager->members(), output, Kopete::Message::Internal, Kopete::Message::PlainText);
diff --git a/kopete/libkopete/kopetecontact.cpp b/kopete/libkopete/kopetecontact.cpp
index 89109418..e692b6f5 100644
--- a/kopete/libkopete/kopetecontact.cpp
+++ b/kopete/libkopete/kopetecontact.cpp
@@ -202,9 +202,9 @@ KPopupMenu* Contact::popupMenu( ChatSession *manager )
TQString titleText;
TQString nick = property( Kopete::Global::Properties::self()->nickName() ).value().toString();
if( nick.isEmpty() )
- titleText = TQString::fromLatin1( "%1 (%2)" ).tqarg( contactId(), onlineStatus().description() );
+ titleText = TQString::fromLatin1( "%1 (%2)" ).arg( contactId(), onlineStatus().description() );
else
- titleText = TQString::fromLatin1( "%1 <%2> (%3)" ).tqarg( nick, contactId(), onlineStatus().description() );
+ titleText = TQString::fromLatin1( "%1 <%2> (%3)" ).arg( nick, contactId(), onlineStatus().description() );
menu->insertTitle( titleText );
if( metaContact() && metaContact()->isTemporary() && contactId() != account()->myself()->contactId() )
@@ -314,7 +314,7 @@ void Contact::setMetaContact( MetaContact *m )
{ //only one contact, including this one, that mean the contact will be empty efter the move
result = KMessageBox::questionYesNoCancel( Kopete::UI::Global::mainWidget(), i18n( "You are moving the contact `%1' to the meta contact `%2'.\n"
"`%3' will be empty afterwards. Do you want to delete this contact?" )
- .tqarg(contactId(), m ? m->displayName() : TQString(), old->displayName())
+ .arg(contactId(), m ? m->displayName() : TQString(), old->displayName())
, i18n( "Move Contact" ), KStdGuiItem::del(), i18n( "&Keep" ) , TQString::fromLatin1("delete_old_contact_when_move") );
if(result==KMessageBox::Cancel)
return;
@@ -368,7 +368,7 @@ void Contact::serializeProperties(TQMap<TQString, TQString> &serializedData)
continue;
TQVariant val = it.data().value();
- TQString key = TQString::fromLatin1("prop_%1_%2").tqarg(TQString::fromLatin1(val.typeName()), it.key());
+ TQString key = TQString::fromLatin1("prop_%1_%2").arg(TQString::fromLatin1(val.typeName()), it.key());
serializedData[key] = val.toString();
@@ -646,7 +646,7 @@ TQString Contact::toolTip() const
// Fixed part of tooltip
TQString iconName = TQString::fromLatin1("kopete-contact-icon:%1:%2:%3")
- .tqarg( KURL::encode_string( protocol()->pluginId() ),
+ .arg( KURL::encode_string( protocol()->pluginId() ),
KURL::encode_string( account()->accountId() ),
KURL::encode_string( contactId() ) );
@@ -679,7 +679,7 @@ TQString Contact::toolTip() const
if(!name.isEmpty())
{
tip += i18n("<br><b>Full Name:</b>&nbsp;FORMATTED NAME",
- "<br><b>Full Name:</b>&nbsp;<nobr>%1</nobr>").tqarg(TQStyleSheet::escape(name));
+ "<br><b>Full Name:</b>&nbsp;<nobr>%1</nobr>").arg(TQStyleSheet::escape(name));
}
}
else if ((*it) == TQString::fromLatin1("FormattedIdleTime"))
@@ -688,7 +688,7 @@ TQString Contact::toolTip() const
if(!time.isEmpty())
{
tip += i18n("<br><b>Idle:</b>&nbsp;FORMATTED IDLE TIME",
- "<br><b>Idle:</b>&nbsp;<nobr>%1</nobr>").tqarg(time);
+ "<br><b>Idle:</b>&nbsp;<nobr>%1</nobr>").arg(time);
}
}
else if ((*it) == TQString::fromLatin1("homePage"))
@@ -768,8 +768,8 @@ TQString Kopete::Contact::formattedName() const
if(!last.isNull()) // contact has both first and last name
{
ret = i18n("firstName lastName", "%2 %1")
- .tqarg(last.value().toString())
- .tqarg(first.value().toString());
+ .arg(last.value().toString())
+ .arg(first.value().toString());
}
else // only first name set
{
@@ -804,23 +804,23 @@ TQString Kopete::Contact::formattedIdleTime() const
{
ret = i18n( "<days>d <hours>h <minutes>m <seconds>s",
"%4d %3h %2m %1s" )
- .tqarg( secs )
- .tqarg( mins )
- .tqarg( hours )
- .tqarg( days );
+ .arg( secs )
+ .arg( mins )
+ .arg( hours )
+ .arg( days );
}
else if ( hours != 0 )
{
ret = i18n( "<hours>h <minutes>m <seconds>s", "%3h %2m %1s" )
- .tqarg( secs )
- .tqarg( mins )
- .tqarg( hours );
+ .arg( secs )
+ .arg( mins )
+ .arg( hours );
}
else
{
ret = i18n( "<minutes>m <seconds>s", "%2m %1s" )
- .tqarg( secs )
- .tqarg( mins );
+ .arg( secs )
+ .arg( mins );
}
}
return ret;
diff --git a/kopete/libkopete/kopeteeventpresentation.cpp b/kopete/libkopete/kopeteeventpresentation.cpp
index f1017181..659b1b41 100644
--- a/kopete/libkopete/kopeteeventpresentation.cpp
+++ b/kopete/libkopete/kopeteeventpresentation.cpp
@@ -85,6 +85,6 @@ TQString Kopete::EventPresentation::toString()
type= TQString::fromLatin1("chat");
break;
}
- TQString stringRep = TQString::fromLatin1( "Presentation; type=%1; content=%2; enabled=%3; single shot=%4\n" ).tqarg(type).tqarg(m_content).tqarg(m_enabled).tqarg(m_singleShot);
+ TQString stringRep = TQString::fromLatin1( "Presentation; type=%1; content=%2; enabled=%3; single shot=%4\n" ).arg(type).arg(m_content).arg(m_enabled).arg(m_singleShot);
return stringRep;
}
diff --git a/kopete/libkopete/kopeteglobal.cpp b/kopete/libkopete/kopeteglobal.cpp
index c8c21c25..1c889fc5 100644
--- a/kopete/libkopete/kopeteglobal.cpp
+++ b/kopete/libkopete/kopeteglobal.cpp
@@ -257,7 +257,7 @@ void installEmoticonTheme(const TQString &archiveName)
{
KMessageBox::queuedMessageBox(Kopete::UI::Global::mainWidget(),
KMessageBox::Error,
- i18n("Could not open \"%1\" for unpacking.").tqarg(archiveName));
+ i18n("Could not open \"%1\" for unpacking.").arg(archiveName));
delete archive;
delete progressDlg;
return;
@@ -283,7 +283,7 @@ void installEmoticonTheme(const TQString &archiveName)
{
KMessageBox::queuedMessageBox(Kopete::UI::Global::mainWidget(),
KMessageBox::Error, i18n("<qt>The file \"%1\" is not a valid" \
- " emoticon theme archive.</qt>").tqarg(archiveName));
+ " emoticon theme archive.</qt>").arg(archiveName));
archive->close();
delete archive;
delete progressDlg;
@@ -294,7 +294,7 @@ void installEmoticonTheme(const TQString &archiveName)
{
progressDlg->setLabel(
i18n("<qt>Installing <strong>%1</strong> emoticon theme</qt>")
- .tqarg(*it));
+ .arg(*it));
progressDlg->resize(progressDlg->sizeHint());
kapp->processEvents();
diff --git a/kopete/libkopete/kopetemessage.cpp b/kopete/libkopete/kopetemessage.cpp
index 2070dd56..c094ba72 100644
--- a/kopete/libkopete/kopetemessage.cpp
+++ b/kopete/libkopete/kopetemessage.cpp
@@ -374,8 +374,8 @@ TQString Message::parsedBody() const
static TQString makeRegExp( const char *pattern )
{
const TQString urlChar = TQString::fromLatin1( "\\+\\-\\w\\./#@&;:=\\?~%_,\\!\\$\\*\\(\\)" );
- const TQString boundaryStart = TQString::fromLatin1( "(^|[^%1])(" ).tqarg( urlChar );
- const TQString boundaryEnd = TQString::fromLatin1( ")([^%1]|$)" ).tqarg( urlChar );
+ const TQString boundaryStart = TQString::fromLatin1( "(^|[^%1])(" ).arg( urlChar );
+ const TQString boundaryEnd = TQString::fromLatin1( ")([^%1]|$)" ).arg( urlChar );
return boundaryStart + TQString::fromLatin1(pattern) + boundaryEnd;
}
@@ -418,26 +418,26 @@ TQString Message::parseLinks( const TQString &message, MessageFormat format )
// common subpatterns - may not contain matching parens!
const TQString name = TQString::fromLatin1( "[\\w\\+\\-=_\\.]+" );
- const TQString userAndPassword = TQString::fromLatin1( "(?:%1(?::%1)?\\@)" ).tqarg( name );
+ const TQString userAndPassword = TQString::fromLatin1( "(?:%1(?::%1)?\\@)" ).arg( name );
const TQString urlChar = TQString::fromLatin1( "\\+\\-\\w\\./#@&;:=\\?~%_,\\!\\$\\*\\(\\)" );
- const TQString urlSection = TQString::fromLatin1( "[%1]+" ).tqarg( urlChar );
+ const TQString urlSection = TQString::fromLatin1( "[%1]+" ).arg( urlChar );
const TQString domain = TQString::fromLatin1( "[\\-\\w_]+(?:\\.[\\-\\w_]+)+" );
//Replace http/https/ftp links:
// Replace (stuff)://[user:password@](linkstuff) with a link
result.replace(
- TQRegExp( makeRegExp("\\w+://%1?\\w%2").tqarg( userAndPassword, urlSection ) ),
+ TQRegExp( makeRegExp("\\w+://%1?\\w%2").arg( userAndPassword, urlSection ) ),
TQString::fromLatin1("\\1<a href=\"\\2\" title=\"\\2\">\\2</a>\\3" ) );
// Replace www.X.Y(linkstuff) with a http: link
result.replace(
- TQRegExp( makeRegExp("%1?www\\.%2%3").tqarg( userAndPassword, domain, urlSection ) ),
+ TQRegExp( makeRegExp("%1?www\\.%2%3").arg( userAndPassword, domain, urlSection ) ),
TQString::fromLatin1("\\1<a href=\"http://\\2\" title=\"http://\\2\">\\2</a>\\3" ) );
//Replace Email Links
// Replace user@domain with a mailto: link
result.replace(
- TQRegExp( makeRegExp("%1@%2").tqarg( name, domain ) ),
+ TQRegExp( makeRegExp("%1@%2").arg( name, domain ) ),
TQString::fromLatin1("\\1<a href=\"mailto:\\2\" title=\"mailto:\\2\">\\2</a>\\3") );
//Workaround for Bug 85061: Highlighted URLs adds a ' ' after the URL itself
@@ -531,11 +531,11 @@ TQString Message::getHtmlStyleAttribute() const
// Affect foreground(color) and background color to message.
if( !d->fgOverride && d->fgColor.isValid() )
{
- styleAttribute += TQString::fromUtf8("color: %1; ").tqarg(d->fgColor.name());
+ styleAttribute += TQString::fromUtf8("color: %1; ").arg(d->fgColor.name());
}
if( !d->bgOverride && d->bgColor.isValid() )
{
- styleAttribute += TQString::fromUtf8("background-color: %1; ").tqarg(d->bgColor.name());
+ styleAttribute += TQString::fromUtf8("background-color: %1; ").arg(d->bgColor.name());
}
// Affect font parameters.
diff --git a/kopete/libkopete/kopetemimetypehandler.cpp b/kopete/libkopete/kopetemimetypehandler.cpp
index d4b53925..5f336a6b 100644
--- a/kopete/libkopete/kopetemimetypehandler.cpp
+++ b/kopete/libkopete/kopetemimetypehandler.cpp
@@ -159,7 +159,7 @@ bool MimeTypeHandler::dispatchToHandler( const KURL &url, const TQString &mimeTy
}
KMessageBox::sorry( Kopete::UI::Global::mainWidget(),
- sorryText.tqarg( url.prettyURL() ) );
+ sorryText.arg( url.prettyURL() ) );
return false;
}
diff --git a/kopete/libkopete/kopetenotifydataobject.cpp b/kopete/libkopete/kopetenotifydataobject.cpp
index 68f2a0b9..e3faf3f1 100644
--- a/kopete/libkopete/kopetenotifydataobject.cpp
+++ b/kopete/libkopete/kopetenotifydataobject.cpp
@@ -94,7 +94,7 @@ bool Kopete::NotifyDataObject::notifyDataFromXML( const TQDomElement& element )
TQString suppress = fieldElement.attribute( TQString::fromLatin1( "suppress-common" ), TQString() );
Kopete::NotifyEvent *evt = new Kopete::NotifyEvent( suppress == TQString::fromLatin1( "true" ) );
- // get its tqchildren
+ // get its children
TQDomNode child = fieldElement.firstChild();
while( !child.isNull() )
{
diff --git a/kopete/libkopete/kopetenotifyevent.cpp b/kopete/libkopete/kopetenotifyevent.cpp
index 544c3e45..4bd9fad7 100644
--- a/kopete/libkopete/kopetenotifyevent.cpp
+++ b/kopete/libkopete/kopetenotifyevent.cpp
@@ -170,7 +170,7 @@ const TQValueList<TQDomElement> Kopete::NotifyEvent::toXML() const
TQString Kopete::NotifyEvent::toString()
{
- TQString stringRep = TQString::fromLatin1("Event; Suppress common=%1").tqarg( TQString::fromLatin1( suppressCommon() ? "true" : "false" ) );
+ TQString stringRep = TQString::fromLatin1("Event; Suppress common=%1").arg( TQString::fromLatin1( suppressCommon() ? "true" : "false" ) );
if ( m_sound)
stringRep += m_sound->toString();
if ( m_message)
diff --git a/kopete/libkopete/kopeteonlinestatusmanager.cpp b/kopete/libkopete/kopeteonlinestatusmanager.cpp
index a814ed36..1ecd1d00 100644
--- a/kopete/libkopete/kopeteonlinestatusmanager.cpp
+++ b/kopete/libkopete/kopeteonlinestatusmanager.cpp
@@ -138,12 +138,12 @@ TQString OnlineStatusManager::fingerprint( const OnlineStatus &statusFor, const
// create a 'fingerprint' to use as a hash key
// fingerprint consists of description/icon name/color/overlay name/size/idle state
return TQString::fromLatin1("%1/%2/%3/%4/%5/%6")
- .tqarg( statusFor.description() )
- .tqarg( icon )
- .tqarg( color.name() )
- .tqarg( statusFor.overlayIcons().join( TQString::fromLatin1( "," ) ) )
- .tqarg( size )
- .tqarg( idle ? 'i' : 'a' );
+ .arg( statusFor.description() )
+ .arg( icon )
+ .arg( color.name() )
+ .arg( statusFor.overlayIcons().join( TQString::fromLatin1( "," ) ) )
+ .arg( size )
+ .arg( idle ? 'i' : 'a' );
}
TQPixmap OnlineStatusManager::cacheLookupByObject( const OnlineStatus &statusFor, const TQString& icon, int size, TQColor color, bool idle)
diff --git a/kopete/libkopete/kopetepasswordedaccount.cpp b/kopete/libkopete/kopetepasswordedaccount.cpp
index 899275c5..9c946d21 100644
--- a/kopete/libkopete/kopetepasswordedaccount.cpp
+++ b/kopete/libkopete/kopetepasswordedaccount.cpp
@@ -80,9 +80,9 @@ void Kopete::PasswordedAccount::connect( const Kopete::OnlineStatus& initialStat
TQString Kopete::PasswordedAccount::passwordPrompt()
{
if ( password().isWrong() )
- return i18n( "<b>The password was wrong;</b> please re-enter your password for %1 account <b>%2</b>" ).tqarg( protocol()->displayName(), accountId() );
+ return i18n( "<b>The password was wrong;</b> please re-enter your password for %1 account <b>%2</b>" ).arg( protocol()->displayName(), accountId() );
else
- return i18n( "Please enter your password for %1 account <b>%2</b>" ).tqarg( protocol()->displayName(), accountId() );
+ return i18n( "Please enter your password for %1 account <b>%2</b>" ).arg( protocol()->displayName(), accountId() );
}
Kopete::OnlineStatus Kopete::PasswordedAccount::initialStatus()
diff --git a/kopete/libkopete/kopetepicture.cpp b/kopete/libkopete/kopetepicture.cpp
index 809923d2..1336492f 100644
--- a/kopete/libkopete/kopetepicture.cpp
+++ b/kopete/libkopete/kopetepicture.cpp
@@ -120,7 +120,7 @@ TQString Picture::path()
KMD5 context(tempArray);
// Save the image to a file.
localPhotoPath = context.hexDigest() + ".png";
- localPhotoPath = locateLocal( "appdata", TQString::fromUtf8("metacontactpicturecache/%1").tqarg( localPhotoPath) );
+ localPhotoPath = locateLocal( "appdata", TQString::fromUtf8("metacontactpicturecache/%1").arg( localPhotoPath) );
if( image().save(localPhotoPath, "PNG") )
{
d->picturePath = localPhotoPath;
diff --git a/kopete/libkopete/kopetepluginmanager.cpp b/kopete/libkopete/kopetepluginmanager.cpp
index dae70b34..844cdcf8 100644
--- a/kopete/libkopete/kopetepluginmanager.cpp
+++ b/kopete/libkopete/kopetepluginmanager.cpp
@@ -188,7 +188,7 @@ void PluginManager::shutdown()
it != d->loadedPlugins.end(); /* EMPTY */ )
{
// Plugins could emit their ready for unload signal directly in response to this,
- // which would tqinvalidate the current iterator. Therefore, we copy the iterator
+ // which would invalidate the current iterator. Therefore, we copy the iterator
// and increment it beforehand.
Private::InfoToPluginMap::ConstIterator current( it );
++it;
@@ -377,7 +377,7 @@ Plugin *PluginManager::loadPluginInternal( const TQString &pluginId )
int error = 0;
Plugin *plugin = KParts::ComponentFactory::createInstanceFromQuery<Plugin>( TQString::fromLatin1( "Kopete/Plugin" ),
- TQString::fromLatin1( "[X-KDE-PluginInfo-Name]=='%1'" ).tqarg( pluginId ), this, 0, TQStringList(), &error );
+ TQString::fromLatin1( "[X-KDE-PluginInfo-Name]=='%1'" ).arg( pluginId ), this, 0, TQStringList(), &error );
if ( plugin )
{
diff --git a/kopete/libkopete/kopeteprefs.cpp b/kopete/libkopete/kopeteprefs.cpp
index 58ca4b60..6e9072d0 100644
--- a/kopete/libkopete/kopeteprefs.cpp
+++ b/kopete/libkopete/kopeteprefs.cpp
@@ -439,7 +439,7 @@ void KopetePrefs::_setStylePath(const TQString &stylePath)
if( !TQFile::exists(stylePath) || stylePath.isEmpty() )
{
TQString fallback;
- fallback = TQString(TQString::fromLatin1("styles/%1/")).tqarg(TQString::fromLatin1(KOPETE_DEFAULT_CHATSTYLE));
+ fallback = TQString(TQString::fromLatin1("styles/%1/")).arg(TQString::fromLatin1(KOPETE_DEFAULT_CHATSTYLE));
mStylePath = locate("appdata", fallback);
}
}
diff --git a/kopete/libkopete/kopeteprotocol.h b/kopete/libkopete/kopeteprotocol.h
index e2e3f16a..f97bf809 100644
--- a/kopete/libkopete/kopeteprotocol.h
+++ b/kopete/libkopete/kopeteprotocol.h
@@ -132,7 +132,7 @@ public:
RichIFormatting = 0x400,
RichBFormatting = 0x800,
- Alignment = 0x1000, ///< Setting the tqalignment of text portions
+ Alignment = 0x1000, ///< Setting the alignment of text portions
/// Setting the formatting of the whole edit widget / message
BaseFormatting = BaseIFormatting | BaseUFormatting | BaseBFormatting,
diff --git a/kopete/libkopete/private/kopetecommand.cpp b/kopete/libkopete/private/kopetecommand.cpp
index 08575fdc..1f8969f6 100644
--- a/kopete/libkopete/private/kopetecommand.cpp
+++ b/kopete/libkopete/private/kopetecommand.cpp
@@ -61,7 +61,7 @@ void Kopete::Command::slotAction()
TQString args;
if( m_minArgs > 0 )
{
- args = KInputDialog::getText( i18n("Enter Arguments"), i18n("Enter the arguments to %1:").tqarg(m_command) );
+ args = KInputDialog::getText( i18n("Enter Arguments"), i18n("Enter the arguments to %1:").arg(m_command) );
if( args.isNull() )
return;
}
@@ -74,23 +74,23 @@ void Kopete::Command::processCommand( const TQString &args, Kopete::ChatSession
TQStringList mArgs = Kopete::CommandHandler::parseArguments( args );
if( m_processing )
{
- printError( i18n("Alias \"%1\" expands to itself.").tqarg( text() ), manager, gui );
+ printError( i18n("Alias \"%1\" expands to itself.").arg( text() ), manager, gui );
}
else if( mArgs.count() < m_minArgs )
{
printError( i18n("\"%1\" requires at least %n argument.",
"\"%1\" requires at least %n arguments.", m_minArgs)
- .tqarg( text() ), manager, gui );
+ .arg( text() ), manager, gui );
}
else if( m_maxArgs > -1 && (int)mArgs.count() > m_maxArgs )
{
printError( i18n("\"%1\" has a maximum of %n argument.",
"\"%1\" has a maximum of %n arguments.", m_minArgs)
- .tqarg( text() ), manager, gui );
+ .arg( text() ), manager, gui );
}
else if( !KApplication::kApplication()->authorizeKAction( name() ) )
{
- printError( i18n("You are not authorized to perform the command \"%1\".").tqarg(text()), manager, gui );
+ printError( i18n("You are not authorized to perform the command \"%1\".").arg(text()), manager, gui );
}
else
{
@@ -109,7 +109,7 @@ void Kopete::Command::processCommand( const TQString &args, Kopete::ChatSession
while( mArgs.count() > 0 )
{
- formatString = formatString.tqarg( mArgs.front() );
+ formatString = formatString.arg( mArgs.front() );
mArgs.pop_front();
}
diff --git a/kopete/libkopete/private/kopeteviewmanager.cpp b/kopete/libkopete/private/kopeteviewmanager.cpp
index 386106ef..783c399c 100644
--- a/kopete/libkopete/private/kopeteviewmanager.cpp
+++ b/kopete/libkopete/private/kopeteviewmanager.cpp
@@ -236,7 +236,7 @@ void KopeteViewManager::messageAppended( Kopete::Message &msg, Kopete::ChatSessi
default:
event = TQString::fromLatin1( "kopete_contact_incoming" );
}
- KNotification *notify=KNotification::event(msg.from()->metaContact() , event, body.tqarg( TQStyleSheet::escape(msgFrom), TQStyleSheet::escape(msgText) ), 0, /*msg.from()->metaContact(),*/
+ KNotification *notify=KNotification::event(msg.from()->metaContact() , event, body.arg( TQStyleSheet::escape(msgFrom), TQStyleSheet::escape(msgText) ), 0, /*msg.from()->metaContact(),*/
w , i18n("View") );
connect(notify,TQT_SIGNAL(activated(unsigned int )), manager , TQT_SLOT(raiseView()) );
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 );
diff --git a/kopete/libkopete/webcamwidget.cpp b/kopete/libkopete/webcamwidget.cpp
index d6f93a8a..5940a0f1 100644
--- a/kopete/libkopete/webcamwidget.cpp
+++ b/kopete/libkopete/webcamwidget.cpp
@@ -67,7 +67,7 @@ void WebcamWidget::setText(const TQString& text)
void WebcamWidget::paintEvent( TQPaintEvent* event )
{
- TQMemArray<TQRect> rects = TQRegion(event->region()).tqrects();
+ TQMemArray<TQRect> rects = TQRegion(event->region()).rects();
if (!mPixmap.isNull())
{