author | mickeyl <mickeyl> | 2005-07-09 13:33:21 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-07-09 13:33:21 (UTC) |
commit | 7bccb3143fbfb4dd70cc22d5233e6275245d0285 (patch) (unidiff) | |
tree | 34972468579899cbe3eff62f669217b6fbec112d | |
parent | df81736967930c523b3c1be163f830e9120b7b27 (diff) | |
download | opie-7bccb3143fbfb4dd70cc22d5233e6275245d0285.zip opie-7bccb3143fbfb4dd70cc22d5233e6275245d0285.tar.gz opie-7bccb3143fbfb4dd70cc22d5233e6275245d0285.tar.bz2 |
change the default generated names of Qt Designer to something meaningful
~lart Harlekin for being unbelievable lazy :/
~lart all other Opie developers for not correcting this when they spotted it...
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 32 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/bluetoothbase.ui | 6 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/devicedialog.ui | 12 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.cpp | 18 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.h | 2 |
5 files changed, 35 insertions, 35 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index 90e44cb..7954cc3 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp | |||
@@ -69,7 +69,7 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) | |||
69 | // not good since lib is async | 69 | // not good since lib is async |
70 | // connect( ListView2, SIGNAL( expanded(QListViewItem*) ), | 70 | // connect( devicesView, SIGNAL( expanded(QListViewItem*) ), |
71 | // this, SLOT( addServicesToDevice(QListViewItem*) ) ); | 71 | // this, SLOT( addServicesToDevice(QListViewItem*) ) ); |
72 | connect( ListView2, SIGNAL( clicked(QListViewItem*)), | 72 | connect( devicesView, SIGNAL( clicked(QListViewItem*)), |
73 | this, SLOT( startServiceActionClicked(QListViewItem*) ) ); | 73 | this, SLOT( startServiceActionClicked(QListViewItem*) ) ); |
74 | connect( ListView2, SIGNAL( rightButtonClicked(QListViewItem*,const QPoint&,int) ), | 74 | connect( devicesView, SIGNAL( rightButtonClicked(QListViewItem*,const QPoint&,int) ), |
75 | this, SLOT(startServiceActionHold(QListViewItem*,const QPoint&,int) ) ); | 75 | this, SLOT(startServiceActionHold(QListViewItem*,const QPoint&,int) ) ); |
@@ -86,4 +86,4 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) | |||
86 | // let hold be rightButtonClicked() | 86 | // let hold be rightButtonClicked() |
87 | QPEApplication::setStylusOperation( ListView2->viewport(), QPEApplication::RightOnHold); | 87 | QPEApplication::setStylusOperation( devicesView->viewport(), QPEApplication::RightOnHold); |
88 | QPEApplication::setStylusOperation( ListView4->viewport(), QPEApplication::RightOnHold); | 88 | QPEApplication::setStylusOperation( connectionsView->viewport(), QPEApplication::RightOnHold); |
89 | 89 | ||
@@ -107,3 +107,3 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) | |||
107 | 107 | ||
108 | ListView2->setRootIsDecorated(true); | 108 | devicesView->setRootIsDecorated(true); |
109 | 109 | ||
@@ -191,3 +191,3 @@ void BlueBase::writeSavedDevices() | |||
191 | { | 191 | { |
192 | QListViewItemIterator it( ListView2 ); | 192 | QListViewItemIterator it( devicesView ); |
193 | BTListItem* item; | 193 | BTListItem* item; |
@@ -291,3 +291,3 @@ void BlueBase::addSearchedDevices( const QValueList<RemoteDevice> &newDevices ) | |||
291 | 291 | ||
292 | deviceItem = new BTDeviceItem( ListView2 , (*it) ); | 292 | deviceItem = new BTDeviceItem( devicesView , (*it) ); |
293 | deviceItem->setPixmap( 1, m_findPix ); | 293 | deviceItem->setPixmap( 1, m_findPix ); |
@@ -489,3 +489,3 @@ void BlueBase::addSignalStrength() | |||
489 | 489 | ||
490 | QListViewItemIterator it( ListView4 ); | 490 | QListViewItemIterator it( connectionsView ); |
491 | for ( ; it.current(); ++it ) | 491 | for ( ; it.current(); ++it ) |
@@ -501,3 +501,3 @@ void BlueBase::addSignalStrength( const QString& mac, const QString& strength ) | |||
501 | 501 | ||
502 | QListViewItemIterator it( ListView4 ); | 502 | QListViewItemIterator it( connectionsView ); |
503 | for ( ; it.current(); ++it ) | 503 | for ( ; it.current(); ++it ) |
@@ -536,3 +536,3 @@ void BlueBase::addConnectedDevices( ConnectionState::ValueList connectionList ) | |||
536 | 536 | ||
537 | QListViewItemIterator it2( ListView4 ); | 537 | QListViewItemIterator it2( connectionsView ); |
538 | bool found = false; | 538 | bool found = false; |
@@ -548,3 +548,3 @@ void BlueBase::addConnectedDevices( ConnectionState::ValueList connectionList ) | |||
548 | { | 548 | { |
549 | connectionItem = new BTConnectionItem( ListView4, (*it) ); | 549 | connectionItem = new BTConnectionItem( connectionsView, (*it) ); |
550 | 550 | ||
@@ -558,3 +558,3 @@ void BlueBase::addConnectedDevices( ConnectionState::ValueList connectionList ) | |||
558 | 558 | ||
559 | QListViewItemIterator it2( ListView4 ); | 559 | QListViewItemIterator it2( connectionsView ); |
560 | for ( ; it2.current(); ++it2 ) | 560 | for ( ; it2.current(); ++it2 ) |
@@ -581,6 +581,6 @@ void BlueBase::addConnectedDevices( ConnectionState::ValueList connectionList ) | |||
581 | { | 581 | { |
582 | ListView4->clear(); | 582 | connectionsView->clear(); |
583 | ConnectionState con; | 583 | ConnectionState con; |
584 | con.setMac( tr("No connections found") ); | 584 | con.setMac( tr("No connections found") ); |
585 | connectionItem = new BTConnectionItem( ListView4 , con ); | 585 | connectionItem = new BTConnectionItem( connectionsView , con ); |
586 | } | 586 | } |
@@ -675,3 +675,3 @@ bool BlueBase::find( const RemoteDevice& rem ) | |||
675 | { | 675 | { |
676 | QListViewItemIterator it( ListView2 ); | 676 | QListViewItemIterator it( devicesView ); |
677 | BTListItem* item; | 677 | BTListItem* item; |
diff --git a/noncore/net/opietooth/manager/bluetoothbase.ui b/noncore/net/opietooth/manager/bluetoothbase.ui index 2d14b8f..cbde3c6 100644 --- a/noncore/net/opietooth/manager/bluetoothbase.ui +++ b/noncore/net/opietooth/manager/bluetoothbase.ui | |||
@@ -13,3 +13,3 @@ | |||
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>297</width> | 14 | <width>293</width> |
15 | <height>382</height> | 15 | <height>382</height> |
@@ -99,3 +99,3 @@ | |||
99 | <name>name</name> | 99 | <name>name</name> |
100 | <cstring>ListView2</cstring> | 100 | <cstring>devicesView</cstring> |
101 | </property> | 101 | </property> |
@@ -187,3 +187,3 @@ | |||
187 | <name>name</name> | 187 | <name>name</name> |
188 | <cstring>ListView4</cstring> | 188 | <cstring>connectionsView</cstring> |
189 | </property> | 189 | </property> |
diff --git a/noncore/net/opietooth/manager/devicedialog.ui b/noncore/net/opietooth/manager/devicedialog.ui index 2ecfd4c..f5cd9ab 100644 --- a/noncore/net/opietooth/manager/devicedialog.ui +++ b/noncore/net/opietooth/manager/devicedialog.ui | |||
@@ -13,3 +13,3 @@ | |||
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>275</width> | 14 | <width>267</width> |
15 | <height>323</height> | 15 | <height>323</height> |
@@ -71,3 +71,3 @@ | |||
71 | <name>name</name> | 71 | <name>name</name> |
72 | <cstring>PushButton5</cstring> | 72 | <cstring>applyChanges</cstring> |
73 | </property> | 73 | </property> |
@@ -110,3 +110,3 @@ | |||
110 | <name>name</name> | 110 | <name>name</name> |
111 | <cstring>ListView1</cstring> | 111 | <cstring>serviceView</cstring> |
112 | </property> | 112 | </property> |
@@ -149,3 +149,3 @@ | |||
149 | <name>name</name> | 149 | <name>name</name> |
150 | <cstring>LineEdit6</cstring> | 150 | <cstring>defaultPinCode</cstring> |
151 | </property> | 151 | </property> |
@@ -156,3 +156,3 @@ | |||
156 | <name>name</name> | 156 | <name>name</name> |
157 | <cstring>LineEdit1</cstring> | 157 | <cstring>deviceName</cstring> |
158 | </property> | 158 | </property> |
@@ -216,3 +216,3 @@ | |||
216 | <name>name</name> | 216 | <name>name</name> |
217 | <cstring>DeviceInfoLabel</cstring> | 217 | <cstring>deviceInfoLabel</cstring> |
218 | </property> | 218 | </property> |
diff --git a/noncore/net/opietooth/manager/scandialog.cpp b/noncore/net/opietooth/manager/scandialog.cpp index bccc6c2..160e8dd 100644 --- a/noncore/net/opietooth/manager/scandialog.cpp +++ b/noncore/net/opietooth/manager/scandialog.cpp | |||
@@ -58,9 +58,9 @@ namespace OpieTooth { | |||
58 | 58 | ||
59 | ListView1 = new QListView( this, "ListView1" ); | 59 | serviceView = new QListView( this, "serviceView" ); |
60 | 60 | ||
61 | //ListView1->addColumn( tr( "Add" ) ); | 61 | //serviceView->addColumn( tr( "Add" ) ); |
62 | ListView1->addColumn( tr( "Add Device" ) ); | 62 | serviceView->addColumn( tr( "Add Device" ) ); |
63 | //ListView1->addColumn( tr( "Type" ) ); | 63 | //serviceView->addColumn( tr( "Type" ) ); |
64 | 64 | ||
65 | Layout11->addWidget( ListView1 ); | 65 | Layout11->addWidget( serviceView ); |
66 | Layout11->addWidget( progress ); | 66 | Layout11->addWidget( progress ); |
@@ -104,3 +104,3 @@ namespace OpieTooth { | |||
104 | // empty list before a new scan | 104 | // empty list before a new scan |
105 | ListView1->clear(); | 105 | serviceView->clear(); |
106 | 106 | ||
@@ -127,3 +127,3 @@ namespace OpieTooth { | |||
127 | 127 | ||
128 | deviceItem = new QCheckListItem( ListView1, (*it).name(), QCheckListItem::CheckBox ); | 128 | deviceItem = new QCheckListItem( serviceView, (*it).name(), QCheckListItem::CheckBox ); |
129 | deviceItem->setText( 1, (*it).mac() ); | 129 | deviceItem->setText( 1, (*it).mac() ); |
@@ -140,3 +140,3 @@ namespace OpieTooth { | |||
140 | 140 | ||
141 | if (!ListView1) { | 141 | if (!serviceView) { |
142 | return; | 142 | return; |
@@ -146,3 +146,3 @@ namespace OpieTooth { | |||
146 | 146 | ||
147 | QListViewItemIterator it( ListView1 ); | 147 | QListViewItemIterator it( serviceView ); |
148 | for ( ; it.current(); ++it ) { | 148 | for ( ; it.current(); ++it ) { |
diff --git a/noncore/net/opietooth/manager/scandialog.h b/noncore/net/opietooth/manager/scandialog.h index a644e96..2b04964 100644 --- a/noncore/net/opietooth/manager/scandialog.h +++ b/noncore/net/opietooth/manager/scandialog.h | |||
@@ -48,3 +48,3 @@ class Device; | |||
48 | QPushButton* StartStopButton; | 48 | QPushButton* StartStopButton; |
49 | QListView* ListView1; | 49 | QListView* serviceView; |
50 | 50 | ||