summaryrefslogtreecommitdiffstats
path: root/src/entrywidgetauthor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entrywidgetauthor.cpp')
-rw-r--r--src/entrywidgetauthor.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/entrywidgetauthor.cpp b/src/entrywidgetauthor.cpp
index 32e2e18..578a9d8 100644
--- a/src/entrywidgetauthor.cpp
+++ b/src/entrywidgetauthor.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
{
- EntryWidgetAuthor::EntryWidgetAuthor( BibTeX::File *bibtexfile, bool isReadOnly, QWidget *parent, const char *name )
+ EntryWidgetAuthor::EntryWidgetAuthor( BibTeX::File *bibtexfile, bool isReadOnly, TQWidget *parent, const char *name )
: EntryWidgetTab( bibtexfile, isReadOnly, parent, name )
{
setupGUI();
@@ -75,7 +75,7 @@ namespace KBibTeX
m_fieldListViewEditor->setValue( field != NULL ? field->value() : NULL );
}
- void EntryWidgetAuthor::updateWarnings( BibTeX::Entry::EntryType entryType, QListView *listViewWarnings )
+ void EntryWidgetAuthor::updateWarnings( BibTeX::Entry::EntryType entryType, TQListView *listViewWarnings )
{
if ( entryType == BibTeX::Entry::etBook || entryType == BibTeX::Entry::etInBook )
{
@@ -92,17 +92,17 @@ namespace KBibTeX
void EntryWidgetAuthor::setupGUI()
{
- QGridLayout * gridLayout = new QGridLayout( this, 2, 3, KDialog::marginHint(), KDialog::spacingHint(), "gridLayout" );
+ TQGridLayout * gridLayout = new TQGridLayout( this, 2, 3, KDialog::marginHint(), KDialog::spacingHint(), "gridLayout" );
gridLayout->setColSpacing( 1, KDialog::spacingHint() * 4 );
- QLabel *label = new QLabel( QString( "%1:" ).arg( i18n( "Author" ) ), this );
+ TQLabel *label = new TQLabel( TQString( "%1:" ).arg( i18n( "Author" ) ), this );
gridLayout->addWidget( label, 0, 0 );
m_fieldListViewAuthor = new KBibTeX::FieldListView( i18n( "Author" ), i18n( "May only contain ASCII characters, in case of doubt keep English form", "NewAuthor" ), m_isReadOnly, this );
m_fieldListViewAuthor->setFieldType( BibTeX::EntryField::ftAuthor );
gridLayout->addWidget( m_fieldListViewAuthor, 1, 0 );
label->setBuddy( m_fieldListViewAuthor );
- label = new QLabel( QString( "%1:" ).arg( i18n( "Editor" ) ), this );
+ label = new TQLabel( TQString( "%1:" ).arg( i18n( "Editor" ) ), this );
gridLayout->addWidget( label, 0, 2 );
m_fieldListViewEditor = new KBibTeX::FieldListView( i18n( "Editor" ), i18n( "May only contain ASCII characters, in case of doubt keep English form", "NewEditor" ), m_isReadOnly, this );
m_fieldListViewEditor->setFieldType( BibTeX::EntryField::ftEditor );