summaryrefslogtreecommitdiffstats
path: root/kommander/editor/iconvieweditorimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/editor/iconvieweditorimpl.cpp')
-rw-r--r--kommander/editor/iconvieweditorimpl.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kommander/editor/iconvieweditorimpl.cpp b/kommander/editor/iconvieweditorimpl.cpp
index f7552cee..9bff67ae 100644
--- a/kommander/editor/iconvieweditorimpl.cpp
+++ b/kommander/editor/iconvieweditorimpl.cpp
@@ -23,19 +23,19 @@
#include "mainwindow.h"
#include "pixmapchooser.h"
-#include <qlineedit.h>
-#include <qlabel.h>
-#include <qiconview.h>
-#include <qpushbutton.h>
-#include <qcheckbox.h>
+#include <tqlineedit.h>
+#include <tqlabel.h>
+#include <tqiconview.h>
+#include <tqpushbutton.h>
+#include <tqcheckbox.h>
#include <klocale.h>
-IconViewEditor::IconViewEditor( QWidget *parent, QWidget *editWidget, FormWindow *fw )
+IconViewEditor::IconViewEditor( TQWidget *parent, TQWidget *editWidget, FormWindow *fw )
: IconViewEditorBase( parent, 0, true ), formwindow( fw )
{
- connect( buttonHelp, SIGNAL( clicked() ), MainWindow::self, SLOT( showDialogHelp() ) );
- iconview = (QIconView*)editWidget;
+ connect( buttonHelp, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) );
+ iconview = (TQIconView*)editWidget;
itemText->setText( "" );
itemText->setEnabled( false );
@@ -43,9 +43,9 @@ IconViewEditor::IconViewEditor( QWidget *parent, QWidget *editWidget, FormWindow
itemChoosePixmap->setEnabled( false );
itemDeletePixmap->setEnabled( false );
- QIconViewItem *i = 0;
+ TQIconViewItem *i = 0;
for ( i = iconview->firstItem(); i; i = i->nextItem() ) {
- (void)new QIconViewItem( preview, i->text(), *i->pixmap() );
+ (void)new TQIconViewItem( preview, i->text(), *i->pixmap() );
}
if ( preview->firstItem() )
@@ -54,7 +54,7 @@ IconViewEditor::IconViewEditor( QWidget *parent, QWidget *editWidget, FormWindow
void IconViewEditor::insertNewItem()
{
- QIconViewItem *i = new QIconViewItem( preview, i18n("New Item" ) );
+ TQIconViewItem *i = new TQIconViewItem( preview, i18n("New Item" ) );
preview->setCurrentItem( i );
preview->setSelected( i, true );
}
@@ -66,7 +66,7 @@ void IconViewEditor::deleteCurrentItem()
preview->setSelected( preview->currentItem(), true );
}
-void IconViewEditor::currentItemChanged( QIconViewItem *i )
+void IconViewEditor::currentItemChanged( TQIconViewItem *i )
{
itemText->blockSignals( true );
itemText->setText( "" );
@@ -90,7 +90,7 @@ void IconViewEditor::currentItemChanged( QIconViewItem *i )
itemText->blockSignals( false );
}
-void IconViewEditor::currentTextChanged( const QString &txt )
+void IconViewEditor::currentTextChanged( const TQString &txt )
{
if ( !preview->currentItem() )
return;
@@ -111,8 +111,8 @@ void IconViewEditor::cancelClicked()
void IconViewEditor::applyClicked()
{
- QIconViewItem *i = 0;
- QValueList<PopulateIconViewCommand::Item> items;
+ TQIconViewItem *i = 0;
+ TQValueList<PopulateIconViewCommand::Item> items;
for ( i = preview->firstItem(); i; i = i->nextItem() ) {
PopulateIconViewCommand::Item item;
if ( i->pixmap() )
@@ -132,11 +132,11 @@ void IconViewEditor::choosePixmap()
if ( !preview->currentItem() )
return;
- QPixmap pix;
+ TQPixmap pix;
if ( preview->currentItem()->pixmap() )
pix = qChoosePixmap( this, formwindow, *preview->currentItem()->pixmap() );
else
- pix = qChoosePixmap( this, formwindow, QPixmap() );
+ pix = qChoosePixmap( this, formwindow, TQPixmap() );
if ( pix.isNull() )
return;
@@ -151,7 +151,7 @@ void IconViewEditor::deletePixmap()
if ( !preview->currentItem() )
return;
- preview->currentItem()->setPixmap( QPixmap() );
+ preview->currentItem()->setPixmap( TQPixmap() );
itemPixmap->setText( "" );
itemDeletePixmap->setEnabled( false );
}