From 9771f17f8cc5252b12ec5f3edf47ff9bffdf997f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:16:01 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kommander/editor/messagelog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kommander/editor/messagelog.cpp') diff --git a/kommander/editor/messagelog.cpp b/kommander/editor/messagelog.cpp index 33a385b3..e89e04f3 100644 --- a/kommander/editor/messagelog.cpp +++ b/kommander/editor/messagelog.cpp @@ -30,7 +30,7 @@ MessageLog::MessageLog(TQWidget* parent, const char* name) : TQTabWidget(parent, name) { - m_popupMenu = new KPopupMenu(this); + m_popupMenu = new TDEPopupMenu(this); m_popupMenu->insertItem(SmallIconSet("editcopy"), i18n("Copy Current &Line"), this, TQT_SLOT(copyLine())); m_popupMenu->insertItem(SmallIconSet("editcopy"), i18n("&Copy Content"), this, TQT_SLOT(copyContent())); m_popupMenu->insertItem(SmallIconSet("filesaveas"), i18n("&Save As..."), this, TQT_SLOT(saveToFile())); @@ -39,7 +39,7 @@ MessageLog::MessageLog(TQWidget* parent, const char* name) : TQTabWidget(parent, for (int i = 0; i < m_listCount; i++) { - m_lists[i] = new KListBox(this); + m_lists[i] = new TDEListBox(this); addTab(m_lists[i], m_listNames[i]); m_seenEOL[i] = false; connect(m_lists[i], TQT_SIGNAL(contextMenuRequested(TQListBoxItem*, const TQPoint&)), @@ -72,7 +72,7 @@ void MessageLog::insertItem(InfoType i, TQString text) TQString MessageLog::content() { TQString p_content; - KListBox* list = m_lists[currentPageIndex()]; + TDEListBox* list = m_lists[currentPageIndex()]; for (uint i=0; i < list->count(); i++) p_content.append(list->text(i) + "\n"); return p_content; -- cgit v1.2.3