|
Packit Service |
b98cfc |
/*
|
|
Packit Service |
b98cfc |
* qlo10k1 - GUI frontend for ld10k1
|
|
Packit Service |
b98cfc |
*
|
|
Packit Service |
b98cfc |
* Copyright (c) 2004 by Peter Zubaj
|
|
Packit Service |
b98cfc |
*
|
|
Packit Service |
b98cfc |
* This program is free software; you can redistribute it and/or modify
|
|
Packit Service |
b98cfc |
* it under the terms of the GNU General Public License as published by
|
|
Packit Service |
b98cfc |
* the Free Software Foundation; either version 2 of the License, or
|
|
Packit Service |
b98cfc |
* (at your option) any later version.
|
|
Packit Service |
b98cfc |
*
|
|
Packit Service |
b98cfc |
* This program is distributed in the hope that it will be useful,
|
|
Packit Service |
b98cfc |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
b98cfc |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
b98cfc |
* GNU General Public License for more details.
|
|
Packit Service |
b98cfc |
*
|
|
Packit Service |
b98cfc |
* You should have received a copy of the GNU General Public License
|
|
Packit Service |
b98cfc |
* along with this program; if not, write to the Free Software
|
|
Packit Service |
b98cfc |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
Packit Service |
b98cfc |
*
|
|
Packit Service |
b98cfc |
*/
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
#ifndef PREFERENCES_H
|
|
Packit Service |
b98cfc |
#define PREFERENCES_H
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
#include <qptrlist.h>
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
#include "dlgs/preferencesbase.h"
|
|
Packit Service |
b98cfc |
#include "strglobal.h"
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
class PreferencesDlg : public PreferencesBase
|
|
Packit Service |
b98cfc |
{
|
|
Packit Service |
b98cfc |
Q_OBJECT
|
|
Packit Service |
b98cfc |
StrCardGlobal *global;
|
|
Packit Service |
b98cfc |
QPtrList <CardParam> cards;
|
|
Packit Service |
b98cfc |
QString repDirSystem;
|
|
Packit Service |
b98cfc |
QString repDirUser;
|
|
Packit Service |
b98cfc |
public:
|
|
Packit Service |
b98cfc |
PreferencesDlg(StrCardGlobal *glob);
|
|
Packit Service |
b98cfc |
void refreshListBox(void);
|
|
Packit Service |
b98cfc |
void refreshListBox(int idx);
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
void refreshRepListBox(void);
|
|
Packit Service |
b98cfc |
void refreshRepListBox(int idx);
|
|
Packit Service |
b98cfc |
public slots:
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
void cardHighlighted(int index);
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
void okClicked();
|
|
Packit Service |
b98cfc |
void cancelClicked();
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
void updateClicked();
|
|
Packit Service |
b98cfc |
void cardAddClicked();
|
|
Packit Service |
b98cfc |
void cardDelClicked();
|
|
Packit Service |
b98cfc |
};
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
#endif // PREFERENCES_H
|