summaryrefslogtreecommitdiffstats
path: root/kanagram/src/newstuff.cpp
blob: c17cbea2c5d2ad2b273925d99514fbf2ea80d8b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#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"