[repo.or.cz] nomnom.git branch next updated: 0.1.4-24-g309ae84
Brought to you by:
legatvs
|
From: <nom...@li...> - 2011-10-12 14:37:26
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project nomnom.git.
The branch, next has been updated
via 309ae84d3d069d3c425de6414a00adc26b93d38c (commit)
from 7b174464bfc6553dce9f480879f2b05298933eff (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://repo.or.cz/w/nomnom.git/commit/309ae84d3d069d3c425de6414a00adc26b93d38c
commit 309ae84d3d069d3c425de6414a00adc26b93d38c
Author: Toni Gundogdu <le...@gm...>
Date: Wed Oct 12 17:33:59 2011 +0300
Rename NFeedInfo -> NFeedProperties
diff --git a/src/Makefile.am b/src/Makefile.am
index a9275e7..484de18 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -59,7 +59,7 @@ qrc_nomnom.cpp:
src= about/naboutdialog.cpp - feed/nfeeddialog_info.cpp + feed/nfeeddialog_properties.cpp feed/nfeeddialog_items.cpp feed/nfeeddialog.cpp feed/nfeedprogressdialog.cpp diff --git a/src/feed/nfeeddialog.cpp b/src/feed/nfeeddialog.cpp
index 980458c..547d7f4 100644
--- a/src/feed/nfeeddialog.cpp
+++ b/src/feed/nfeeddialog.cpp
@@ -35,7 +35,7 @@ NFeedDialog::NFeedDialog(QWidget *parent, const QString& umphPath)
// Toolbox
- NFeedInfo *info = new NFeedInfo(umphPath);
+ NFeedProperties *info = new NFeedProperties(umphPath);
connect(info, SIGNAL(parse(QStringList)), this, SLOT(parse(QStringList)));
NFeedItems *items = new NFeedItems;
@@ -43,8 +43,8 @@ NFeedDialog::NFeedDialog(QWidget *parent, const QString& umphPath)
connect(items, SIGNAL(selected(QString)), this, SLOT(selected(QString)));
_toolbox = new QToolBox;
- _toolbox->addItem(info, tr("&Information"));
- _toolbox->addItem(items, tr("I&tems"));
+ _toolbox->addItem(info, tr("&Properties"));
+ _toolbox->addItem(items, tr("&Items"));
// Button box
diff --git a/src/feed/nfeeddialog.h b/src/feed/nfeeddialog.h
index e2dd3c1..86ad989 100644
--- a/src/feed/nfeeddialog.h
+++ b/src/feed/nfeeddialog.h
@@ -67,11 +67,11 @@ protected:
friend class NFeedDialog;
};
-class NFeedInfo : public NFeedWidget
+class NFeedProperties : public NFeedWidget
{
Q_OBJECT
public:
- NFeedInfo(const QString&, QWidget *parent=NULL);
+ NFeedProperties(const QString&, QWidget *parent=NULL);
protected:
virtual void init();
private slots:
diff --git a/src/feed/nfeeddialog_info.cpp b/src/feed/nfeeddialog_properties.cpp
similarity index 94%
rename from src/feed/nfeeddialog_info.cpp
rename to src/feed/nfeeddialog_properties.cpp
index b81c2bc..a458999 100644
--- a/src/feed/nfeeddialog_info.cpp
+++ b/src/feed/nfeeddialog_properties.cpp
@@ -68,7 +68,8 @@ static const char *tooltips[] =
typedef enum { Uploads=0x00, Favorites, Playlist } Type;
typedef enum { All=0x00, Select } Mode;
-NFeedInfo::NFeedInfo(const QString& umphPath, QWidget *parent/*=NULL*/)
+NFeedProperties::NFeedProperties(const QString& umphPath,
+ QWidget *parent/*=NULL*/)
: NFeedWidget(parent),
_rangeGroup(NULL),
_typeCombo(NULL),
@@ -167,29 +168,29 @@ NFeedInfo::NFeedInfo(const QString& umphPath, QWidget *parent/*=NULL*/)
setLayout(box);
}
-void NFeedInfo::init()
+void NFeedProperties::init()
{
reset();
typeChanged(_typeCombo->currentIndex());
modeChanged(_bgroup->checkedId());
}
-void NFeedInfo::enableRange(bool state/*=true*/)
+void NFeedProperties::enableRange(bool state/*=true*/)
{
_rangeGroup->setEnabled(state);
}
-void NFeedInfo::modeChanged(int n)
+void NFeedProperties::modeChanged(int n)
{
enableRange(n == Select);
}
-void NFeedInfo::typeChanged(int n)
+void NFeedProperties::typeChanged(int n)
{
_identLabel->setText(n == 2 ? tr("I&D") : tr("for &user"));
}
-void NFeedInfo::parse()
+void NFeedProperties::parse()
{
if (_identEdit->text().isEmpty())
{
@@ -224,7 +225,7 @@ void NFeedInfo::parse()
emit parse(args);
}
-void NFeedInfo::reset()
+void NFeedProperties::reset()
{
_typeCombo->setCurrentIndex(0);
_indexSpin->setValue(1);
-----------------------------------------------------------------------
Summary of changes:
src/Makefile.am | 2 +-
src/feed/nfeeddialog.cpp | 6 +++---
src/feed/nfeeddialog.h | 4 ++--
...ddialog_info.cpp => nfeeddialog_properties.cpp} | 15 ++++++++-------
4 files changed, 14 insertions(+), 13 deletions(-)
rename src/feed/{nfeeddialog_info.cpp => nfeeddialog_properties.cpp} (94%)
repo.or.cz automatic notification. Contact project admin le...@gm...
if you want to unsubscribe, or site admin ad...@re... if you receive
no reply.
--
nomnom.git ("The graphical media download tool")
|