diff options
Diffstat (limited to 'src/settingsuserdefinedinput.cpp')
-rw-r--r-- | src/settingsuserdefinedinput.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/settingsuserdefinedinput.cpp b/src/settingsuserdefinedinput.cpp index 3085814..d61e92a 100644 --- a/src/settingsuserdefinedinput.cpp +++ b/src/settingsuserdefinedinput.cpp @@ -26,12 +26,12 @@ #include <kdialogbase.h> #include <klineedit.h> #include <kcombobox.h> -#include <klistview.h> +#include <tdelistview.h> #include <kdialog.h> #include <kiconloader.h> #include <kpushbutton.h> -#include <kmessagebox.h> -#include <klocale.h> +#include <tdemessagebox.h> +#include <tdelocale.h> #include <settings.h> #include <fieldlineedit.h> @@ -68,10 +68,10 @@ namespace KBibTeX { m_listFields->clear(); Settings *settings = Settings::self( NULL ); - KListViewItem *prev = NULL; + TDEListViewItem *prev = NULL; for ( TQValueList<Settings::UserDefinedInputFields*>::iterator it = settings->userDefinedInputFields.begin(); it != settings->userDefinedInputFields.end(); ++it ) { - prev = new KListViewItem( m_listFields, prev, ( *it )->name, ( *it )->label, ( *it )->inputType == FieldLineEdit::itMultiLine ? i18n( "Multiple lines" ) : i18n( "Single line" ) ); + prev = new TDEListViewItem( m_listFields, prev, ( *it )->name, ( *it )->label, ( *it )->inputType == FieldLineEdit::itMultiLine ? i18n( "Multiple lines" ) : i18n( "Single line" ) ); } } @@ -163,7 +163,7 @@ namespace KBibTeX gridLayout->setRowStretch( 5, 1 ); gridLayout->setColStretch( 0, 1 ); - m_listFields = new KListView( this ); + m_listFields = new TDEListView( this ); m_listFields->setSorting( -1, FALSE ); m_listFields->addColumn( i18n( "Name" ) ); m_listFields->header()->setClickEnabled( FALSE ); @@ -247,8 +247,8 @@ namespace KBibTeX { if ( item == NULL ) { - /*KListViewItem *item = */ - new KListViewItem( m_listFields, m_lineEditName->text(), m_lineEditLabel->text(), comboBoxInputType->currentItem() == 0 ? i18n( "Single line" ) : i18n( "Multiple lines" ) ); + /*TDEListViewItem *item = */ + new TDEListViewItem( m_listFields, m_lineEditName->text(), m_lineEditLabel->text(), comboBoxInputType->currentItem() == 0 ? i18n( "Single line" ) : i18n( "Multiple lines" ) ); } else { |