summaryrefslogtreecommitdiffstats
path: root/kig/modes/typesdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kig/modes/typesdialog.cpp')
-rw-r--r--kig/modes/typesdialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kig/modes/typesdialog.cpp b/kig/modes/typesdialog.cpp
index e14ceee8..0371ca7f 100644
--- a/kig/modes/typesdialog.cpp
+++ b/kig/modes/typesdialog.cpp
@@ -44,7 +44,7 @@
#include <vector>
class MacroListElement
- : public QListViewItem
+ : public TQListViewItem
{
Macro* macro;
public:
@@ -53,13 +53,13 @@ public:
};
MacroListElement::MacroListElement( KListView* lv, Macro* m )
- : TQListViewItem( lv, TQString::null, m->action->descriptiveName(), m->action->description() ),
+ : TQListViewItem( lv, TQString(), m->action->descriptiveName(), m->action->description() ),
macro( m )
{
}
-TypesDialog::TypesDialog( TQWidget* parent, KigPart& part )
- : TypesDialogBase( parent, "types_dialog", true ), mpart( part )
+TypesDialog::TypesDialog( TQWidget* tqparent, KigPart& part )
+ : TypesDialogBase( tqparent, "types_dialog", true ), mpart( part )
{
// improving GUI look'n'feel...
buttonHelp->setGuiItem( KStdGuiItem::help() );
@@ -106,8 +106,8 @@ TypesDialog::~TypesDialog()
void TypesDialog::helpSlot()
{
- kapp->invokeHelp( TQString::fromLatin1( "working-with-types" ),
- TQString::fromLatin1( "kig" ) );
+ kapp->invokeHelp( TQString::tqfromLatin1( "working-with-types" ),
+ TQString::tqfromLatin1( "kig" ) );
}
void TypesDialog::okSlot()
@@ -171,7 +171,7 @@ void TypesDialog::exportType()
TQFile fi( file_name );
if ( fi.exists() )
if ( KMessageBox::warningContinueCancel( this, i18n( "The file \"%1\" already exists. "
- "Do you wish to overwrite it?" ).arg( fi.name() ),
+ "Do you wish to overwrite it?" ).tqarg( fi.name() ),
i18n( "Overwrite File?" ), i18n("Overwrite") ) == KMessageBox::Cancel )
return;
MacroList::instance()->save( types, file_name );