summaryrefslogtreecommitdiffstats
path: root/kjots/kjotsentry.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:58 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:58 -0600
commit9e5c87c89567a98c3344c90e392a27715437334c (patch)
tree6c1dd96ae0ba38b7e8f0a492d591881f44f474da /kjots/kjotsentry.cpp
parent53904b41cf005abbae3d468532db9adc2b04a9b4 (diff)
downloadtdeutils-9e5c87c89567a98c3344c90e392a27715437334c.tar.gz
tdeutils-9e5c87c89567a98c3344c90e392a27715437334c.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kjots/kjotsentry.cpp')
-rw-r--r--kjots/kjotsentry.cpp18
1 files changed, 9 insertions, 9 deletions
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<KJotsEntryBase*>(KListViewItem::parent());
+ KJotsEntryBase* book = dynamic_cast<KJotsEntryBase*>(TDEListViewItem::parent());
TQString docName = book->subject();
if (!subject().isNull())