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

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
  • ekos
opsekos.cpp
Go to the documentation of this file.
1 /* INDI Options
2  Copyright (C) 2003 Jasem Mutlaq (mutlaqja@ikarustech.com)
3 
4  This application is free software; you can redistribute it and/or
5  modify it under the terms of the GNU General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 
9  */
10 
11 #include "opsekos.h"
12 
13 #include <kpushbutton.h>
14 #include <kfiledialog.h>
15 #include <klineedit.h>
16 #include <kconfigdialog.h>
17 
18 #include <QCheckBox>
19 #include <QStringList>
20 #include <QComboBox>
21 
22 #include "Options.h"
23 
24 #include "kstars.h"
25 #include "ekosmanager.h"
26 
27 OpsEkos::OpsEkos( KStars *_ks )
28  : QFrame( _ks )
29 {
30  setupUi(this);
31 
32 
33  //Get a pointer to the KConfigDialog
34  m_ConfigDialog = KConfigDialog::exists( "settings" );
35 
36  connect( m_ConfigDialog, SIGNAL( applyClicked() ), SLOT( slotApply() ) );
37  connect( m_ConfigDialog, SIGNAL( okClicked() ), SLOT( slotApply() ) );
38  connect( m_ConfigDialog, SIGNAL( cancelClicked() ), SLOT( slotCancel() ) );
39 
40 }
41 
42 
43 OpsEkos::~OpsEkos() {}
44 
45 void OpsEkos::slotApply()
46 {
47  EkosManager *ekosManager = KStars::Instance()->ekosManager();
48 
49  if (ekosManager)
50  ekosManager->refreshRemoteDrivers();
51 }
52 
53 void OpsEkos::slotCancel()
54 {
55  }
56 
57 #include "opsekos.moc"
KStars::ekosManager
EkosManager * ekosManager() const
Definition: kstars.h:138
ekosmanager.h
opsekos.h
KStars::Instance
static KStars * Instance()
Definition: kstars.h:125
KStars
This is the main window for KStars.
Definition: kstars.h:94
OpsEkos::~OpsEkos
~OpsEkos()
Definition: opsekos.cpp:43
OpsEkos::OpsEkos
OpsEkos(KStars *_ks)
Definition: opsekos.cpp:27
EkosManager::refreshRemoteDrivers
void refreshRemoteDrivers()
Definition: ekosmanager.cpp:504
EkosManager
Definition: ekosmanager.h:30
Options.h
QFrame
kstars.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

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