From 9e5c87c89567a98c3344c90e392a27715437334c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:58 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kjots/kjotsentry.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kjots/kjotsentry.cpp') diff --git a/kjots/kjotsentry.cpp b/kjots/kjotsentry.cpp index 35d6ddf..d1f94e2 100644 --- a/kjots/kjotsentry.cpp +++ b/kjots/kjotsentry.cpp @@ -69,16 +69,16 @@ TQString htmlFooter() // KJotsEntryBase // -KJotsEntryBase::KJotsEntryBase(KListView* parent, TQListViewItem* after=0) - :KListViewItem(parent,after) +KJotsEntryBase::KJotsEntryBase(TDEListView* parent, TQListViewItem* after=0) + :TDEListViewItem(parent,after) { m_id = 0; m_saveInProgress = m_dirty = false; m_parent = 0; } -KJotsEntryBase::KJotsEntryBase(KListViewItem* parent, TQListViewItem* after=0) - :KListViewItem(parent,after) +KJotsEntryBase::KJotsEntryBase(TDEListViewItem* parent, TQListViewItem* after=0) + :TDEListViewItem(parent,after) { m_id = 0; m_saveInProgress = m_dirty = false; @@ -93,9 +93,9 @@ void KJotsEntryBase::setSubject(const TQString& subj) void KJotsEntryBase::setText(int column, const TQString& text) { if (column == 0 && text.isEmpty()) - KListViewItem::setText(0, defaultSubject()); + TDEListViewItem::setText(0, defaultSubject()); else - KListViewItem::setText(column, text); + TDEListViewItem::setText(column, text); } /*! @@ -217,13 +217,13 @@ int KJotsEntryBase::printTitleBox(TQString title, KPrinter& printer, TQPainter& // KJotsBook // -KJotsBook::KJotsBook(KListView* parent, TQListViewItem* after) +KJotsBook::KJotsBook(TDEListView* parent, TQListViewItem* after) : KJotsEntryBase(parent, after) { init(); } -KJotsBook::KJotsBook(KListViewItem* parent, TQListViewItem* after) +KJotsBook::KJotsBook(TDEListViewItem* parent, TQListViewItem* after) : KJotsEntryBase(parent, after) { init(); @@ -982,7 +982,7 @@ void KJotsPage::slotSaveResult(TDEIO::Job *) void KJotsPage::print(TQFont& defaultFont) { - KJotsEntryBase* book = dynamic_cast(KListViewItem::parent()); + KJotsEntryBase* book = dynamic_cast(TDEListViewItem::parent()); TQString docName = book->subject(); if (!subject().isNull()) -- cgit v1.2.1