2021-02-15 Fred Gleason <fredg@paravelsystems.com>

* Removed the 'Q3ListBox' dependency from 'RDListSelector'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-02-15 17:57:33 -05:00
parent 6388987323
commit edbb464dee
17 changed files with 105 additions and 219 deletions

View File

@@ -2,7 +2,7 @@
//
// Edit Rivendell RSS Feed Permissions
//
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -18,17 +18,6 @@
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
#include <qstring.h>
#include <qpushbutton.h>
#include <q3listbox.h>
#include <q3textedit.h>
#include <qlabel.h>
#include <qpainter.h>
#include <qevent.h>
#include <qmessagebox.h>
#include <qcheckbox.h>
#include <q3buttongroup.h>
#include <rddb.h>
#include <rdescape_string.h>
#include <rdpasswd.h>
@@ -99,7 +88,7 @@ EditFeedPerms::EditFeedPerms(RDUser *user,QWidget *parent)
sql=QString().sprintf("select KEY_NAME from FEEDS");
q=new RDSqlQuery(sql);
while(q->next()) {
if(feed_host_sel->destFindItem(q->value(0).toString(),Q3ListBox::ExactMatch)==0) {
if(feed_host_sel->destFindItem(q->value(0).toString())==0) {
feed_host_sel->sourceInsertItem(q->value(0).toString());
}
}