author | clem <clem> | 2004-06-17 23:11:25 (UTC) |
---|---|---|
committer | clem <clem> | 2004-06-17 23:11:25 (UTC) |
commit | d177fbbcdabe8568b394bc2a16ecc5895a4b659a (patch) (side-by-side diff) | |
tree | 9b8a98b949e3425c5512db166e1ca959ec8a9cfb | |
parent | 237ab9ee408f861a0fb8c9f988cfcaa5db033dd1 (diff) | |
download | opie-d177fbbcdabe8568b394bc2a16ecc5895a4b659a.zip opie-d177fbbcdabe8568b394bc2a16ecc5895a4b659a.tar.gz opie-d177fbbcdabe8568b394bc2a16ecc5895a4b659a.tar.bz2 |
replaced tr( "" ) by "" (in order not to pollute the .ts translation files)
-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 2 | ||||
-rw-r--r-- | core/pim/osearch/mainwindow.cpp | 2 | ||||
-rw-r--r-- | core/settings/citytime/citytimebase.cpp | 36 | ||||
-rw-r--r-- | noncore/applets/memoryapplet/swapfile.cpp | 2 | ||||
-rw-r--r-- | noncore/apps/zsafe/scqtfiledlg.cpp | 6 | ||||
-rw-r--r-- | noncore/apps/zsafe/zsafe.cpp | 8 | ||||
-rw-r--r-- | noncore/multimedia/powerchord/powerchordbase.cpp | 12 | ||||
-rw-r--r-- | noncore/net/mail/mainwindow.cpp | 2 | ||||
-rw-r--r-- | noncore/settings/mediummount/mediumglobal.cc | 2 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.cpp | 2 | ||||
-rw-r--r-- | noncore/unsupported/oipkg/mainwindow.cpp | 2 |
11 files changed, 38 insertions, 38 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index 9c13017..312c663 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp @@ -266,7 +266,7 @@ void ContactEditor::init() { l = new QLabel( tr( "Country" ), container ); gl->addWidget( l, 5, 0 ); cmbCountry = new QComboBox( TRUE, container ); - cmbCountry->insertItem( tr( "" ) ); + cmbCountry->insertItem( "" ); cmbCountry->insertItem( tr ( "United States" ) ); cmbCountry->insertItem( tr ( "United Kingdom" ) ); cmbCountry->insertItem( tr ( "Afghanistan" ) ); diff --git a/core/pim/osearch/mainwindow.cpp b/core/pim/osearch/mainwindow.cpp index 798e1f1..4589c9d 100644 --- a/core/pim/osearch/mainwindow.cpp +++ b/core/pim/osearch/mainwindow.cpp @@ -199,7 +199,7 @@ void MainWindow::makeMenu() //Clear text ClearSearchText = new QToolButton( searchBar, "ClearSearchText"); - ClearSearchText->setText( tr( "" ) ); + ClearSearchText->setText( "" ); ClearSearchText->setPixmap( image1 ); connect( searchEdit, SIGNAL( textChanged(const QString&) ),this, SLOT( setSearch(const QString&) ) ); diff --git a/core/settings/citytime/citytimebase.cpp b/core/settings/citytime/citytimebase.cpp index 77cb91d..bcdd422 100644 --- a/core/settings/citytime/citytimebase.cpp +++ b/core/settings/citytime/citytimebase.cpp @@ -45,7 +45,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) cmdCity7_font.setBold( TRUE ); cmdCity7->setFont( cmdCity7_font ); cmdCity7->setFocusPolicy( QToolButton::TabFocus ); - cmdCity7->setText( tr( "" ) ); + cmdCity7->setText( "" ); cmdCity7->setToggleButton( TRUE ); cmdCity7->setToggleButton( TRUE ); @@ -56,7 +56,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) QFont lblCTime9_font( lblCTime9->font() ); lblCTime9_font.setPointSize( 10 ); lblCTime9->setFont( lblCTime9_font ); - lblCTime9->setText( tr( "" ) ); + lblCTime9->setText( "" ); lblCTime9->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); Layout2->addWidget( lblCTime9, 2, 3 ); @@ -67,7 +67,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) cmdCity8_font.setBold( TRUE ); cmdCity8->setFont( cmdCity8_font ); cmdCity8->setFocusPolicy( QToolButton::TabFocus ); - cmdCity8->setText( tr( "" ) ); + cmdCity8->setText( "" ); cmdCity8->setToggleButton( TRUE ); cmdCity8->setToggleButton( TRUE ); @@ -78,7 +78,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) cmdCity2_font.setBold( TRUE ); cmdCity2->setFont( cmdCity2_font ); cmdCity2->setFocusPolicy( QToolButton::TabFocus ); - cmdCity2->setText( tr( "" ) ); + cmdCity2->setText( "" ); cmdCity2->setToggleButton( TRUE ); cmdCity2->setToggleButton( TRUE ); @@ -88,7 +88,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) QFont lblCTime6_font( lblCTime6->font() ); lblCTime6_font.setPointSize( 10 ); lblCTime6->setFont( lblCTime6_font ); - lblCTime6->setText( tr( "" ) ); + lblCTime6->setText( "" ); lblCTime6->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); Layout2->addWidget( lblCTime6, 5, 1 ); @@ -99,7 +99,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) cmdCity6_font.setBold( TRUE ); cmdCity6->setFont( cmdCity6_font ); cmdCity6->setFocusPolicy( QToolButton::TabFocus ); - cmdCity6->setText( tr( "" ) ); + cmdCity6->setText( "" ); cmdCity6->setToggleButton( TRUE ); cmdCity6->setToggleButton( TRUE ); @@ -111,7 +111,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) cmdCity4_font.setBold( TRUE ); cmdCity4->setFont( cmdCity4_font ); cmdCity4->setFocusPolicy( QToolButton::TabFocus ); - cmdCity4->setText( tr( "" ) ); + cmdCity4->setText( "" ); cmdCity4->setToggleButton( TRUE ); cmdCity4->setToggleButton( TRUE ); @@ -121,7 +121,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) QFont lblCTime5_font( lblCTime5->font() ); lblCTime5_font.setPointSize( 10 ); lblCTime5->setFont( lblCTime5_font ); - lblCTime5->setText( tr( "" ) ); + lblCTime5->setText( "" ); lblCTime5->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); Layout2->addWidget( lblCTime5, 4, 1 ); @@ -131,7 +131,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) QFont lblCTime2_font( lblCTime2->font() ); lblCTime2_font.setPointSize( 10 ); lblCTime2->setFont( lblCTime2_font ); - lblCTime2->setText( tr( "" ) ); + lblCTime2->setText( "" ); lblCTime2->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); Layout2->addWidget( lblCTime2, 1, 1 ); @@ -141,7 +141,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) QFont lblCTime1_font( lblCTime1->font() ); lblCTime1_font.setPointSize( 10 ); lblCTime1->setFont( lblCTime1_font ); - lblCTime1->setText( tr( "" ) ); + lblCTime1->setText( "" ); lblCTime1->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); Layout2->addWidget( lblCTime1, 0, 1 ); @@ -152,7 +152,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) cmdCity3_font.setBold( TRUE ); cmdCity3->setFont( cmdCity3_font ); cmdCity3->setFocusPolicy( QToolButton::TabFocus ); - cmdCity3->setText( tr( "" ) ); + cmdCity3->setText( "" ); cmdCity3->setToggleButton( TRUE ); cmdCity3->setToggleButton( TRUE ); @@ -163,7 +163,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) QFont lblCTime8_font( lblCTime8->font() ); lblCTime8_font.setPointSize( 10 ); lblCTime8->setFont( lblCTime8_font ); - lblCTime8->setText( tr( "" ) ); + lblCTime8->setText( "" ); lblCTime8->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); Layout2->addWidget( lblCTime8, 1, 3 ); @@ -174,7 +174,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) cmdCity1_font.setBold( TRUE ); cmdCity1->setFont( cmdCity1_font ); cmdCity1->setFocusPolicy( QToolButton::TabFocus ); - cmdCity1->setText( tr( "" ) ); + cmdCity1->setText( "" ); cmdCity1->setToggleButton( TRUE ); cmdCity1->setToggleButton( TRUE ); @@ -185,7 +185,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) QFont lblCTime7_font( lblCTime7->font() ); lblCTime7_font.setPointSize( 10 ); lblCTime7->setFont( lblCTime7_font ); - lblCTime7->setText( tr( "" ) ); + lblCTime7->setText( "" ); lblCTime7->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); Layout2->addWidget( lblCTime7, 0, 3 ); @@ -194,7 +194,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) QFont lblCTime4_font( lblCTime4->font() ); lblCTime4_font.setPointSize( 10 ); lblCTime4->setFont( lblCTime4_font ); - lblCTime4->setText( tr( "" ) ); + lblCTime4->setText( "" ); lblCTime4->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); Layout2->addWidget( lblCTime4, 3, 1 ); @@ -205,7 +205,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) cmdCity5_font.setBold( TRUE ); cmdCity5->setFont( cmdCity5_font ); cmdCity5->setFocusPolicy( QToolButton::TabFocus ); - cmdCity5->setText( tr( "" ) ); + cmdCity5->setText( "" ); cmdCity5->setToggleButton( TRUE ); cmdCity5->setToggleButton( TRUE ); @@ -215,7 +215,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) QFont lblCTime3_font( lblCTime3->font() ); lblCTime3_font.setPointSize( 10 ); lblCTime3->setFont( lblCTime3_font ); - lblCTime3->setText( tr( "" ) ); + lblCTime3->setText( "" ); lblCTime3->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); Layout2->addWidget( lblCTime3, 2, 1 ); @@ -226,7 +226,7 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) cmdCity9_font.setBold( TRUE ); cmdCity9->setFont( cmdCity9_font ); cmdCity9->setFocusPolicy( QToolButton::TabFocus ); - cmdCity9->setText( tr( "" ) ); + cmdCity9->setText( "" ); cmdCity9->setToggleButton( TRUE ); cmdCity9->setToggleButton( TRUE ); diff --git a/noncore/applets/memoryapplet/swapfile.cpp b/noncore/applets/memoryapplet/swapfile.cpp index a71078f..96010c8 100644 --- a/noncore/applets/memoryapplet/swapfile.cpp +++ b/noncore/applets/memoryapplet/swapfile.cpp @@ -99,7 +99,7 @@ Swapfile::Swapfile( QWidget *parent, const char *name, WFlags f ) hb4->setSpacing(5); swapStatusIcon = new QLabel(hb4); - swapStatus = new QLabel(tr(""), hb4); + swapStatus = new QLabel("", hb4); hb4->setStretchFactor(swapStatus, 99); vb->addWidget(hb4); diff --git a/noncore/apps/zsafe/scqtfiledlg.cpp b/noncore/apps/zsafe/scqtfiledlg.cpp index c67bbd5..f036101 100644 --- a/noncore/apps/zsafe/scqtfiledlg.cpp +++ b/noncore/apps/zsafe/scqtfiledlg.cpp @@ -131,7 +131,7 @@ ScQtFileDlg::ScQtFileDlg( QWidget* parent, const char* name, bool modal, WFlags Layout3->addItem( spacer ); OkButton = new QToolButton( this, "OkButton" ); - OkButton->setText( tr( "" ) ); + OkButton->setText( "" ); OkButton->setPixmap( image0 ); OkButton->setUsesBigPixmap( FALSE ); QToolTip::add( OkButton, tr( "confirms the selection and closes the form" ) ); @@ -139,7 +139,7 @@ ScQtFileDlg::ScQtFileDlg( QWidget* parent, const char* name, bool modal, WFlags Layout3->addWidget( OkButton ); CancelButton = new QToolButton( this, "CancelButton" ); - CancelButton->setText( tr( "" ) ); + CancelButton->setText( "" ); CancelButton->setPixmap( image1 ); CancelButton->setUsesBigPixmap( FALSE ); QToolTip::add( CancelButton, tr( "cancels the selection and closes the form" ) ); @@ -161,7 +161,7 @@ ScQtFileDlg::ScQtFileDlg( QWidget* parent, const char* name, bool modal, WFlags Layout3_2->addWidget( FNameLineEdit ); MkDirButton = new QToolButton( this, "MkDirButton" ); - MkDirButton->setText( tr( "" ) ); + MkDirButton->setText( "" ); MkDirButton->setPixmap( image2 ); MkDirButton->setUsesBigPixmap( FALSE ); QToolTip::add( MkDirButton, tr( "confirms the selection and closes the form" ) ); diff --git a/noncore/apps/zsafe/zsafe.cpp b/noncore/apps/zsafe/zsafe.cpp index ca3ff52..189453e 100644 --- a/noncore/apps/zsafe/zsafe.cpp +++ b/noncore/apps/zsafe/zsafe.cpp @@ -587,25 +587,25 @@ ZSafe::ZSafe( QWidget* parent, const char* name, bool modal, WFlags fl ) New = new QToolButton( menu, "New" ); New->setGeometry( QRect( DeskW-84, 2, 20, 20 ) ); New->setMouseTracking( TRUE ); - New->setText( tr( "" ) ); + New->setText( "" ); New->setPixmap( new_img ); QToolTip::add( New, tr( "New entry" ) ); Edit = new QToolButton( menu, "Edit" ); Edit->setGeometry( QRect( DeskW-64, 2, 20, 20 ) ); - Edit->setText( tr( "" ) ); + Edit->setText( "" ); Edit->setPixmap( edit_img ); QToolTip::add( Edit, tr( "Edit category or entry" ) ); Delete = new QToolButton( menu, "Delete" ); Delete->setGeometry( QRect( DeskW-44, 2, 20, 20 ) ); - Delete->setText( tr( "" ) ); + Delete->setText( "" ); Delete->setPixmap( trash_img ); QToolTip::add( Delete, tr( "Delete category or entry" ) ); Find = new QToolButton( menu, "Find" ); Find->setGeometry( QRect( DeskW-24, 2, 20, 20 ) ); - Find->setText( tr( "" ) ); + Find->setText( "" ); Find->setPixmap( find_img ); QToolTip::add( Find, tr( "Find entry" ) ); diff --git a/noncore/multimedia/powerchord/powerchordbase.cpp b/noncore/multimedia/powerchord/powerchordbase.cpp index 98fe3f7..f0d1487 100644 --- a/noncore/multimedia/powerchord/powerchordbase.cpp +++ b/noncore/multimedia/powerchord/powerchordbase.cpp @@ -198,12 +198,12 @@ PowerchordBase::PowerchordBase( QWidget* parent, const char* name, WFlags fl ) transport_rec = new QPushButton( tab, "transport_rec" ); transport_rec->setGeometry( QRect( 170, 80, 30, 30 ) ); - transport_rec->setText( tr( "" ) ); + transport_rec->setText( "" ); transport_rec->setPixmap( image2 ); play_sound = new QPushButton( tab, "play_sound" ); play_sound->setGeometry( QRect( 170, 180, 60, 55 ) ); - play_sound->setText( tr( "" ) ); + play_sound->setText( "" ); play_sound->setPixmap( image3 ); Frame6_2 = new QFrame( tab, "Frame6_2" ); @@ -214,26 +214,26 @@ PowerchordBase::PowerchordBase( QWidget* parent, const char* name, WFlags fl ) transport_play = new QPushButton( tab, "transport_play" ); transport_play->setEnabled( FALSE ); transport_play->setGeometry( QRect( 200, 80, 30, 30 ) ); - transport_play->setText( tr( "" ) ); + transport_play->setText( "" ); transport_play->setPixmap( image3 ); transport_rew = new QPushButton( tab, "transport_rew" ); transport_rew->setEnabled( FALSE ); transport_rew->setGeometry( QRect( 170, 110, 30, 30 ) ); - transport_rew->setText( tr( "" ) ); + transport_rew->setText( "" ); transport_rew->setPixmap( image4 ); transport_fwd = new QPushButton( tab, "transport_fwd" ); transport_fwd->setEnabled( FALSE ); transport_fwd->setGeometry( QRect( 200, 110, 30, 30 ) ); - transport_fwd->setText( tr( "" ) ); + transport_fwd->setText( "" ); transport_fwd->setPixmap( image5 ); chordname = new QLabel( tab, "chordname" ); chordname->setGeometry( QRect( 146, 0, 90, 20 ) ); //cxm moved l 5 chordname->setText( tr( "A" ) ); chordname->setAlignment( int( QLabel::AlignCenter ) ); - QToolTip::add( chordname, tr( "" ) ); + QToolTip::add( chordname, "" ); synth = new gs(); tuner = new gt(); diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp index 979b73a..6252fc2 100644 --- a/noncore/net/mail/mainwindow.cpp +++ b/noncore/net/mail/mainwindow.cpp @@ -97,7 +97,7 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) layout->addWidget( folderView ); mailView = new QListView( view ); - mailView->addColumn( tr( "" ) ); + mailView->addColumn( "" ); mailView->addColumn( tr( "Subject" ),QListView::Manual ); mailView->addColumn( tr( "Sender" ),QListView::Manual ); mailView->addColumn( tr( "Size" ),QListView::Manual); diff --git a/noncore/settings/mediummount/mediumglobal.cc b/noncore/settings/mediummount/mediumglobal.cc index 0c6cf12..621784e 100644 --- a/noncore/settings/mediummount/mediumglobal.cc +++ b/noncore/settings/mediummount/mediumglobal.cc @@ -39,7 +39,7 @@ void MediumGlobalWidget::initGUI() m_label = new QLabel( this ); m_label->setTextFormat( Qt::RichText ); - m_label->setText( tr("") ); + m_label->setText( "" ); QWhatsThis::add( this, tr("If a medium gets inserted into this device Opie " "tries to search the medium for Documents. On " "large mediums this can take some time. You can choose " diff --git a/noncore/settings/sound/soundsettingsbase.cpp b/noncore/settings/sound/soundsettingsbase.cpp index f283119..84187d2 100644 --- a/noncore/settings/sound/soundsettingsbase.cpp +++ b/noncore/settings/sound/soundsettingsbase.cpp @@ -127,7 +127,7 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m SoundSettingsBaseLayout->addMultiCellWidget(TextLabelKey , 5, 5, 0, 0, 1); keyComboBox = new QComboBox( FALSE, this, "keyComboBox" ); - keyComboBox->insertItem( tr( "" ) ); + keyComboBox->insertItem( "" ); keyComboBox->insertItem( tr( "Taskbar Icon" ) ); keyComboBox->insertItem( tr( "Key_Record" ) ); keyComboBox->insertItem( tr( "Key_Space" ) ); diff --git a/noncore/unsupported/oipkg/mainwindow.cpp b/noncore/unsupported/oipkg/mainwindow.cpp index 7f1c0b8..1719ed8 100644 --- a/noncore/unsupported/oipkg/mainwindow.cpp +++ b/noncore/unsupported/oipkg/mainwindow.cpp @@ -272,7 +272,7 @@ void MainWindow::makeMenu() a = new QAction( tr( "New version, old version installed" ), Resource::loadPixmap( "oipkg/uninstalledInstalledOld" ), QString::null, 0, this, 0 ); a->addTo( helpMenu ); -// a = new QAction( tr( "" ), +// a = new QAction( "", // Resource::loadPixmap( "oipkg/" ), QString::null, 0, this, 0 ); // a->addTo( helpMenu ); |