summaryrefslogtreecommitdiffstats
path: root/src/documentlistviewitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/documentlistviewitem.cpp')
-rw-r--r--src/documentlistviewitem.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/documentlistviewitem.cpp b/src/documentlistviewitem.cpp
index 7a71873..ce4db30 100644
--- a/src/documentlistviewitem.cpp
+++ b/src/documentlistviewitem.cpp
@@ -17,9 +17,9 @@
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
-#include <qlistview.h>
-#include <qpainter.h>
-#include <qpen.h>
+#include <ntqlistview.h>
+#include <ntqpainter.h>
+#include <ntqpen.h>
#include <klocale.h>
@@ -36,7 +36,7 @@ namespace KBibTeX
setTexts();
}
- DocumentListViewItem::DocumentListViewItem( BibTeX::File *file, BibTeX::Element *element, DocumentListView *parent, QListViewItem *after ) : KListViewItem( parent, after ), m_element( element ), m_bibtexFile( file ), m_parent( parent )
+ DocumentListViewItem::DocumentListViewItem( BibTeX::File *file, BibTeX::Element *element, DocumentListView *parent, TQListViewItem *after ) : KListViewItem( parent, after ), m_element( element ), m_bibtexFile( file ), m_parent( parent )
{
setTexts();
}
@@ -61,7 +61,7 @@ namespace KBibTeX
m_unreadStatus = unread;
}
- void DocumentListViewItem::paintCell( QPainter *p, const QColorGroup &cg, int column, int width, int align )
+ void DocumentListViewItem::paintCell( TQPainter *p, const TQColorGroup &cg, int column, int width, int align )
{
if ( !p )
return ;
@@ -69,7 +69,7 @@ namespace KBibTeX
// make unread items bold
if ( m_unreadStatus )
{
- QFont f = p->font();
+ TQFont f = p->font();
f.setBold( TRUE );
p->setFont( f );
}
@@ -112,7 +112,7 @@ namespace KBibTeX
if ( comment )
{
setText( 0, i18n( "Comment" ) );
- QString text = comment->text();
+ TQString text = comment->text();
text.replace( '\n', ' ' );
setText(( int ) BibTeX::EntryField::ftTitle - ( int ) BibTeX::EntryField::ftAbstract + 2, text );
}