• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • 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 <qglobal.h>
00022 #include <qptrlist.h>
00023 
00024 #include <kdialogbase.h>
00025 #include <klineedit.h>
00026 #include <kurlrequester.h>
00027 #include "deepskyobject.h"
00028 #include "addcatdialogui.h"
00029 #include "draglistbox.h"
00030 
00037 class AddCatDialog : public KDialogBase  {
00038     Q_OBJECT
00039 public:
00042     AddCatDialog( QWidget *parent=0 );
00043 
00046     ~AddCatDialog();
00047 
00050     QString name() const { return acd->CatalogName->text(); }
00051 
00054     QString filename() const { return acd->CatalogURL->url(); }
00055 
00056 private slots:
00059     void slotShowDataFile();
00060 
00064     void slotCreateCatalog();
00065 
00068     void slotPreviewCatalog();
00069 
00073     void slotHelp();
00074 
00078     void slotOk();
00079 
00080 private:
00084     bool validateDataFile();
00085 
00089     QString writeCatalogHeader();
00090 
00091     QVBoxLayout *vlay;
00092     AddCatDialogUI *acd;
00093     QString CatalogContents;
00094 };
00095 
00096 #endif

kstars

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

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
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