This is the main view of KSystemLog. It displays the last lines of the selected log. Please see the documentation to discovers the meaning of each icons and existing log.
Log lines in bold are the last added to the list.
"));
@@ -314,7 +314,7 @@ void View::initLogList() {
table->setShowSortIndicator(true);
table->setAllColumnsShowFocus(true);
- //This method is not implemented for the moment by KListView class
+ //This method is not implemented for the moment by TDEListView class
table->setAutoOpen(false);
//This is buggy but it's not my fault (I hope :-)
@@ -324,7 +324,7 @@ void View::initLogList() {
TQColor* alternate=new TQColor(246,246,255);
table->setAlternateBackground(*alternate);
- table->setSelectionModeExt(KListView::Extended);
+ table->setSelectionModeExt(TDEListView::Extended);
toolTip=new ViewToolTip(this->getLogList()->viewport(), this);
@@ -383,7 +383,7 @@ void View::initSearchFilter(TQWidget* filterBox) {
void View::addElement(TQStringList* entries, TQPixmap* icon) {
TQStringList::Iterator it = entries->begin();
- KListViewItem* item=new KListViewItem(table, *(it++), *(it++), *(it++), *(it++), *(it++));
+ TDEListViewItem* item=new TDEListViewItem(table, *(it++), *(it++), *(it++), *(it++), *(it++));
if (icon!=NULL)
item->setPixmap(0, *icon);
@@ -392,12 +392,12 @@ void View::addElement(TQStringList* entries, TQPixmap* icon) {
void View::addElementAtEnd(TQStringList* entries, TQPixmap* icon) {
TQStringList::Iterator it = entries->begin();
- KListViewItem* item=new KListViewItem(table, table->lastItem(), *(it++), *(it++), *(it++), *(it++), *(it++));
+ TDEListViewItem* item=new TDEListViewItem(table, table->lastItem(), *(it++), *(it++), *(it++), *(it++), *(it++));
if (icon!=NULL)
item->setPixmap(0, *icon);
}
-KListView* View::getLogList() {
+TDEListView* View::getLogList() {
return(table);
}
diff --git a/ksystemlog/src/view.h b/ksystemlog/src/view.h
index d88ca85..4382c55 100644
--- a/ksystemlog/src/view.h
+++ b/ksystemlog/src/view.h
@@ -104,7 +104,7 @@ class View : public TQWidget, public KSystemLogInterface {
bool isTooltipEnabled();
- KListView* getLogList();
+ TDEListView* getLogList();
void saveConfig();
@@ -165,15 +165,15 @@ class View : public TQWidget, public KSystemLogInterface {
/**
* Central table
*/
- KListView* table;
+ TDEListView* table;
#if defined(TDE_MAKE_VERSION) && (TDE_VERSION >= TDE_MAKE_VERSION(3,3,0))
TQHBox* filterBar;
- KToolBarButton* clearSearch;
+ TDEToolBarButton* clearSearch;
/**
- * Search line (inherits from KListViewSearchLine)
+ * Search line (inherits from TDEListViewSearchLine)
*/
LogLineFilter* search;