summaryrefslogtreecommitdiffstats
path: root/kanagram/src/newstuff.cpp
blob: 7293775dd2dcadd2b8792fc65f043f0110c14d2a (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, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotGetNewVocabs()));
}

NewStuff::~NewStuff()
{
}

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

#include "newstuff.moc"