mirror of
https://github.com/KDE/krfb
synced 2026-07-01 07:41:17 -07:00
Make manage-invitations dialog available from kconfig
svn path=/trunk/kdenetwork/krfb/; revision=147632
This commit is contained in:
@@ -3,7 +3,7 @@ METASOURCES = AUTO
|
||||
# Code
|
||||
lib_LTLIBRARIES = libkcm_krfb.la
|
||||
|
||||
libkcm_krfb_la_SOURCES = kcm_krfb.cpp kcm_krfb.h configurationwidget.ui
|
||||
libkcm_krfb_la_SOURCES = configurationwidget.ui kcm_krfb.cpp kcm_krfb.h
|
||||
libkcm_krfb_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
|
||||
libkcm_krfb_la_LIBADD = ../krfb/libkrfbconfig.a $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI)
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>353</width>
|
||||
<height>318</height>
|
||||
<width>394</width>
|
||||
<height>345</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="caption">
|
||||
@@ -80,6 +80,50 @@
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
<widget class="QGroupBox">
|
||||
<property name="name">
|
||||
<cstring>GroupBox1</cstring>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Invitations</string>
|
||||
</property>
|
||||
<grid>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<property name="margin">
|
||||
<number>11</number>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<widget class="QPushButton" row="1" column="0">
|
||||
<property name="name">
|
||||
<cstring>createInvitation</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Create invitation...</string>
|
||||
</property>
|
||||
<property name="toolTip" stdset="0">
|
||||
<string></string>
|
||||
</property>
|
||||
<property name="whatsThis" stdset="0">
|
||||
<string>Click to create a new invitation.</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" row="1" column="1">
|
||||
<property name="name">
|
||||
<cstring>manageInvitations</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Manage invitations...</string>
|
||||
</property>
|
||||
<property name="whatsThis" stdset="0">
|
||||
<string>Click to view or delete the open invitations.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</grid>
|
||||
</widget>
|
||||
<widget class="QButtonGroup">
|
||||
<property name="name">
|
||||
<cstring>ButtonGroup7</cstring>
|
||||
|
||||
@@ -65,6 +65,10 @@ KcmKRfb::KcmKRfb(QWidget *p, const char *name, const QStringList &) :
|
||||
connect(m_confWidget.allowUninvitedCB, SIGNAL(clicked()), SLOT(configChanged()) );
|
||||
connect(m_confWidget.confirmConnectionsCB, SIGNAL(clicked()), SLOT(configChanged()) );
|
||||
connect(m_confWidget.allowDesktopControlCB, SIGNAL(clicked()), SLOT(configChanged()) );
|
||||
connect((QObject*)m_confWidget.createInvitation, SIGNAL(clicked()),
|
||||
&m_configuration, SLOT(showInvitationDialog()) );
|
||||
connect((QObject*)m_confWidget.manageInvitations, SIGNAL(clicked()),
|
||||
&m_configuration, SLOT(showManageInvitationsDialog()) );
|
||||
}
|
||||
|
||||
KcmKRfb::~KcmKRfb() {
|
||||
|
||||
Reference in New Issue
Block a user