mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 08:31:16 +02:00
2018-08-07 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'pam_rd' plug-in. * Removed rdchunk(1). * Upgraded Qt3 to Qt4.
This commit is contained in:
@@ -23,13 +23,16 @@
|
||||
#include <qdialog.h>
|
||||
#include <qstring.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qlistbox.h>
|
||||
#include <qtextedit.h>
|
||||
#include <q3listbox.h>
|
||||
#include <q3textedit.h>
|
||||
#include <qlabel.h>
|
||||
#include <qpainter.h>
|
||||
#include <qevent.h>
|
||||
#include <qmessagebox.h>
|
||||
#include <qbuttongroup.h>
|
||||
#include <q3buttongroup.h>
|
||||
//Added by qt3to4:
|
||||
#include <QPixmap>
|
||||
#include <QResizeEvent>
|
||||
#include <rddb.h>
|
||||
|
||||
#include <rdcart.h>
|
||||
@@ -123,9 +126,9 @@ ListUsers::ListUsers(const QString &admin_name,QWidget *parent)
|
||||
list_box_label->setFont(font);
|
||||
list_box_label->setGeometry(14,11,85,19);
|
||||
connect(list_users_view,
|
||||
SIGNAL(doubleClicked(QListViewItem *,const QPoint &,int)),
|
||||
SIGNAL(doubleClicked(Q3ListViewItem *,const QPoint &,int)),
|
||||
this,
|
||||
SLOT(doubleClickedData(QListViewItem *,const QPoint &,int)));
|
||||
SLOT(doubleClickedData(Q3ListViewItem *,const QPoint &,int)));
|
||||
|
||||
RefreshList();
|
||||
}
|
||||
@@ -226,7 +229,7 @@ void ListUsers::deleteData()
|
||||
switch(QMessageBox::warning(this,"RDAdmin - "+tr("Delete User"),warning,
|
||||
QMessageBox::Yes,QMessageBox::No)) {
|
||||
case QMessageBox::No:
|
||||
case QMessageBox::NoButton:
|
||||
case Qt::NoButton:
|
||||
return;
|
||||
|
||||
default:
|
||||
@@ -270,7 +273,7 @@ void ListUsers::deleteData()
|
||||
}
|
||||
|
||||
|
||||
void ListUsers::doubleClickedData(QListViewItem *item,const QPoint &pt,
|
||||
void ListUsers::doubleClickedData(Q3ListViewItem *item,const QPoint &pt,
|
||||
int col)
|
||||
{
|
||||
editData();
|
||||
|
Reference in New Issue
Block a user