diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kontact/plugins/knotes/knotes_part.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
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
Diffstat (limited to 'kontact/plugins/knotes/knotes_part.cpp')
-rw-r--r-- | kontact/plugins/knotes/knotes_part.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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<KNotesIconViewItem *>( i ); mNoteTip->setNote( item ); |