myDestination = QDir::homePath();
b->setText (myDestination);
connect (b, SIGNAL(clicked(bool)),
- this, SLOT(onDestinationClicked(void)));
+ this, SLOT(onDestinationClicked()));
myDestinationButton = b;
hig->addRow (tr ("Sa&ve to:"), b);
myFolderButton->setText (tr ("(None)"));
myFolderButton->setStyleSheet (QString::fromUtf8 ("text-align: left; padding-left: 5; padding-right: 5"));
connect (myFolderButton, SIGNAL(clicked(bool)),
- this, SLOT(onFolderClicked(void)));
+ this, SLOT(onFolderClicked()));
hig->addRow (myFolderRadio, myFolderButton);
enableBuddyWhenChecked (myFolderRadio, myFolderButton);
myFileButton->setIcon (filePixmap);
myFileButton->setStyleSheet (QString::fromUtf8 ("text-align: left; padding-left: 5; padding-right: 5"));
connect (myFileButton, SIGNAL(clicked(bool)),
- this, SLOT(onFileClicked(void)));
+ this, SLOT(onFileClicked()));
hig->addRow (myFileRadio, myFileButton);
enableBuddyWhenChecked (myFileRadio, myFileButton);
***/
void
-PrefsDialog::onScriptClicked (void)
+PrefsDialog::onScriptClicked ()
{
const QString title = tr ("Select \"Torrent Done\" Script");
const QString myPath = myPrefs.getString (Prefs::SCRIPT_TORRENT_DONE_FILENAME);
}
void
-PrefsDialog::onIncompleteClicked (void)
+PrefsDialog::onIncompleteClicked ()
{
const QString title = tr ("Select Incomplete Directory");
const QString myPath = myPrefs.getString (Prefs::INCOMPLETE_DIR);
}
void
-PrefsDialog::onWatchClicked (void)
+PrefsDialog::onWatchClicked ()
{
const QString title = tr ("Select Watch Directory");
const QString myPath = myPrefs.getString (Prefs::DIR_WATCH);
}
void
-PrefsDialog::onDestinationClicked (void)
+PrefsDialog::onDestinationClicked ()
{
const QString title = tr ("Select Destination");
const QString myPath = myPrefs.getString (Prefs::DOWNLOAD_DIR);
b = myWatchButton = new QPushButton;
b->setIcon (folderPixmap);
b->setStyleSheet (QString::fromUtf8 ("text-align: left; padding-left: 5; padding-right: 5"));
- connect (b, SIGNAL(clicked(bool)), this, SLOT(onWatchClicked(void)));
+ connect (b, SIGNAL(clicked(bool)), this, SLOT(onWatchClicked()));
hig->addRow (l, b);
enableBuddyWhenChecked (qobject_cast<QCheckBox*>(l), b);
b = myDestinationButton = new QPushButton;
b->setIcon (folderPixmap);
b->setStyleSheet (QString::fromUtf8 ("text-align: left; padding-left: 5; padding-right: 5"));
- connect (b, SIGNAL(clicked(bool)), this, SLOT(onDestinationClicked(void)));
+ connect (b, SIGNAL(clicked(bool)), this, SLOT(onDestinationClicked()));
hig->addRow (tr ("Save to &Location:"), b);
const QString downloadDir (myPrefs.getString(Prefs::DOWNLOAD_DIR));
b = myIncompleteButton = new QPushButton;
b->setIcon (folderPixmap);
b->setStyleSheet (QString::fromUtf8 ("text-align: left; padding-left: 5; padding-right: 5"));
- connect (b, SIGNAL(clicked(bool)), this, SLOT(onIncompleteClicked(void)));
+ connect (b, SIGNAL(clicked(bool)), this, SLOT(onIncompleteClicked()));
hig->addRow (myIncompleteCheckbox, b);
enableBuddyWhenChecked (qobject_cast<QCheckBox*>(l), b);
b = myTorrentDoneScriptButton = new QPushButton;
b->setIcon (filePixmap);
b->setStyleSheet (QString::fromUtf8 ("text-align: left; padding-left: 5; padding-right: 5"));
- connect (b, SIGNAL(clicked(bool)), this, SLOT(onScriptClicked(void)));
+ connect (b, SIGNAL(clicked(bool)), this, SLOT(onScriptClicked()));
hig->addRow (myTorrentDoneScriptCheckbox, b);
enableBuddyWhenChecked (qobject_cast<QCheckBox*>(l), b);