1 #include "downloadspalette.h"
2 
DownloadsPalette(QWidget * parent)3 DownloadsPalette::DownloadsPalette(QWidget* parent) : ScrPaletteBase(parent, "DownloadsPalette", false, Qt::WindowFlags())
4 {
5 	setupUi(this);
6 	languageChange();
7 }
8 
languageChange()9 void DownloadsPalette::languageChange()
10 {
11 #if defined(Q_OS_MAC)
12 	showInButton->setText( tr( "Show In Finder" ) );
13 #endif
14 #if defined(Q_OS_WIN32)
15 	showInButton->setText( tr( "Show In Explorer" ) );
16 #endif
17 	removeButton->setText( tr( "Remove" ) );
18 	removeAllButton->setText( tr( "Remove All" ) );
19 }
20 
addDownload(const QString & name,const QString & source,const QString & destination)21 void DownloadsPalette::addDownload(const QString& name, const QString& source, const QString& destination)
22 {
23 
24 }
25 
26