diff options
Diffstat (limited to 'kontact/plugins/knotes/knotetip.cpp')
-rw-r--r-- | kontact/plugins/knotes/knotetip.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kontact/plugins/knotes/knotetip.cpp b/kontact/plugins/knotes/knotetip.cpp index 3ba9a9ab3..afa21fb40 100644 --- a/kontact/plugins/knotes/knotetip.cpp +++ b/kontact/plugins/knotes/knotetip.cpp @@ -19,11 +19,11 @@ In addition, as a special exception, the copyright holders give permission to link the code of this program with any edition of - the Qt library by Trolltech AS, Norway (or with modified versions - of Qt that use the same license as Qt), and distribute linked + the TQt library by Trolltech AS, Norway (or with modified versions + of TQt that use the same license as TQt), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than - Qt. If you modify this file, you may extend this exception to + TQt. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. @@ -40,11 +40,11 @@ #include "knotes_part_p.h" -KNoteTip::KNoteTip( KIconView *parent ) +KNoteTip::KNoteTip( KIconView *tqparent ) : TQFrame( 0, 0, WX11BypassWM | // this will make Seli happy >:-P WStyle_Customize | WStyle_NoBorder | WStyle_Tool | WStyle_StaysOnTop ), mFilter( false ), - mView( parent ), + mView( tqparent ), mNoteIVI( 0 ), mPreview( new TQTextEdit( this ) ) { @@ -83,9 +83,9 @@ void KNoteTip::setNote( KNotesIconViewItem *item ) } else { KCal::Journal *journal = item->journal(); if ( journal->customProperty( "KNotes", "RichText" ) == "true" ) - mPreview->setTextFormat( Qt::RichText ); + mPreview->setTextFormat( TQt::RichText ); else - mPreview->setTextFormat( Qt::PlainText ); + mPreview->setTextFormat( TQt::PlainText ); TQColor fg( journal->customProperty( "KNotes", "FgColor" ) ); TQColor bg( journal->customProperty( "KNotes", "BgColor" ) ); @@ -101,7 +101,7 @@ void KNoteTip::setNote( KNotesIconViewItem *item ) w -= 20; TQRect desk = KGlobalSettings::desktopGeometry( mNoteIVI->rect().center() ); - resize( w, QMIN( h, desk.height() / 2 - 20 ) ); + resize( w, TQMIN( h, desk.height() / 2 - 20 ) ); hide(); killTimers(); |