diff options
author | Slávek Banko <[email protected]> | 2013-06-29 16:33:55 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-07-04 03:57:45 +0200 |
commit | f2d4b48ad7f6ce4f23c6cbba3e85c67486f922db (patch) | |
tree | 0414ba9f0823b98d2a159c11513ddcda84b932cc /src/settingssearchurl.cpp | |
parent | 5f5e7c5455d52826b0bd50f64fcffb7695ce970d (diff) | |
download | kbibtex-f2d4b48ad7f6ce4f23c6cbba3e85c67486f922db.tar.gz kbibtex-f2d4b48ad7f6ce4f23c6cbba3e85c67486f922db.zip |
Initial TDE conversion
Diffstat (limited to 'src/settingssearchurl.cpp')
-rw-r--r-- | src/settingssearchurl.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/settingssearchurl.cpp b/src/settingssearchurl.cpp index 43bbfef..c0daacb 100644 --- a/src/settingssearchurl.cpp +++ b/src/settingssearchurl.cpp @@ -25,11 +25,11 @@ #include <ntqcombobox.h> #include <kiconloader.h> -#include <klistview.h> -#include <klocale.h> +#include <tdelistview.h> +#include <tdelocale.h> #include <kpushbutton.h> #include <kdialogbase.h> -#include <kmessagebox.h> +#include <tdemessagebox.h> #include <settings.h> #include "settingssearchurl.h" @@ -69,7 +69,7 @@ namespace KBibTeX m_listviewSearchURLs->clear(); for ( TQValueList<Settings::SearchURL*>::ConstIterator it = settings->searchURLs.begin(); it != settings->searchURLs.end(); ++it ) { - KListViewItem *item = new KListViewItem( m_listviewSearchURLs, ( *it ) ->description, ( *it ) ->includeAuthor ? i18n( "Yes" ) : i18n( "No" ), ( *it ) ->url ); + TDEListViewItem *item = new TDEListViewItem( m_listviewSearchURLs, ( *it ) ->description, ( *it ) ->includeAuthor ? i18n( "Yes" ) : i18n( "No" ), ( *it ) ->url ); item->setPixmap( 0, SmallIcon( "html" ) ); } } @@ -127,7 +127,7 @@ namespace KBibTeX layout->setRowStretch( 3, 1 ); layout->setColStretch( 0, 1 ); - m_listviewSearchURLs = new KListView( this ); + m_listviewSearchURLs = new TDEListView( this ); layout->addMultiCellWidget( m_listviewSearchURLs, 0, 4, 0, 0 ); m_listviewSearchURLs->setAllColumnsShowFocus( TRUE ); m_listviewSearchURLs->addColumn( i18n( "Description" ) ); @@ -203,7 +203,7 @@ namespace KBibTeX { if ( item == NULL ) { - KListViewItem *item = new KListViewItem( m_listviewSearchURLs, descr->text(), cbIncludeAuthor->currentItem() == 0 ? i18n( "Yes" ) : i18n( "No" ), url->text() ); + TDEListViewItem *item = new TDEListViewItem( m_listviewSearchURLs, descr->text(), cbIncludeAuthor->currentItem() == 0 ? i18n( "Yes" ) : i18n( "No" ), url->text() ); item->setPixmap( 0, SmallIcon( "html" ) ); } else |