summaryrefslogtreecommitdiffstats
path: root/knotes/knote.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /knotes/knote.cpp
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz
tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knotes/knote.cpp')
-rw-r--r--knotes/knote.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp
index f5ebfe3bf..8a260576c 100644
--- a/knotes/knote.cpp
+++ b/knotes/knote.cpp
@@ -79,8 +79,8 @@ using namespace KCal;
int KNote::s_ppOffset = 0;
-KNote::KNote( TQDomDocument buildDoc, Journal *j, TQWidget *tqparent, const char *name )
- : TQFrame( tqparent, name, WStyle_Customize | WStyle_NoBorder | WDestructiveClose ),
+KNote::KNote( TQDomDocument buildDoc, Journal *j, TQWidget *parent, const char *name )
+ : TQFrame( parent, name, WStyle_Customize | WStyle_NoBorder | WDestructiveClose ),
m_label( 0 ), m_pushpin( 0 ), m_fold( 0 ), m_button( 0 ), m_tool( 0 ), m_editor( 0 ),
m_config( 0 ), m_journal( j ), m_find( 0 ),
m_kwinConf( KSharedConfig::openConfig( "kwinrc", true ) ),
@@ -200,17 +200,17 @@ KNote::KNote( TQDomDocument buildDoc, Journal *j, TQWidget *tqparent, const char
m_editor->setCornerWidget( new TQSizeGrip( this ) );
uint width = m_editor->cornerWidget()->width();
uint height = m_editor->cornerWidget()->height();
- TQBitmap tqmask;
- tqmask.resize( width, height );
- tqmask.fill( color0 );
+ TQBitmap mask;
+ mask.resize( width, height );
+ mask.fill( color0 );
TQPointArray array;
array.setPoints( 3, 0, height, width, height, width, 0 );
TQPainter p;
- p.begin( &tqmask );
+ p.begin( &mask );
p.setBrush( color1 );
p.drawPolygon( array );
p.end();
- m_editor->cornerWidget()->setMask( tqmask );
+ m_editor->cornerWidget()->setMask( mask );
m_editor->cornerWidget()->setBackgroundMode( PaletteBase );
// the config file location
@@ -319,7 +319,7 @@ KNote::KNote( TQDomDocument buildDoc, Journal *j, TQWidget *tqparent, const char
// read configuration settings...
slotApplyConfig();
- // create the tqmask for the fold---to be done after slotApplyConfig(),
+ // create the mask for the fold---to be done after slotApplyConfig(),
// which calls createFold()
m_fold->setMask( TQRegion( m_fold->pixmap()->createHeuristicMask() ) );
@@ -1101,7 +1101,7 @@ void KNote::updateMask()
int h = height();
TQRegion reg( 0, s_ppOffset, w, h - s_ppOffset );
- const TQBitmap *pushpin_bitmap = m_pushpin->pixmap()->tqmask();
+ const TQBitmap *pushpin_bitmap = m_pushpin->pixmap()->mask();
TQRegion pushpin_reg( *pushpin_bitmap );
m_pushpin->setMask( pushpin_reg );
pushpin_reg.translate( m_pushpin->x(), m_pushpin->y() );