summaryrefslogtreecommitdiffstats
path: root/keduca/keducabuilder
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:10 -0600
commit746abe84406ed1ec1a8dc68f29ce0ab8322ccc80 (patch)
tree34a73ef7b8771de54099eeffb941117e49a8865e /keduca/keducabuilder
parent999f961ff5278b84c8ffd8a91addb9343e589cf0 (diff)
downloadtdeedu-746abe84406ed1ec1a8dc68f29ce0ab8322ccc80.tar.gz
tdeedu-746abe84406ed1ec1a8dc68f29ce0ab8322ccc80.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'keduca/keducabuilder')
-rw-r--r--keduca/keducabuilder/kcontroladdeditbase.ui20
-rw-r--r--keduca/keducabuilder/kcontrolheaderbase.ui18
-rw-r--r--keduca/keducabuilder/keducabuilder.cpp4
-rw-r--r--keduca/keducabuilder/keducaeditorstartdialog.cpp2
-rw-r--r--keduca/keducabuilder/ktagcombobox.cpp6
5 files changed, 25 insertions, 25 deletions
diff --git a/keduca/keducabuilder/kcontroladdeditbase.ui b/keduca/keducabuilder/kcontroladdeditbase.ui
index a2a92780..da846f6c 100644
--- a/keduca/keducabuilder/kcontroladdeditbase.ui
+++ b/keduca/keducabuilder/kcontroladdeditbase.ui
@@ -160,7 +160,7 @@
<property name="text">
<string>&amp;Question:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignTop|AlignRight</set>
</property>
<property name="buddy" stdset="0">
@@ -174,7 +174,7 @@
<property name="text">
<string>&amp;Type:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="buddy" stdset="0">
@@ -188,7 +188,7 @@
<property name="text">
<string>&amp;Picture:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="buddy" stdset="0">
@@ -227,7 +227,7 @@
<property name="text">
<string>P&amp;oint:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="buddy" stdset="0">
@@ -241,7 +241,7 @@
<property name="text">
<string>Ti&amp;me:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="buddy" stdset="0">
@@ -255,7 +255,7 @@
<property name="text">
<string>T&amp;ip:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="buddy" stdset="0">
@@ -274,7 +274,7 @@
<property name="text">
<string>&amp;Explain:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignTop|AlignRight</set>
</property>
<property name="buddy" stdset="0">
@@ -552,7 +552,7 @@
<property name="text">
<string>&amp;Answer:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignTop|AlignRight</set>
</property>
<property name="buddy" stdset="0">
@@ -566,7 +566,7 @@
<property name="text">
<string>&amp;Value:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="buddy" stdset="0">
@@ -605,7 +605,7 @@
<property name="text">
<string>&amp;Points:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="buddy" stdset="0">
diff --git a/keduca/keducabuilder/kcontrolheaderbase.ui b/keduca/keducabuilder/kcontrolheaderbase.ui
index 242b9358..77b29513 100644
--- a/keduca/keducabuilder/kcontrolheaderbase.ui
+++ b/keduca/keducabuilder/kcontrolheaderbase.ui
@@ -139,7 +139,7 @@
<property name="text">
<string>Title:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -150,7 +150,7 @@
<property name="text">
<string>Language:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -161,7 +161,7 @@
<property name="text">
<string>Category:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -172,7 +172,7 @@
<property name="text">
<string>Type:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -223,7 +223,7 @@
<property name="text">
<string>Level:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -262,7 +262,7 @@
<property name="text">
<string>Default picture:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignJustify|AlignVCenter</set>
</property>
</widget>
@@ -291,7 +291,7 @@
<property name="text">
<string>Name:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -317,7 +317,7 @@
<property name="text">
<string>Web page:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -328,7 +328,7 @@
<property name="text">
<string>Email:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
diff --git a/keduca/keducabuilder/keducabuilder.cpp b/keduca/keducabuilder/keducabuilder.cpp
index 88db1b59..32911960 100644
--- a/keduca/keducabuilder/keducabuilder.cpp
+++ b/keduca/keducabuilder/keducabuilder.cpp
@@ -284,7 +284,7 @@ bool KEducaBuilder::currentFileMayBeReplaced()
int res = KMessageBox::warningYesNoCancel( widget(),
// ask the user to save
i18n( "The document \"%1\" has been modified.\n"
- "Do you want to save it?" ).tqarg( _keducaFile->getCurrentURL().fileName() ),
+ "Do you want to save it?" ).arg( _keducaFile->getCurrentURL().fileName() ),
i18n( "Save Document?" ), KStdGuiItem::save(), KStdGuiItem::discard() );
switch (res)
{
@@ -485,7 +485,7 @@ void KEducaBuilder::slotFilePrint()
TQString file = _keducaFile->getCurrentURL().fileName();
if (file.isEmpty())
file = i18n("Test");
- if(printer->setup(this, i18n("Print %1").tqarg(file)))
+ if(printer->setup(this, i18n("Print %1").arg(file)))
{
TQPaintDeviceMetrics metrics(printer);
TQPainter p;
diff --git a/keduca/keducabuilder/keducaeditorstartdialog.cpp b/keduca/keducabuilder/keducaeditorstartdialog.cpp
index 01bbc260..22e196e7 100644
--- a/keduca/keducabuilder/keducaeditorstartdialog.cpp
+++ b/keduca/keducabuilder/keducaeditorstartdialog.cpp
@@ -62,7 +62,7 @@ void KEducaEditorStartDialog::buildRecentFilesList()
// read file list
for( unsigned int i = 1 ; i <= _maxRecentDocumentItems ; i++ )
{
- key = TQString( "File%1" ).tqarg( i );
+ key = TQString( "File%1" ).arg( i );
value = config->readEntry( key, TQString() );
if (!value.isNull())
diff --git a/keduca/keducabuilder/ktagcombobox.cpp b/keduca/keducabuilder/ktagcombobox.cpp
index 8c317255..081d4254 100644
--- a/keduca/keducabuilder/ktagcombobox.cpp
+++ b/keduca/keducabuilder/ktagcombobox.cpp
@@ -84,7 +84,7 @@ void KTagComboBox::internalActivate( int index )
if (_current == index) return;
_current = index;
emit activated( index );
- tqrepaint();
+ repaint();
}
void KTagComboBox::internalHighlight( int index )
@@ -158,7 +158,7 @@ void KTagComboBox::changeItem( const TQString &text, int index )
{
_popup->changeItem( text, index);
if (index == _current)
- tqrepaint();
+ repaint();
}
void KTagComboBox::paintEvent( TQPaintEvent * ev)
@@ -210,7 +210,7 @@ void KTagComboBox::setCurrentItem(int i)
{
if (i < 0 || i >= count()) return;
_current = i;
- tqrepaint();
+ repaint();
}
void KTagComboBox::setCurrentItem(const TQString &code)