/***************************************************************************
* Copyright (C) 2005, 2006 by Carsten Niehaus <cniehaus@kde.org> *
+ * Copyright (C) 2005 - 2007 by Pino Toscano <pino@kde.org> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
void GlossaryDialog::addGlossary( Glossary* newgloss )
{
- if ( !newgloss ) return;
- if ( newgloss->isEmpty() ) return;
- d->m_glossaries.append( newgloss );
+ if ( !newgloss || newgloss->isEmpty() )
+ return;
+
+ d->m_glossaries.append( newgloss );
d->m_glosstree->addTopLevelItem( d->createItem( newgloss ) );
}
#ifndef KDEEDUGLOSSARY_H
#define KDEEDUGLOSSARY_H
/***************************************************************************
-
- copyright : (C) 2005 by Carsten Niehaus
- email : cniehaus@kde.org
- ***************************************************************************/
-
-/***************************************************************************
+ * Copyright (C) 2005, 2006 by Carsten Niehaus <cniehaus@kde.org> *
+ * Copyright (C) 2005 - 2007 by Pino Toscano <pino@kde.org> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
- * *
***************************************************************************/
#include <libkdeedu_ui_export.h>