• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdenetwork API Reference
  • KDE Home
  • Contact Us
 

krfb

  • sources
  • kde-4.14
  • kdenetwork
  • krfb
  • krfb
mainwindow.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2007 Alessandro Praduroux <pradu@pradu.it>
3  Copyright (C) 2013 Amandeep Singh <aman.dedman@gmail.com>
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 */
10 
11 #ifndef MANAGEINVITATIONSDIALOG_H
12 #define MANAGEINVITATIONSDIALOG_H
13 
14 #include "ui_mainwidget.h"
15 
16 #include <KXmlGuiWindow>
17 
18 #ifdef KRFB_WITH_KDE_TELEPATHY
19 #include <KTp/contact.h>
20 #include <TelepathyQt/PendingReady>
21 namespace KTp {
22  class ContactViewWidget;
23 }
24 namespace Tp {
25  class PendingOperation;
26 }
27 #endif
28 
29 class KLineEdit;
30 
31 class MainWindow : public KXmlGuiWindow
32 {
33  Q_OBJECT
34 
35  public:
36  MainWindow(QWidget *parent = 0);
37  ~MainWindow();
38 
39  public Q_SLOTS:
40  void showConfiguration();
41 
42  protected:
43  virtual void readProperties(const KConfigGroup & group);
44  virtual void saveProperties(KConfigGroup & group);
45 
46  private Q_SLOTS:
47  void editPassword();
48  void editUnattendedPassword();
49  void toggleDesktopSharing(bool enable);
50  void passwordChanged(const QString&);
51  void aboutConnectionAddress();
52  void aboutUnattendedMode();
53 #ifdef KRFB_WITH_KDE_TELEPATHY
54  void onContactDoubleClicked(const Tp::AccountPtr &, const KTp::ContactPtr &);
55  void pendingDesktopShareFinished(Tp::PendingOperation*);
56 #endif
57 
58  private:
59  Ui::MainWidget m_ui;
60  bool m_passwordEditable;
61  KLineEdit *m_passwordLineEdit;
62 #ifdef KRFB_WITH_KDE_TELEPATHY
63  KTp::ContactViewWidget *m_contactViewWidget;
64 #endif
65 
66 };
67 
68 #endif
MainWindow::saveProperties
virtual void saveProperties(KConfigGroup &group)
Definition: mainwindow.cpp:258
QWidget
MainWindow::readProperties
virtual void readProperties(const KConfigGroup &group)
Definition: mainwindow.cpp:250
KXmlGuiWindow
MainWindow::MainWindow
MainWindow(QWidget *parent=0)
Definition: mainwindow.cpp:60
MainWindow::showConfiguration
void showConfiguration()
Definition: mainwindow.cpp:237
QString
MainWindow::~MainWindow
~MainWindow()
Definition: mainwindow.cpp:144
MainWindow
Definition: mainwindow.h:31
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

krfb

Skip menu "krfb"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal