summaryrefslogtreecommitdiffstats
path: root/kaddressbook/views
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commitdfb7562b7e607f0ae077a6a436966203029df56d (patch)
treed58abf870c3754458d44a192a0b9e186f506c4ed /kaddressbook/views
parentfc5197ec86abe5dc0fa4b48979684845b52357f2 (diff)
downloadtdepim-dfb7562b7e607f0ae077a6a436966203029df56d.tar.gz
tdepim-dfb7562b7e607f0ae077a6a436966203029df56d.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook/views')
-rw-r--r--kaddressbook/views/configurecardviewdialog.cpp2
-rw-r--r--kaddressbook/views/contactlistview.cpp24
-rw-r--r--kaddressbook/views/contactlistview.h2
3 files changed, 14 insertions, 14 deletions
diff --git a/kaddressbook/views/configurecardviewdialog.cpp b/kaddressbook/views/configurecardviewdialog.cpp
index 834431af..846be389 100644
--- a/kaddressbook/views/configurecardviewdialog.cpp
+++ b/kaddressbook/views/configurecardviewdialog.cpp
@@ -196,7 +196,7 @@ void CardViewLookNFeelPage::initGUI()
TQTabWidget *tabs = new TQTabWidget( this );
// Layout
- TQVBox *loTab = new TQVBox( this, "tqlayouttab" );
+ TQVBox *loTab = new TQVBox( this, "layouttab" );
loTab->setSpacing( spacing );
loTab->setMargin( margin );
diff --git a/kaddressbook/views/contactlistview.cpp b/kaddressbook/views/contactlistview.cpp
index 31f0ac6c..eab88e2e 100644
--- a/kaddressbook/views/contactlistview.cpp
+++ b/kaddressbook/views/contactlistview.cpp
@@ -54,10 +54,10 @@ DynamicTip::DynamicTip( ContactListView *tqparent)
void DynamicTip::maybeTip( const TQPoint &pos )
{
- if (!tqparentWidget()->inherits( "ContactListView" ))
+ if (!parentWidget()->inherits( "ContactListView" ))
return;
- ContactListView *plv = (ContactListView*)tqparentWidget();
+ ContactListView *plv = (ContactListView*)parentWidget();
if (!plv->tooltips())
return;
@@ -109,7 +109,7 @@ void DynamicTip::maybeTip( const TQPoint &pos )
linew += fm.width( notes[i] );
if ( lastSpace >= a && notes[i] != '\n' )
- if (linew >= tqparentWidget()->width()) {
+ if (linew >= parentWidget()->width()) {
doBreak = true;
if ( lastSpace > a ) {
i = lastSpace;
@@ -152,7 +152,7 @@ ContactListViewItem::ContactListViewItem(const KABC::Addressee &a,
const KABC::Field::List &fields,
KIMProxy *proxy )
: KListViewItem(tqparent), mAddressee(a), mFields( fields ),
- tqparentListView( tqparent ), mDocument(doc), mIMProxy( proxy )
+ parentListView( tqparent ), mDocument(doc), mIMProxy( proxy )
{
if ( mIMProxy )
mHasIM = mIMProxy->isPresent( mAddressee.uid() );
@@ -164,15 +164,15 @@ ContactListViewItem::ContactListViewItem(const KABC::Addressee &a,
TQString ContactListViewItem::key(int column, bool ascending) const
{
// Preserve behaviour of TQListViewItem::key(), otherwise we cause a crash if the column does not exist
- if ( column >= tqparentListView->columns() )
+ if ( column >= parentListView->columns() )
return TQString();
#if KDE_VERSION >= 319
Q_UNUSED( ascending )
- if ( tqparentListView->showIM() ) {
+ if ( parentListView->showIM() ) {
// in this case, one column is reserved for IM presence
// so we have to process it differently
- if ( column == tqparentListView->imColumn() ) {
+ if ( column == parentListView->imColumn() ) {
// increment by one before converting to string so that -1 is not greater than 1
// create the sort key by taking the numeric status 0 low, 5 high, and subtracting it from 5
// so that the default ascending gives online before offline, etc.
@@ -201,8 +201,8 @@ void ContactListViewItem::paintCell(TQPainter * p,
if ( !p )
return;
- if (tqparentListView->singleLine()) {
- p->setPen( tqparentListView->alternateColor() );
+ if (parentListView->singleLine()) {
+ p->setPen( parentListView->alternateColor() );
p->drawLine( 0, height() - 1, width, height() - 1 );
}
}
@@ -210,7 +210,7 @@ void ContactListViewItem::paintCell(TQPainter * p,
ContactListView *ContactListViewItem::tqparent()
{
- return tqparentListView;
+ return parentListView;
}
@@ -230,9 +230,9 @@ void ContactListViewItem::refresh()
// don't show unknown presence, it's not interesting
if ( mHasIM ) {
if ( mIMProxy->presenceNumeric( mAddressee.uid() ) > 0 )
- setPixmap( tqparentListView->imColumn(), mIMProxy->presenceIcon( mAddressee.uid() ) );
+ setPixmap( parentListView->imColumn(), mIMProxy->presenceIcon( mAddressee.uid() ) );
else
- setPixmap( tqparentListView->imColumn(), TQPixmap() );
+ setPixmap( parentListView->imColumn(), TQPixmap() );
}
KABC::Field::List::ConstIterator it;
diff --git a/kaddressbook/views/contactlistview.h b/kaddressbook/views/contactlistview.h
index 65c92702..5492b916 100644
--- a/kaddressbook/views/contactlistview.h
+++ b/kaddressbook/views/contactlistview.h
@@ -72,7 +72,7 @@ public:
private:
KABC::Addressee mAddressee;
KABC::Field::List mFields;
- ContactListView *tqparentListView;
+ ContactListView *parentListView;
KABC::AddressBook *mDocument;
KIMProxy *mIMProxy;
bool mHasIM;