mirror of
https://invent.kde.org/network/krfb
synced 2024-07-05 17:38:38 +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 <qlineedit.h>
|
||||||
#include <qcheckbox.h>
|
#include <qcheckbox.h>
|
||||||
|
|
||||||
|
ManageInvitationsDialog2::ManageInvitationsDialog2() :
|
||||||
|
ManageInvitationsDialog(0, 0, false, WShowModal)
|
||||||
|
{ }
|
||||||
void ManageInvitationsDialog2::closeEvent(QCloseEvent *)
|
void ManageInvitationsDialog2::closeEvent(QCloseEvent *)
|
||||||
{ emit closed(); }
|
{ emit closed(); }
|
||||||
|
|
||||||
|
InvitationDialog2::InvitationDialog2() :
|
||||||
|
InvitationDialog(0, 0, false, WShowModal)
|
||||||
|
{ }
|
||||||
void InvitationDialog2::closeEvent(QCloseEvent *)
|
void InvitationDialog2::closeEvent(QCloseEvent *)
|
||||||
{ emit closed(); }
|
{ emit closed(); }
|
||||||
|
|
||||||
|
PersonalInvitationDialog2::PersonalInvitationDialog2() :
|
||||||
|
PersonalInvitationDialog(0, 0, false, WShowModal)
|
||||||
|
{ }
|
||||||
void PersonalInvitationDialog2::closeEvent(QCloseEvent *)
|
void PersonalInvitationDialog2::closeEvent(QCloseEvent *)
|
||||||
{ emit closed(); }
|
{ emit closed(); }
|
||||||
|
|
||||||
|
|
||||||
Configuration::Configuration(krfb_mode mode) :
|
Configuration::Configuration(krfb_mode mode) :
|
||||||
m_mode(mode),
|
m_mode(mode),
|
||||||
portNum(-1)
|
portNum(-1)
|
||||||
|
|
|
@ -40,6 +40,7 @@ enum krfb_mode {
|
||||||
class ManageInvitationsDialog2 : public ManageInvitationsDialog {
|
class ManageInvitationsDialog2 : public ManageInvitationsDialog {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
ManageInvitationsDialog2();
|
||||||
virtual void closeEvent(QCloseEvent *);
|
virtual void closeEvent(QCloseEvent *);
|
||||||
signals:
|
signals:
|
||||||
void closed();
|
void closed();
|
||||||
|
@ -47,6 +48,7 @@ signals:
|
||||||
class InvitationDialog2 : public InvitationDialog {
|
class InvitationDialog2 : public InvitationDialog {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
InvitationDialog2();
|
||||||
virtual void closeEvent(QCloseEvent *);
|
virtual void closeEvent(QCloseEvent *);
|
||||||
signals:
|
signals:
|
||||||
void closed();
|
void closed();
|
||||||
|
@ -54,6 +56,7 @@ signals:
|
||||||
class PersonalInvitationDialog2 : public PersonalInvitationDialog {
|
class PersonalInvitationDialog2 : public PersonalInvitationDialog {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
PersonalInvitationDialog2();
|
||||||
virtual void closeEvent(QCloseEvent *);
|
virtual void closeEvent(QCloseEvent *);
|
||||||
signals:
|
signals:
|
||||||
void closed();
|
void closed();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user