mirror of
https://invent.kde.org/network/krfb
synced 2024-07-03 08:28:35 +00:00
Fix: made invitation dialogs modal, so they will work in kcmshell.
svn path=/trunk/kdenetwork/krfb/; revision=150339
This commit is contained in:
parent
80cbbb6f36
commit
a43f6794d2
|
@ -30,13 +30,25 @@
|
|||
#include <qlineedit.h>
|
||||
#include <qcheckbox.h>
|
||||
|
||||
ManageInvitationsDialog2::ManageInvitationsDialog2() :
|
||||
ManageInvitationsDialog(0, 0, false, WShowModal)
|
||||
{ }
|
||||
void ManageInvitationsDialog2::closeEvent(QCloseEvent *)
|
||||
{ emit closed(); }
|
||||
|
||||
InvitationDialog2::InvitationDialog2() :
|
||||
InvitationDialog(0, 0, false, WShowModal)
|
||||
{ }
|
||||
void InvitationDialog2::closeEvent(QCloseEvent *)
|
||||
{ emit closed(); }
|
||||
|
||||
PersonalInvitationDialog2::PersonalInvitationDialog2() :
|
||||
PersonalInvitationDialog(0, 0, false, WShowModal)
|
||||
{ }
|
||||
void PersonalInvitationDialog2::closeEvent(QCloseEvent *)
|
||||
{ emit closed(); }
|
||||
|
||||
|
||||
Configuration::Configuration(krfb_mode mode) :
|
||||
m_mode(mode),
|
||||
portNum(-1)
|
||||
|
|
|
@ -40,6 +40,7 @@ enum krfb_mode {
|
|||
class ManageInvitationsDialog2 : public ManageInvitationsDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
ManageInvitationsDialog2();
|
||||
virtual void closeEvent(QCloseEvent *);
|
||||
signals:
|
||||
void closed();
|
||||
|
@ -47,6 +48,7 @@ signals:
|
|||
class InvitationDialog2 : public InvitationDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
InvitationDialog2();
|
||||
virtual void closeEvent(QCloseEvent *);
|
||||
signals:
|
||||
void closed();
|
||||
|
@ -54,6 +56,7 @@ signals:
|
|||
class PersonalInvitationDialog2 : public PersonalInvitationDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
PersonalInvitationDialog2();
|
||||
virtual void closeEvent(QCloseEvent *);
|
||||
signals:
|
||||
void closed();
|
||||
|
|
Loading…
Reference in New Issue
Block a user