mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-26 15:23:50 +01:00
2016-05-24 Fred Gleason <fredg@paravelsystems.com>
* Removed all CVS tags. * Removed 'const char *name' parameter from all QObject contructors.
This commit is contained in:
@@ -2,9 +2,7 @@
|
||||
//
|
||||
// Edit an Auxiliary Field for an RSS Feed
|
||||
//
|
||||
// (C) Copyright 2002-2007 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// $Id: edit_aux_field.cpp,v 1.5 2010/07/29 19:32:34 cvs Exp $
|
||||
// (C) Copyright 2002-2007,2016 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
|
||||
@@ -26,8 +24,8 @@
|
||||
#include <edit_aux_field.h>
|
||||
|
||||
|
||||
EditAuxField::EditAuxField(unsigned feed_id,QWidget *parent,const char *name)
|
||||
: QDialog(parent,name,true)
|
||||
EditAuxField::EditAuxField(unsigned feed_id,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
{
|
||||
QString sql;
|
||||
RDSqlQuery *q;
|
||||
@@ -54,12 +52,11 @@ EditAuxField::EditAuxField(unsigned feed_id,QWidget *parent,const char *name)
|
||||
//
|
||||
// Variable Name
|
||||
//
|
||||
edit_varname_edit=new QLineEdit(this,"edit_varname_edit");
|
||||
edit_varname_edit=new QLineEdit(this);
|
||||
edit_varname_edit->setGeometry(120,10,130,20);
|
||||
edit_varname_edit->setReadOnly(true);
|
||||
QLabel *label=
|
||||
new QLabel(edit_varname_edit,tr("Variable Name: "),
|
||||
this,"edit_varname_label");
|
||||
new QLabel(edit_varname_edit,tr("Variable Name: "),this);
|
||||
label->setGeometry(10,13,105,20);
|
||||
label->setFont(bold_font);
|
||||
label->setAlignment(AlignRight);
|
||||
@@ -67,11 +64,10 @@ EditAuxField::EditAuxField(unsigned feed_id,QWidget *parent,const char *name)
|
||||
//
|
||||
// Variable Name
|
||||
//
|
||||
edit_caption_edit=new QLineEdit(this,"edit_caption_edit");
|
||||
edit_caption_edit=new QLineEdit(this);
|
||||
edit_caption_edit->setGeometry(120,37,sizeHint().width()-130,20);
|
||||
edit_caption_edit->setMaxLength(64);
|
||||
label=new QLabel(edit_caption_edit,tr("Caption: "),
|
||||
this,"edit_caption_label");
|
||||
label=new QLabel(edit_caption_edit,tr("Caption: "),this);
|
||||
label->setGeometry(10,37,105,20);
|
||||
label->setFont(bold_font);
|
||||
label->setAlignment(AlignRight);
|
||||
@@ -79,7 +75,7 @@ EditAuxField::EditAuxField(unsigned feed_id,QWidget *parent,const char *name)
|
||||
//
|
||||
// Ok Button
|
||||
//
|
||||
QPushButton *button=new QPushButton(this,"ok_button");
|
||||
QPushButton *button=new QPushButton(this);
|
||||
button->setGeometry(sizeHint().width()-180,sizeHint().height()-60,80,50);
|
||||
button->setDefault(true);
|
||||
button->setFont(bold_font);
|
||||
@@ -89,7 +85,7 @@ EditAuxField::EditAuxField(unsigned feed_id,QWidget *parent,const char *name)
|
||||
//
|
||||
// Cancel Button
|
||||
//
|
||||
button=new QPushButton(this,"cancel_button");
|
||||
button=new QPushButton(this);
|
||||
button->setGeometry(sizeHint().width()-90,sizeHint().height()-60,
|
||||
80,50);
|
||||
button->setFont(bold_font);
|
||||
|
||||
Reference in New Issue
Block a user