#include "newstuff.h"

#include <tqwidget.h>
#include <tqpushbutton.h>

#include <kdebug.h>
#include <tdenewstuff/downloaddialog.h>
#include <tdenewstuff/knewstuff.h>
#include <tdelocale.h>

#include "kanagramsettings.h"
#include "newstuffdialog.h"

NewStuff::NewStuff(TQWidget *parent) : NewStuffWidget(parent)
{
	connect(btnGetNew, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotGetNewVocabs()));
}

NewStuff::~NewStuff()
{
}

void NewStuff::slotGetNewVocabs()
{
	NewStuffDialog *nsd = new NewStuffDialog();
	nsd->download();
}

#include "newstuff.moc"
