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

kstars

addcatdialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           addcatdialog.h  -  description
00003                              -------------------
00004     begin                : Sun Mar 3 2002
00005     copyright            : (C) 2002 by Jason Harris
00006     email                : kstars@30doradus.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef ADDCATDIALOG_H_
00019 #define ADDCATDIALOG_H_
00020 
00021 #include <kdialog.h>
00022 #include <klineedit.h>
00023 #include <kurlrequester.h>
00024 
00025 #include "ui_addcatdialog.h"
00026 #include "deepskyobject.h"
00027 
00028 class KStars;
00029 
00030 class AddCatDialogUI : public QFrame, public Ui::AddCatDialog {
00031     Q_OBJECT
00032 public:
00033     explicit AddCatDialogUI( QWidget *parent=0 );
00034 };
00035 
00042 class AddCatDialog : public KDialog  {
00043     Q_OBJECT
00044 public:
00048     AddCatDialog( KStars *_ks );
00049 
00053     ~AddCatDialog();
00054 
00058     QString name() const { return acd->CatalogName->text(); }
00059 
00063     QString filename() const { return acd->CatalogURL->url().path(); }
00064 
00065 private slots:
00069     void slotShowDataFile();
00070 
00075     void slotCreateCatalog();
00076 
00080     void slotPreviewCatalog();
00081 
00086     void slotHelp();
00087 
00092     void slotOk();
00093 
00094 private:
00099     bool validateDataFile();
00100 
00105     QString writeCatalogHeader();
00106 
00107     KStars *ks;
00108     AddCatDialogUI *acd;
00109     QString CatalogContents;
00110 };
00111 
00112 #endif

kstars

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

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal