summaryrefslogtreecommitdiffstats
path: root/src/entrywidgettitle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entrywidgettitle.cpp')
-rw-r--r--src/entrywidgettitle.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/entrywidgettitle.cpp b/src/entrywidgettitle.cpp
index f72bb71..06164b2 100644
--- a/src/entrywidgettitle.cpp
+++ b/src/entrywidgettitle.cpp
@@ -17,8 +17,8 @@
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
-#include <qlayout.h>
-#include <qlabel.h>
+#include <ntqlayout.h>
+#include <ntqlabel.h>
#include <kdialog.h>
#include <klocale.h>
@@ -30,7 +30,7 @@
namespace KBibTeX
{
- EntryWidgetTitle::EntryWidgetTitle( BibTeX::File *bibtexfile, bool isReadOnly, QWidget *parent, const char *name )
+ EntryWidgetTitle::EntryWidgetTitle( BibTeX::File *bibtexfile, bool isReadOnly, TQWidget *parent, const char *name )
: EntryWidgetTab( bibtexfile, isReadOnly, parent, name )
{
setupGUI();
@@ -88,7 +88,7 @@ namespace KBibTeX
m_fieldLineEditSeries->setValue( field != NULL ? field->value() : NULL );
}
- void EntryWidgetTitle::updateWarnings( BibTeX::Entry::EntryType entryType, QListView *listViewWarnings )
+ void EntryWidgetTitle::updateWarnings( BibTeX::Entry::EntryType entryType, TQListView *listViewWarnings )
{
bool crossRefValid = FALSE;
@@ -110,22 +110,22 @@ namespace KBibTeX
void EntryWidgetTitle::setupGUI()
{
- QGridLayout * gridLayout = new QGridLayout( this, 4, 2, KDialog::marginHint(), KDialog::spacingHint(), "gridLayout" );
+ TQGridLayout * gridLayout = new TQGridLayout( this, 4, 2, KDialog::marginHint(), KDialog::spacingHint(), "gridLayout" );
gridLayout->setRowStretch( 3, 1 );
- QLabel *label = new QLabel( QString( "%1:" ).arg( i18n( "Title" ) ), this );
+ TQLabel *label = new TQLabel( TQString( "%1:" ).arg( i18n( "Title" ) ), this );
gridLayout->addWidget( label, 0, 0 );
m_fieldLineEditTitle = new KBibTeX::FieldLineEdit( i18n( "Title" ), KBibTeX::FieldLineEdit::itSingleLine, m_isReadOnly, this, "m_fieldLineEditTitle" );
label->setBuddy( m_fieldLineEditTitle );
gridLayout->addWidget( m_fieldLineEditTitle, 0, 1 );
- label = new QLabel( QString( "%1:" ).arg( i18n( "Book Title" ) ), this );
+ label = new TQLabel( TQString( "%1:" ).arg( i18n( "Book Title" ) ), this );
gridLayout->addWidget( label, 1, 0 );
m_fieldLineEditBookTitle = new KBibTeX::FieldLineEdit( i18n( "Book Title" ), KBibTeX::FieldLineEdit::itSingleLine, m_isReadOnly, this, "m_fieldLineEditBookTitle" );
label->setBuddy( m_fieldLineEditBookTitle );
gridLayout->addWidget( m_fieldLineEditBookTitle, 1, 1 );
- label = new QLabel( QString( "%1:" ).arg( i18n( "Series" ) ), this );
+ label = new TQLabel( TQString( "%1:" ).arg( i18n( "Series" ) ), this );
gridLayout->addWidget( label, 2, 0 );
m_fieldLineEditSeries = new KBibTeX::FieldLineEdit( i18n( "Series" ), KBibTeX::FieldLineEdit::itSingleLine, m_isReadOnly, this, "m_fieldLineEditSeries" );
label->setBuddy( m_fieldLineEditSeries );