[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdesdk/lokalize/src/cataloglistview
From: Nickolai Shaforostoff <shafff () ukr ! net>
Date: 2009-05-16 20:43:44
Message-ID: 1242506624.036110.25417.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 968884 by shaforo:
more defines
M +1 -1 cataloglistview.cpp
M +0 -3 catalogmodel.cpp
M +4 -0 catalogmodel.h
--- trunk/KDE/kdesdk/lokalize/src/cataloglistview/cataloglistview.cpp #968883:968884
@@ -171,7 +171,7 @@
{
bool ext=(1<<i)>=CatalogTreeFilterModel::New;
if (!extStates&&ext) break;
- txt=allmenus[ext]->addAction(i18n(alltitles[ext][i-ext*7]));
+ txt=allmenus[ext]->addAction(i18n(alltitles[ext][i-ext*FIRSTSTATEPOSITION]));
txt->setData(1<<i);
txt->setCheckable(true);
txt->setChecked(m_proxyModel->filerOptions()&(1<<i));
--- trunk/KDE/kdesdk/lokalize/src/cataloglistview/catalogmodel.cpp #968883:968884
@@ -191,9 +191,6 @@
invalidateFilter();
}
-#define STATES ((0xffff<<7)&(AllStates))
-#define FIRSTSTATEPOSITION 7
-
bool CatalogTreeFilterModel::filterAcceptsRow(int source_row, const QModelIndex& source_parent) const
{
int filerOptions=m_filerOptions;
--- trunk/KDE/kdesdk/lokalize/src/cataloglistview/catalogmodel.h #968883:968884
@@ -110,6 +110,10 @@
AllStates=MaxOption-1
};
+#define STATES ((0xffff<<7)&(AllStates))
+#define FIRSTSTATEPOSITION 7
+
+
CatalogTreeFilterModel(QObject* parent);
~CatalogTreeFilterModel(){}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic