diff options
Diffstat (limited to 'kexi/formeditor/editlistviewdialog.cpp')
-rw-r--r-- | kexi/formeditor/editlistviewdialog.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kexi/formeditor/editlistviewdialog.cpp b/kexi/formeditor/editlistviewdialog.cpp index 281e5604..0287135e 100644 --- a/kexi/formeditor/editlistviewdialog.cpp +++ b/kexi/formeditor/editlistviewdialog.cpp @@ -87,7 +87,7 @@ EditListViewDialog::EditListViewDialog(TQWidget *parent) vlayout->addStretch(); //// The listview /////////// - m_listview = new KListView(m_contents, "editlistview_listview"); + m_listview = new TDEListView(m_contents, "editlistview_listview"); m_listview->setItemsRenameable(true); m_listview->setItemsMovable(true); m_listview->setDragEnabled(true); @@ -148,7 +148,7 @@ EditListViewDialog::EditListViewDialog(TQWidget *parent) vbox->addStretch(); // The listbox with columns name ///// - m_listbox = new KListBox(m_column, "editlistview_columns"); + m_listbox = new TDEListBox(m_column, "editlistview_columns"); m_listbox->setFocus(); hbox->insertWidget(0, m_listbox); hbox->addWidget(m_editor); @@ -364,12 +364,12 @@ void EditListViewDialog::loadChildNodes(TQListView *listview, TQListViewItem *item, TQListViewItem *parent) { TQListViewItem *newItem; - if(listview->inherits("KListView")) + if(listview->inherits("TDEListView")) { if(parent) - newItem = new KListViewItem(parent); + newItem = new TDEListViewItem(parent); else - newItem = new KListViewItem(listview); + newItem = new TDEListViewItem(listview); } else { @@ -406,14 +406,14 @@ EditListViewDialog::loadChildNodes(TQListView *listview, TQListViewItem *item, T void EditListViewDialog::newRow() { - KListViewItem *parent = (KListViewItem*)m_listview->selectedItem(); + TDEListViewItem *parent = (TDEListViewItem*)m_listview->selectedItem(); if(parent) - parent = (KListViewItem*)parent->parent(); - KListViewItem *item; + parent = (TDEListViewItem*)parent->parent(); + TDEListViewItem *item; if(parent) - item = new KListViewItem(parent, m_listview->selectedItem()); + item = new TDEListViewItem(parent, m_listview->selectedItem()); else - item = new KListViewItem(m_listview, m_listview->selectedItem()); + item = new TDEListViewItem(m_listview, m_listview->selectedItem()); item->setText(0, i18n("New Item")); m_listview->setCurrentItem(item); } @@ -421,12 +421,12 @@ EditListViewDialog::newRow() void EditListViewDialog::newChildRow() { - KListViewItem *parent = (KListViewItem*)m_listview->currentItem(); - KListViewItem *item; + TDEListViewItem *parent = (TDEListViewItem*)m_listview->currentItem(); + TDEListViewItem *item; if(parent) - item = new KListViewItem(parent); + item = new TDEListViewItem(parent); else - item = new KListViewItem(m_listview, m_listview->currentItem()); + item = new TDEListViewItem(m_listview, m_listview->currentItem()); item->setText(0, i18n("Sub Item")); m_listview->setCurrentItem(item); |