summaryrefslogtreecommitdiff
path: root/noncore/apps/confedit/listviewitemconfigentry.cpp
authorzecke <zecke>2004-09-10 11:11:23 (UTC)
committer zecke <zecke>2004-09-10 11:11:23 (UTC)
commit532d65f8a45850bfda3c3344a7b165af91e48440 (patch) (unidiff)
treecbda2467001ed9a5be304fa52cabbb797b56ecfe /noncore/apps/confedit/listviewitemconfigentry.cpp
parente64d9e9682e0afefc4fbebe7ba9737e0f86e3ed7 (diff)
downloadopie-532d65f8a45850bfda3c3344a7b165af91e48440.zip
opie-532d65f8a45850bfda3c3344a7b165af91e48440.tar.gz
opie-532d65f8a45850bfda3c3344a7b165af91e48440.tar.bz2
Add newlines, remove unused local variables, remove unused parameters,
add newlines at the end of file...
Diffstat (limited to 'noncore/apps/confedit/listviewitemconfigentry.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/confedit/listviewitemconfigentry.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/apps/confedit/listviewitemconfigentry.cpp b/noncore/apps/confedit/listviewitemconfigentry.cpp
index 0970125..714a154 100644
--- a/noncore/apps/confedit/listviewitemconfigentry.cpp
+++ b/noncore/apps/confedit/listviewitemconfigentry.cpp
@@ -123,28 +123,28 @@ void ListViewItemConfigEntry::save(QTextStream *t)
123 _type = Group; 123 _type = Group;
124 }else{ 124 }else{
125 s += _key+" = "+_value; 125 s += _key+" = "+_value;
126 _type = Key; 126 _type = Key;
127 } 127 }
128 s += "\n"; 128 s += "\n";
129 (*t) << s; 129 (*t) << s;
130 _changed = false; 130 _changed = false;
131 for (QListViewItem *it = firstChild(); it!=0;it = it->nextSibling()) 131 for (QListViewItem *it = firstChild(); it!=0;it = it->nextSibling())
132 { 132 {
133 ((ListViewItemConfigEntry*)it)->save(t); 133 ((ListViewItemConfigEntry*)it)->save(t);
134 } 134 }
135} 135}
136 136
137void ListViewItemConfigEntry::revert() 137void ListViewItemConfigEntry::revert()
138{ 138{
139 _group = _groupOrig; 139 _group = _groupOrig;
140 _key = _keyOrig; 140 _key = _keyOrig;
141 _value = _valueOrig; 141 _value = _valueOrig;
142 _changed=false; 142 _changed=false;
143 displayText(); 143 displayText();
144} 144}
145 145
146 146
147void ListViewItemConfigEntry::expand() 147void ListViewItemConfigEntry::expand()
148{ 148{
149 149
150} \ No newline at end of file 150}