diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2 (patch) | |
tree | d3bb9f5d25a2dc09ca81adecf39621d871534297 /kanagram/src/newstuff.cpp | |
download | tdeedu-ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2.tar.gz tdeedu-ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kanagram/src/newstuff.cpp')
-rw-r--r-- | kanagram/src/newstuff.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/kanagram/src/newstuff.cpp b/kanagram/src/newstuff.cpp new file mode 100644 index 00000000..19c28272 --- /dev/null +++ b/kanagram/src/newstuff.cpp @@ -0,0 +1,29 @@ +#include "newstuff.h" + +#include <qwidget.h> +#include <qpushbutton.h> + +#include <kdebug.h> +#include <knewstuff/downloaddialog.h> +#include <knewstuff/knewstuff.h> +#include <klocale.h> + +#include "kanagramsettings.h" +#include "newstuffdialog.h" + +NewStuff::NewStuff(QWidget *parent) : NewStuffWidget(parent) +{ + connect(btnGetNew, SIGNAL(clicked()), this, SLOT(slotGetNewVocabs())); +} + +NewStuff::~NewStuff() +{ +} + +void NewStuff::slotGetNewVocabs() +{ + NewStuffDialog *nsd = new NewStuffDialog(); + nsd->download(); +} + +#include "newstuff.moc" |