kig
kig.cpp
Go to the documentation of this file.
81 KMessageBox::error(this, i18n( "Could not find the necessary Kig library, check your installation." ) );
109 m_recentFilesAction = KStandardAction::openRecent( this, SLOT( openUrl( const KUrl& ) ), actionCollection() );
212 QString file_name = KFileDialog::getOpenFileName( KUrl( "kfiledialog:///document" ), m_mimeTypes.join( " " ) );
const QMimeData * mimeData() const
virtual void dragEnterEvent(QDragEnterEvent *e)
The user started dragging something onto us...
Definition: kig.cpp:193
bool queryClose()
this is called by the framework before closing the window, to allow the user to save his changes...
Definition: kig.cpp:188
QString join(const QString &separator) const
void saveProperties(KConfigGroup &)
This method is called when it is time for the app to save its properties for session management purpo...
Definition: kig.cpp:118
void exit(int returnCode)
void setAccepted(bool accepted)
bool isEmpty() const
virtual void openUrl(const QString &s)
this opens the file specified in s in a new window
Definition: kig.h:56
void readProperties(const KConfigGroup &)
This method is called when this app is restored.
Definition: kig.cpp:126
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.