Exemple #1
0
void MainWindow::slotNextFile()
{
    slotChangeFile(+1);
}
Exemple #2
0
void MainWindow::slotPrevFile()
{
    slotChangeFile(-1);
}
QFilePushButton::QFilePushButton(QLineEdit * pBuddy, const QString & strText, QWidget * parent, const char * name)
: QPushButton(strText, parent, name), m_pBuddy(pBuddy)
{
	connect(this, SIGNAL(clicked()), SLOT(slotChangeFile()));
	setAutoDefault(false);
}