SearchDialog.hpp   SearchDialog.hpp 
skipping to change at line 61 skipping to change at line 61
void selectNext(); void selectNext();
void selectPrevious(); void selectPrevious();
void selectFirst(); void selectFirst();
private: private:
void updateText(); void updateText();
int selectedIdx; int selectedIdx;
QStringList values; QStringList values;
}; };
QT_FORWARD_DECLARE_CLASS(QListWidgetItem)
//! @class SearchDialog //! @class SearchDialog
//! The sky object search dialog. //! The sky object search dialog.
class SearchDialog : public StelDialog class SearchDialog : public StelDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
SearchDialog(); SearchDialog();
virtual ~SearchDialog(); virtual ~SearchDialog();
//! Notify that the application style changed //! Notify that the application style changed
skipping to change at line 94 skipping to change at line 96
virtual void createDialogContent(); virtual void createDialogContent();
private slots: private slots:
void greekLetterClicked(); void greekLetterClicked();
//! Called when the current simbad query status changes //! Called when the current simbad query status changes
void onSimbadStatusChanged(); void onSimbadStatusChanged();
//! Called when the user changed the input text //! Called when the user changed the input text
void onSearchTextChanged(const QString& text); void onSearchTextChanged(const QString& text);
void gotoObject(); void gotoObject();
void gotoObject(const QString& nameI18n);
// for going from list views
void gotoObject(QListWidgetItem* item);
void searchListChanged(const QString& newText);
//! Called when the user edit the manual position controls //! Called when the user edit the manual position controls
void manualPositionChanged(); void manualPositionChanged();
//! Whether to use SIMBAD for searches or not. //! Whether to use SIMBAD for searches or not.
void enableSimbadSearch(bool enable); void enableSimbadSearch(bool enable);
//! Set flagHasSelectedText as true, if search box has selected text //! Set flagHasSelectedText as true, if search box has selected text
void setHasSelectedFlag(); void setHasSelectedFlag();
//! Called when a SIMBAD server is selected in the list. //! Called when a SIMBAD server is selected in the list.
void selectSimbadServer(int index); void selectSimbadServer(int index);
//! Called when new type of objects selected in list view tab
void updateListWidget(int index);
// retranslate/recreate tab
void updateListTab();
private: private:
class SimbadSearcher* simbadSearcher; class SimbadSearcher* simbadSearcher;
class SimbadLookupReply* simbadReply; class SimbadLookupReply* simbadReply;
QMap<QString, Vec3d> simbadResults; QMap<QString, Vec3d> simbadResults;
class StelObjectMgr* objectMgr; class StelObjectMgr* objectMgr;
QString substituteGreek(const QString& keyString); QString substituteGreek(const QString& keyString);
QString getGreekLetterByName(const QString& potentialGreekLetterName ); QString getGreekLetterByName(const QString& potentialGreekLetterName );
QHash<QString, QString> greekLetters; QHash<QString, QString> greekLetters;
//! Used when substituting text with a Greek letter. //! Used when substituting text with a Greek letter.
 End of changes. 3 change blocks. 
0 lines changed or deleted 13 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/