Permalink
Browse files

Remove the old AppCafe2 directory from the projects tree, it has been…

… in the main pcbsd/src-qt4/pc-softwaremanager for a little while now
  • Loading branch information...
1 parent a7cca92 commit 37a11060e5154ac0cb87d537fc0dffc3cf252538 Ken Moore committed Aug 9, 2013
Showing with 0 additions and 75,295 deletions.
  1. +0 −25 AppCafe2/LICENSE
  2. +0 −3 AppCafe2/README
  3. +0 −40 AppCafe2/SoftwareManager.qrc
  4. BIN AppCafe2/browserBackground.png
  5. +0 −254 AppCafe2/configDialog.cpp
  6. +0 −58 AppCafe2/configDialog.h
  7. +0 −375 AppCafe2/configDialog.ui
  8. +0 −60 AppCafe2/containers.cpp
  9. +0 −75 AppCafe2/containers.h
  10. +0 −153 AppCafe2/extras.h
  11. +0 −1,146 AppCafe2/i18n/SoftwareManager_af.ts
  12. +0 −1,077 AppCafe2/i18n/SoftwareManager_ar.ts
  13. +0 −1,146 AppCafe2/i18n/SoftwareManager_az.ts
  14. +0 −1,060 AppCafe2/i18n/SoftwareManager_bg.ts
  15. +0 −1,146 AppCafe2/i18n/SoftwareManager_bn.ts
  16. +0 −1,146 AppCafe2/i18n/SoftwareManager_bs.ts
  17. +0 −1,067 AppCafe2/i18n/SoftwareManager_ca.ts
  18. +0 −1,064 AppCafe2/i18n/SoftwareManager_cs.ts
  19. +0 −1,146 AppCafe2/i18n/SoftwareManager_cy.ts
  20. +0 −1,067 AppCafe2/i18n/SoftwareManager_da.ts
  21. +0 −1,016 AppCafe2/i18n/SoftwareManager_de.ts
  22. +0 −1,068 AppCafe2/i18n/SoftwareManager_el.ts
  23. +0 −1,016 AppCafe2/i18n/SoftwareManager_en_GB.ts
  24. +0 −1,016 AppCafe2/i18n/SoftwareManager_en_ZA.ts
  25. +0 −1,016 AppCafe2/i18n/SoftwareManager_es.ts
  26. +0 −1,016 AppCafe2/i18n/SoftwareManager_et.ts
  27. +0 −1,146 AppCafe2/i18n/SoftwareManager_eu.ts
  28. +0 −1,016 AppCafe2/i18n/SoftwareManager_fa.ts
  29. +0 −1,146 AppCafe2/i18n/SoftwareManager_fi.ts
  30. +0 −1,016 AppCafe2/i18n/SoftwareManager_fr.ts
  31. +0 −1,016 AppCafe2/i18n/SoftwareManager_fr_CA.ts
  32. +0 −1,146 AppCafe2/i18n/SoftwareManager_fur.ts
  33. +0 −1,146 AppCafe2/i18n/SoftwareManager_gl.ts
  34. +0 −1,113 AppCafe2/i18n/SoftwareManager_he.ts
  35. +0 −1,146 AppCafe2/i18n/SoftwareManager_hi.ts
  36. +0 −1,060 AppCafe2/i18n/SoftwareManager_hr.ts
  37. +0 −1,016 AppCafe2/i18n/SoftwareManager_hu.ts
  38. +0 −1,067 AppCafe2/i18n/SoftwareManager_id.ts
  39. +0 −1,146 AppCafe2/i18n/SoftwareManager_is.ts
  40. +0 −1,017 AppCafe2/i18n/SoftwareManager_it.ts
  41. +0 −1,016 AppCafe2/i18n/SoftwareManager_ja.ts
  42. +0 −1,146 AppCafe2/i18n/SoftwareManager_ka.ts
  43. +0 −1,021 AppCafe2/i18n/SoftwareManager_ko.ts
  44. +0 −1,140 AppCafe2/i18n/SoftwareManager_lt.ts
  45. +0 −1,146 AppCafe2/i18n/SoftwareManager_lv.ts
  46. +0 −1,146 AppCafe2/i18n/SoftwareManager_mk.ts
  47. +0 −1,146 AppCafe2/i18n/SoftwareManager_mn.ts
  48. +0 −1,146 AppCafe2/i18n/SoftwareManager_ms.ts
  49. +0 −1,146 AppCafe2/i18n/SoftwareManager_mt.ts
  50. +0 −1,129 AppCafe2/i18n/SoftwareManager_nb.ts
  51. +0 −1,146 AppCafe2/i18n/SoftwareManager_ne.ts
  52. +0 −1,016 AppCafe2/i18n/SoftwareManager_nl.ts
  53. +0 −1,111 AppCafe2/i18n/SoftwareManager_pa.ts
  54. +0 −1,016 AppCafe2/i18n/SoftwareManager_pl.ts
  55. +0 −1,146 AppCafe2/i18n/SoftwareManager_pt.ts
  56. +0 −1,017 AppCafe2/i18n/SoftwareManager_pt_BR.ts
  57. +0 −1,146 AppCafe2/i18n/SoftwareManager_ro.ts
  58. +0 −1,016 AppCafe2/i18n/SoftwareManager_ru.ts
  59. +0 −1,111 AppCafe2/i18n/SoftwareManager_sk.ts
  60. +0 −1,111 AppCafe2/i18n/SoftwareManager_sl.ts
  61. +0 −1,146 AppCafe2/i18n/SoftwareManager_sr.ts
  62. +0 −1,016 AppCafe2/i18n/SoftwareManager_sv.ts
  63. +0 −1,146 AppCafe2/i18n/SoftwareManager_sw.ts
  64. +0 −1,146 AppCafe2/i18n/SoftwareManager_ta.ts
  65. +0 −1,045 AppCafe2/i18n/SoftwareManager_tg.ts
  66. +0 −1,146 AppCafe2/i18n/SoftwareManager_th.ts
  67. +0 −1,016 AppCafe2/i18n/SoftwareManager_tr.ts
  68. +0 −1,016 AppCafe2/i18n/SoftwareManager_uk.ts
  69. +0 −1,146 AppCafe2/i18n/SoftwareManager_uz.ts
  70. +0 −1,146 AppCafe2/i18n/SoftwareManager_vi.ts
  71. +0 −1,016 AppCafe2/i18n/SoftwareManager_zh_CN.ts
  72. +0 −1,016 AppCafe2/i18n/SoftwareManager_zh_HK.ts
  73. +0 −1,016 AppCafe2/i18n/SoftwareManager_zh_TW.ts
  74. +0 −1,146 AppCafe2/i18n/SoftwareManager_zu.ts
  75. BIN AppCafe2/icons/NewLogoSmall.png
  76. BIN AppCafe2/icons/add-root.png
  77. BIN AppCafe2/icons/add.png
  78. BIN AppCafe2/icons/app_downgrade-root.png
  79. BIN AppCafe2/icons/app_downgrade.png
  80. BIN AppCafe2/icons/app_download-root.png
  81. BIN AppCafe2/icons/app_download.png
  82. BIN AppCafe2/icons/app_needroot.png
  83. BIN AppCafe2/icons/app_upgrade-root.png
  84. BIN AppCafe2/icons/app_upgrade.png
  85. BIN AppCafe2/icons/appcafe.png
  86. BIN AppCafe2/icons/application.png
  87. BIN AppCafe2/icons/arrow-down.png
  88. BIN AppCafe2/icons/arrow-up.png
  89. BIN AppCafe2/icons/demo.png
  90. BIN AppCafe2/icons/dialog-cancel.png
  91. BIN AppCafe2/icons/dialog-ok.png
  92. BIN AppCafe2/icons/download.png
  93. BIN AppCafe2/icons/edit-find.png
  94. BIN AppCafe2/icons/export.png
  95. BIN AppCafe2/icons/folder.png
  96. BIN AppCafe2/icons/go-home.png
  97. BIN AppCafe2/icons/go-next.png
  98. BIN AppCafe2/icons/go-previous.png
  99. BIN AppCafe2/icons/import.png
  100. BIN AppCafe2/icons/preferences-system.png
  101. BIN AppCafe2/icons/remove-root.png
  102. BIN AppCafe2/icons/remove.png
  103. BIN AppCafe2/icons/view-refresh.png
  104. BIN AppCafe2/icons/window-close.png
  105. BIN AppCafe2/icons/working.png
  106. BIN AppCafe2/icons/xdg_desktop.png
  107. BIN AppCafe2/icons/xdg_menu.png
  108. BIN AppCafe2/icons/xdg_mime.png
  109. BIN AppCafe2/icons/xdg_paths.png
  110. +0 −77 AppCafe2/largeItemWidget.h
  111. +0 −54 AppCafe2/main.cpp
  112. +0 −816 AppCafe2/mainUI.cpp
  113. +0 −123 AppCafe2/mainUI.h
  114. +0 −1,146 AppCafe2/mainUI.ui
  115. +0 −1,290 AppCafe2/pbiBackend.cpp
  116. +0 −155 AppCafe2/pbiBackend.h
  117. +0 −366 AppCafe2/pbiDBAccess.cpp
  118. +0 −67 AppCafe2/pbiDBAccess.h
  119. +0 −115 AppCafe2/pc-softwaremanager.pro
  120. +0 −274 AppCafe2/processManager.cpp
  121. +0 −49 AppCafe2/processManager.h
  122. +0 −77 AppCafe2/smallItemWidget.h
  123. +0 −52 AppCafe2/softmanager.desktop
View
@@ -1,25 +0,0 @@
---------------------------------------------------------------------
-Copyright (c) 2009 PC-BSD Software
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-3. The name of the author may not be used to endorse or promote products
- derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
@@ -1,3 +0,0 @@
-# Copyright (c) 2005 PC-BSD Software
-# http://www.pcbsd.org
-# For license information read file LICENSE
@@ -1,40 +0,0 @@
-<RCC>
- <qresource>
- <file>icons/add-root.png</file>
- <file>icons/remove-root.png</file>
- <file>icons/export.png</file>
- <file>icons/import.png</file>
- <file>icons/arrow-down.png</file>
- <file>icons/arrow-up.png</file>
- <file>icons/app_upgrade-root.png</file>
- <file>icons/app_downgrade-root.png</file>
- <file>icons/app_download-root.png</file>
- <file>icons/appcafe.png</file>
- <file>icons/application.png</file>
- <file>icons/add.png</file>
- <file>icons/remove.png</file>
- <file>icons/dialog-ok.png</file>
- <file>icons/download.png</file>
- <file>icons/edit-find.png</file>
- <file>icons/view-refresh.png</file>
- <file>icons/dialog-cancel.png</file>
- <file>icons/window-close.png</file>
- <file>icons/preferences-system.png</file>
- <file>icons/go-next.png</file>
- <file>icons/go-previous.png</file>
- <file>icons/go-home.png</file>
- <file>icons/working.png</file>
- <file>icons/folder.png</file>
- <file>icons/NewLogoSmall.png</file>
- <file>icons/demo.png</file>
- <file>browserBackground.png</file>
- <file>icons/app_downgrade.png</file>
- <file>icons/app_download.png</file>
- <file>icons/app_needroot.png</file>
- <file>icons/app_upgrade.png</file>
- <file>icons/xdg_desktop.png</file>
- <file>icons/xdg_menu.png</file>
- <file>icons/xdg_mime.png</file>
- <file>icons/xdg_paths.png</file>
- </qresource>
-</RCC>
Deleted file not rendered
View
@@ -1,254 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2011 - iXsystems *
- * kris@pcbsd.org *
- * tim@pcbsd.org *
- * ken@pcbsd.org *
- * *
- * Permission is hereby granted, free of charge, to any person obtaining *
- * a copy of this software and associated documentation files (the *
- * "Software"), to deal in the Software without restriction, including *
- * without limitation the rights to use, copy, modify, merge, publish, *
- * distribute, sublicense, and/or sell copies of the Software, and to *
- * permit persons to whom the Software is furnished to do so, subject to *
- * the following conditions: *
- * *
- * The above copyright notice and this permission notice shall be *
- * included in all copies or substantial portions of the Software. *
- * *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
- * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR *
- * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *
- * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR *
- * OTHER DEALINGS IN THE SOFTWARE. *
- ***************************************************************************/
-#include "configDialog.h"
-#include "ui_configDialog.h" //Qt-designer file
-
-//Public input/output variables
-/* bool applyChanges;
- QStringList xdgOpts;
- bool keepDownloads;
- QString downloadDir;
- PBIDBAccess *DB; // Input only - current database access class
-*/
-ConfigDialog::ConfigDialog(QWidget* parent) : QDialog(parent), ui(new Ui::ConfigDialog){
- ui->setupUi(this); //load the Qt-Designer file
- applyChanges = FALSE;
-}
-
-ConfigDialog::~ConfigDialog(){
- delete ui;
-}
-
-void ConfigDialog::setupDone(){
- applyChanges = FALSE; //make sure no changes by default
- //Now load the info onto the GUI
- ui->check_desktop->setChecked( xdgOpts.contains("desktop") );
- ui->check_menu->setChecked( xdgOpts.contains("menu") );
- ui->check_mime->setChecked( xdgOpts.contains("mime") );
- ui->check_paths->setChecked( xdgOpts.contains("paths") );
- ui->group_download->setChecked( keepDownloads );
- ui->line_downloadDir->setText( downloadDir.replace(QDir::homePath(),"~") );
- //Get the repo information
- repoID = DB->currentRepo();
- refreshRepoTab();
-}
-
-void ConfigDialog::refreshRepoTab(){
- DB->reloadRepoList();
- QStringList repoList = DB->availableRepos();
- int index = repoList.indexOf(repoID);
- for(int i=0; i<repoList.length(); i++){
- QStringList info = DB->repoInfo(repoList[i]);
- repoList[i].append(" - "+info[0] );
- }
- //Now fill the repo tab
- ui->combo_repo->clear();
- ui->combo_repo->addItems( repoList );
- if(!repoList.isEmpty()){
- if(index != -1){
- ui->combo_repo->setCurrentIndex(index); //will call the slot automatically
- }else{
- ui->combo_repo->setCurrentIndex(0);
- }
- }
-}
-
-// === ButtonBox ===
-void ConfigDialog::on_buttonBox_accepted(){
- applyChanges = TRUE; //flag that changes are available
- //generate the xdg install Options
- xdgOpts.clear();
- if(ui->check_desktop->isChecked()){ xdgOpts << "desktop"; }
- if(ui->check_menu->isChecked()){ xdgOpts << "menu"; }
- if(ui->check_mime->isChecked()){ xdgOpts << "mime"; }
- if(ui->check_paths->isChecked()){ xdgOpts << "paths"; }
- //Download Directory settings
- keepDownloads = ui->group_download->isChecked();
- downloadDir = ui->line_downloadDir->text();
- downloadDir.replace("~",QDir::homePath());
- //Repo
- repoID = ui->combo_repo->currentText().section(" - ",0,0).simplified();
- DB->setRepo(repoID);
- //Now close the UI
- this->close();
-}
-
-void ConfigDialog::on_buttonBox_rejected(){
- applyChanges = FALSE;
- DB->setRepo(repoID); //just in case it was changed by the UI
- this->close();
-}
-
-// === Repo Tab ===
-void ConfigDialog::on_combo_repo_currentIndexChanged(){
- QString repoNum = ui->combo_repo->currentText().section(" - ",0,0);
- //Update the repo mirror list
- if(repoNum.isEmpty()){ //no repo selected
- ui->list_repomirrors->clear();
- ui->tool_repomirror_add->setEnabled(FALSE);
- ui->tool_repomirror_remove->setEnabled(FALSE);
- ui->tool_repomirror_up->setEnabled(FALSE);
- ui->tool_repomirror_down->setEnabled(FALSE);
- ui->tool_repo_remove->setEnabled(FALSE);
- }else{
- QStringList mirrors = DB->repoMirrors(repoNum);
- ui->list_repomirrors->clear();
- ui->list_repomirrors->addItems(mirrors);
- //Now enable the buttons
- ui->tool_repomirror_add->setEnabled(TRUE);
- ui->tool_repomirror_remove->setEnabled(TRUE);
- ui->tool_repomirror_up->setEnabled(TRUE);
- ui->tool_repomirror_down->setEnabled(TRUE);
- ui->tool_repo_remove->setEnabled(TRUE);
- }
-
-}
-
-void ConfigDialog::on_tool_repo_add_clicked(){
- QString rpofile = QFileDialog::getOpenFileName(this,tr("Add PBI Repository"), QDir::homePath(), tr("Repository File (*.rpo)") );
- if(rpofile.isEmpty()){ return; } //cancelled
- bool ok = DB->addRepoFile(rpofile);
- if(ok){
- QMessageBox::information(this,tr("Repo Successfully Added"), tr("This repo should be ready to use in a short time (depending on your internet connection speed).") );
- }else{
- QMessageBox::warning(this,tr("Repo Failure"), tr("This repo could not be added.")+"\n"+ QString(tr("Please run the command '%1' manually to see the full error message.")).arg("pbi_addrepo <rpo file>") );
- }
- refreshRepoTab();
-}
-
-void ConfigDialog::on_tool_repo_remove_clicked(){
- //Get the selected repo
- QString repoName = ui->combo_repo->currentText().section(" - ",1,50).simplified();
- QString repoNum = ui->combo_repo->currentText().section(" - ",0,0).simplified();
- //Verify the removal
- if( QMessageBox::Yes == QMessageBox::question(this,tr("Verify Removal"),repoName+"\n\n"+tr("Are you sure you wish to remove this PBI repository?"),QMessageBox::Yes | QMessageBox::Cancel, QMessageBox::Cancel) ){
- //remove the repo
- bool ok = DB->removeRepo(repoNum);
- if(!ok){
- QMessageBox::warning(this,tr("Repo Failure"), tr("This repo could not be removed.")+"\n"+ QString(tr("Please run the command '%1' manually to see the full error message.")).arg("pbi_deleterepo "+repoNum) );
- }
- refreshRepoTab();
- }
-}
-
-void ConfigDialog::on_tool_repomirror_add_clicked(){
- bool ok;
- QString newmirror = QInputDialog::getText(this,tr("New Mirror URL"), tr("Please enter the URL for the new repo mirror:"),QLineEdit::Normal, "", &ok);
- if( !ok || newmirror.isEmpty()){ return; } //cancelled
- QString repoNum = ui->combo_repo->currentText().section(" - ",0,0);
- QStringList mirrors;
- for(int i=0; i<ui->list_repomirrors->count(); i++){
- mirrors << ui->list_repomirrors->item(i)->text();
- }
- mirrors << newmirror; //add the new mirror to the end of the list
- //Now run the database command
- ok = DB->setRepoMirrors(repoNum, mirrors);
- if(!ok){
- QMessageBox::warning(this,tr("Mirror Change Error"), tr("The full error is displayed in the AppCafe terminal output."));
- }
- //Now update the display
- on_combo_repo_currentIndexChanged();
-}
-
-void ConfigDialog::on_tool_repomirror_remove_clicked(){
- if(ui->list_repomirrors->currentRow() == -1){ return; }
- QString repoNum = ui->combo_repo->currentText().section(" - ",0,0);
- QString rmMirror = ui->list_repomirrors->currentItem()->text();
- if(rmMirror.isEmpty()){ return; }
- QStringList mirrors;
- for(int i=0; i<ui->list_repomirrors->count(); i++){
- QString mir = ui->list_repomirrors->item(i)->text();
- if(mir != rmMirror){
- mirrors << mir;
- }
- }
- //Now run the database command
- bool ok = DB->setRepoMirrors(repoNum, mirrors);
- if(!ok){
- QMessageBox::warning(this,tr("Mirror Change Error"), tr("The full error is displayed in the AppCafe terminal output."));
- }
- //Now update the display
- on_combo_repo_currentIndexChanged();
-}
-
-void ConfigDialog::on_tool_repomirror_up_clicked(){
- if(ui->list_repomirrors->currentRow() == -1){ return; }
- QString repoNum = ui->combo_repo->currentText().section(" - ",0,0);
- QString upMirror = ui->list_repomirrors->currentItem()->text();
- if(upMirror.isEmpty()){ return; }
- QStringList mirrors;
- for(int i=0; i<ui->list_repomirrors->count(); i++){
- mirrors << ui->list_repomirrors->item(i)->text();
- }
- //Now move the mirror up
- int cIndex = mirrors.indexOf(upMirror);
- if( cIndex < 1 ){ return; }//make sure it is not already at the top of the list
- mirrors.move(cIndex, cIndex-1);
-
- //Now run the database command
- bool ok = DB->setRepoMirrors(repoNum, mirrors);
- if(!ok){
- QMessageBox::warning(this,tr("Mirror Change Error"), tr("The full error is displayed in the AppCafe terminal output."));
- }
- //Now update the display
- on_combo_repo_currentIndexChanged();
-}
-
-void ConfigDialog::on_tool_repomirror_down_clicked(){
- if(ui->list_repomirrors->currentRow() == -1){ return; }
- QString repoNum = ui->combo_repo->currentText().section(" - ",0,0);
- QString downMirror = ui->list_repomirrors->currentItem()->text();
- if(downMirror.isEmpty()){ return; }
- QStringList mirrors;
- for(int i=0; i<ui->list_repomirrors->count(); i++){
- mirrors << ui->list_repomirrors->item(i)->text();
- }
- //Now move the mirror up
- int cIndex = mirrors.indexOf(downMirror);
- if( cIndex == (mirrors.length()-1) ){ return; }//make sure the mirror is not already at the bottom
- mirrors.move(cIndex, cIndex+1);
-
- //Now run the database command
- bool ok = DB->setRepoMirrors(repoNum, mirrors);
- if(!ok){
- QMessageBox::warning(this,tr("Mirror Change Error"), tr("The full error is displayed in the AppCafe terminal output."));
- }
- //Now update the display
- on_combo_repo_currentIndexChanged();
-}
-
-// === Config Tab ===
-void ConfigDialog::on_group_download_toggled(bool checked){
- ui->frame_dldir->setVisible(checked);
-}
-
-void ConfigDialog::on_tool_getDownloadDir_clicked(){
- QString dirpath = QFileDialog::getExistingDirectory(this, tr("Select Download Directory"), QDir::homePath());
- if(dirpath.isEmpty()){return;} //not cancelled
- dirpath.replace(QDir::homePath(),"~");
- ui->line_downloadDir->setText(dirpath);
-}
-
View
@@ -1,58 +0,0 @@
-#ifndef _APPCAFE_CONFIG_DIALOG_H
-#define _APPCAFE_CONFIG_DIALOG_H
-
-#include <QDialog>
-#include <QWidget>
-#include <QString>
-#include <QFileDialog>
-#include <QMessageBox>
-#include <QInputDialog>
-
-#include "pbiDBAccess.h"
-
-namespace Ui {
- class ConfigDialog;
-}
-
-class ConfigDialog : public QDialog{
- Q_OBJECT
-
-public:
- explicit ConfigDialog(QWidget* parent = 0);
- virtual ~ConfigDialog();
-
- void setupDone(); //make sure the public variables below are set before running this
-
- //Data setup/retrieval variables
- bool applyChanges;
- QStringList xdgOpts;
- bool keepDownloads;
- QString downloadDir;
- PBIDBAccess *DB;
-
-private:
- Ui::ConfigDialog *ui;
- QString repoID;
-
-private slots:
- //Repo Tab
- void refreshRepoTab();
- void on_combo_repo_currentIndexChanged();
- void on_tool_repo_add_clicked();
- void on_tool_repo_remove_clicked();
- void on_tool_repomirror_add_clicked();
- void on_tool_repomirror_remove_clicked();
- void on_tool_repomirror_up_clicked();
- void on_tool_repomirror_down_clicked();
-
- //Config Tab
- void on_group_download_toggled(bool);
- void on_tool_getDownloadDir_clicked();
-
- //ButtonBox
- void on_buttonBox_accepted();
- void on_buttonBox_rejected();
-
-};
-
-#endif
Oops, something went wrong.

0 comments on commit 37a1106

Please sign in to comment.