From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kontact/plugins/knotes/knotes_part.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kontact/plugins/knotes/knotes_part.cpp') diff --git a/kontact/plugins/knotes/knotes_part.cpp b/kontact/plugins/knotes/knotes_part.cpp index ef70e8f56..a7864c423 100644 --- a/kontact/plugins/knotes/knotes_part.cpp +++ b/kontact/plugins/knotes/knotes_part.cpp @@ -38,8 +38,8 @@ #include "knotetip.h" -KNotesPart::KNotesPart( TQObject *parent, const char *name ) - : DCOPObject( "KNotesIface" ), KParts::ReadOnlyPart( parent, name ), +KNotesPart::KNotesPart( TQObject *tqparent, const char *name ) + : DCOPObject( "KNotesIface" ), KParts::ReadOnlyPart( tqparent, name ), mNotesView( new KNotesIconView() ), mNoteTip( new KNoteTip( mNotesView ) ), mNoteEditDlg( 0 ), @@ -233,7 +233,7 @@ TQString KNotesPart::name( const TQString& id ) const if ( note ) return note->text(); else - return TQString::null; + return TQString(); } TQString KNotesPart::text( const TQString& id ) const @@ -242,7 +242,7 @@ TQString KNotesPart::text( const TQString& id ) const if ( note ) return note->journal()->description(); else - return TQString::null; + return TQString(); } void KNotesPart::setName( const TQString& id, const TQString& newName ) @@ -328,7 +328,7 @@ void KNotesPart::popupRMB( TQIconViewItem *item, const TQPoint& pos ) void KNotesPart::slotOnItem( TQIconViewItem *i ) { - // TODO: disable (i.e. setNote( TQString::null )) when mouse button pressed + // TODO: disable (i.e. setNote( TQString() )) when mouse button pressed KNotesIconViewItem *item = static_cast( i ); mNoteTip->setNote( item ); -- cgit v1.2.1