summaryrefslogtreecommitdiffstats
path: root/korganizer/journalentry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/journalentry.cpp')
-rw-r--r--korganizer/journalentry.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/korganizer/journalentry.cpp b/korganizer/journalentry.cpp
index 459b25d4..5af3a320 100644
--- a/korganizer/journalentry.cpp
+++ b/korganizer/journalentry.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
//
@@ -60,16 +60,16 @@
class JournalTitleLable : public KActiveLabel
{
public:
- JournalTitleLable( TQWidget *parent, const char *name=0 ) : KActiveLabel( parent, name ) {}
+ JournalTitleLable( TQWidget *tqparent, const char *name=0 ) : KActiveLabel( tqparent, name ) {}
void openLink( const TQString &/*link*/ ) {}
};
-JournalDateEntry::JournalDateEntry( Calendar *calendar, TQWidget *parent ) :
- TQVBox( parent ), mCalendar( calendar )
+JournalDateEntry::JournalDateEntry( Calendar *calendar, TQWidget *tqparent ) :
+ TQVBox( tqparent ), mCalendar( calendar )
{
-//kdDebug(5850)<<"JournalEntry::JournalEntry, parent="<<parent<<endl;
+//kdDebug(5850)<<"JournalEntry::JournalEntry, tqparent="<<tqparent<<endl;
mChanger = 0;
mTitle = new JournalTitleLable( this );
@@ -111,7 +111,7 @@ void JournalDateEntry::clear()
// should only be called by the KOJournalView now.
void JournalDateEntry::addJournal( Journal *j )
{
- TQMap<Journal*,JournalEntry*>::Iterator pos = mEntries.find( j );
+ TQMap<Journal*,JournalEntry*>::Iterator pos = mEntries.tqfind( j );
if ( pos != mEntries.end() ) return;
JournalEntry *entry = new JournalEntry( j, this );
@@ -156,7 +156,7 @@ void JournalDateEntry::emitNewJournal()
void JournalDateEntry::journalEdited( Journal *journal )
{
- TQMap<Journal*,JournalEntry*>::Iterator pos = mEntries.find( journal );
+ TQMap<Journal*,JournalEntry*>::Iterator pos = mEntries.tqfind( journal );
if ( pos == mEntries.end() ) return;
pos.data()->setJournal( journal );
@@ -165,7 +165,7 @@ void JournalDateEntry::journalEdited( Journal *journal )
void JournalDateEntry::journalDeleted( Journal *journal )
{
- TQMap<Journal*,JournalEntry*>::Iterator pos = mEntries.find( journal );
+ TQMap<Journal*,JournalEntry*>::Iterator pos = mEntries.tqfind( journal );
if ( pos == mEntries.end() ) return;
delete pos.data();
@@ -175,10 +175,10 @@ void JournalDateEntry::journalDeleted( Journal *journal )
-JournalEntry::JournalEntry( Journal* j, TQWidget *parent ) :
- TQWidget( parent ), mJournal( j )
+JournalEntry::JournalEntry( Journal* j, TQWidget *tqparent ) :
+ TQWidget( tqparent ), mJournal( j )
{
-//kdDebug(5850)<<"JournalEntry::JournalEntry, parent="<<parent<<endl;
+//kdDebug(5850)<<"JournalEntry::JournalEntry, tqparent="<<tqparent<<endl;
mDirty = false;
mWriteInProgress = false;
mChanger = 0;