"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Plugins/Qt/QTMFileDialog.cpp" between
TeXmacs-2.1.1-src.tar.gz and TeXmacs-2.1.2-src.tar.gz

About: GNU TeXmacs is a scientific editing platform designed to create beautiful technical documents using a wysiwyg interface.

QTMFileDialog.cpp  (TeXmacs-2.1.1-src):QTMFileDialog.cpp  (TeXmacs-2.1.2-src)
skipping to change at line 38 skipping to change at line 38
#include "image_files.hpp" #include "image_files.hpp"
QTMFileDialog::QTMFileDialog (QWidget * parent, const QString & caption, QTMFileDialog::QTMFileDialog (QWidget * parent, const QString & caption,
const QString & directory, const QString & filter) const QString & directory, const QString & filter)
: QDialog (parent) : QDialog (parent)
{ {
setWindowTitle (caption); setWindowTitle (caption);
hbox= new QHBoxLayout (this); hbox= new QHBoxLayout (this);
hbox->setContentsMargins (0, 0, 0, 0); hbox->setContentsMargins (0, 0, 0, 0);
file= new QMyFileDialog (0, caption, directory, filter); file= new QMyFileDialog (0, caption, directory, filter);
file->setOption(QFileDialog::DontUseNativeDialog, true);
hbox->addWidget (file); hbox->addWidget (file);
setLayout (hbox); setLayout (hbox);
setAcceptDrops(true); setAcceptDrops(true);
connect(file, SIGNAL(accepted()), this, SLOT(accept())); connect(file, SIGNAL(accepted()), this, SLOT(accept()));
connect(file, SIGNAL(finished(int)), this, SLOT(done(int))); connect(file, SIGNAL(finished(int)), this, SLOT(done(int)));
connect(file, SIGNAL(rejected()), this, SLOT(reject())); connect(file, SIGNAL(rejected()), this, SLOT(reject()));
} }
void QTMFileDialog::dragEnterEvent(QDragEnterEvent *event) void QTMFileDialog::dragEnterEvent(QDragEnterEvent *event)
{ {
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)