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

kstars

addlinkdialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           addlinkdialog.h  -  K Desktop Planetarium
00003                              -------------------
00004     begin                : Sun Oct 21 2001
00005     copyright            : (C) 2001 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 ADDLINKDIALOG_H
00019 #define ADDLINKDIALOG_H
00020 
00021 #include <kdialogbase.h>
00022 #include <klineedit.h>
00023 #include <klocale.h>
00024 #include <qradiobutton.h>
00025 
00026 #include "addlinkdialogui.h"
00027 
00028 class QLayout;
00029 class QString;
00030 class SkyMap;
00031 
00037 class AddLinkDialog : public KDialogBase  {
00038     Q_OBJECT
00039 public:
00041     AddLinkDialog( QWidget* parent = 0, const QString &oname=i18n("object") );
00042 
00044     ~AddLinkDialog() {}
00045 
00047     QString url() const { return ald->URLBox->text(); }
00048 
00052     void setURL( const QString &s ) { ald->URLBox->setText( s ); }
00053     
00055     QString desc() const { return ald->DescBox->text(); }
00056 
00060     void setDesc( const QString &s ) { ald->DescBox->setText( s ); }
00061     
00063     bool isImageLink() const { return ald->ImageRadio->isChecked(); }
00064 
00068     void setImageLink( bool b ) { ald->ImageRadio->setChecked( b ); }
00069 
00070 private slots:
00073     void checkURL( void );
00074 
00080     void changeDefaultDescription( int id );
00081 
00082 private:
00083     QString ObjectName;
00084     QVBoxLayout *vlay;
00085     AddLinkDialogUI *ald;
00086 };
00087 
00088 #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