/guitone-1.0rc5/src/view/dialogs/OpenPrompt.h
C Header | 55 lines | 30 code | 8 blank | 17 comment | 0 complexity | d74761aa5dc3b633d17cd603777745a0 MD5 | raw file
Possible License(s): GPL-3.0
- /***************************************************************************
- * Copyright (C) 2007 by Thomas Keller *
- * me@thomaskeller.biz *
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation, either version 3 of the License, or *
- * (at your option) any later version. *
- * *
- * This program is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
- * GNU General Public License for more details. *
- * *
- * You should have received a copy of the GNU General Public License *
- * along with this program. If not, see <http://www.gnu.org/licenses/>. *
- ***************************************************************************/
- #ifndef OPEN_PROMPT_H
- #define OPEN_PROMPT_H
- #include "Dialog.h"
- #include "DialogManager.h"
- #include "ui_open_prompt.h"
- class OpenPrompt : public Dialog, private Ui::OpenPromptDialog
- {
- Q_OBJECT
- public:
- OpenPrompt(QWidget *);
- ~OpenPrompt();
- signals:
- void loadFromHandle(const MonotoneHandlePtr &);
- void loadFromString(const QString &);
- void quitApp();
- public slots:
- void loadFromStringFailed(const QString &, const QString &);
- void updateRecentLists();
- private slots:
- void openDatabase();
- void openWorkspace();
- void newServerConnection();
- void recentDatabasesChanged(int);
- void recentWorkspacesChanged(int);
- void recentServersChanged(int);
- void checkForPrivateKeys();
- private:
- DialogManager * dialogManager;
- };
- #endif