mirror of
https://github.com/YACReader/yacreader
synced 2025-07-27 01:15:07 -04:00
moved settings files from local dir to standar paths
added YACReaderLibraries class, libraries are now identified by id
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
#ifndef __CREATE_LIBRARY_DIALOG_H
|
||||
#define __CREATE_LIBRARY_DIALOG_H
|
||||
|
||||
#include "yacreader_libraries.h"
|
||||
|
||||
#include <QDialog>
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
@ -23,7 +25,7 @@
|
||||
QPushButton * find;
|
||||
QPushButton * accept;
|
||||
QPushButton * cancel;
|
||||
QMap<QString,QString> libraries;
|
||||
YACReaderLibraries libraries;
|
||||
void setupUI();
|
||||
public slots:
|
||||
void create();
|
||||
@ -32,7 +34,7 @@
|
||||
void setDataAndStart(QString name, QString paht);
|
||||
void nameSetted(const QString & text);
|
||||
void pathSetted(const QString & text);
|
||||
void show(const QMap<QString,QString> & libraries);
|
||||
void show(const YACReaderLibraries &libraries);
|
||||
signals:
|
||||
void createLibrary(QString source, QString target, QString name);
|
||||
void cancelCreate();
|
||||
|
Reference in New Issue
Block a user