Browse Source

Rename a number of classes to enhance compatibility with KDE4

tags/r14.0.0
Timothy Pearson 6 years ago
parent
commit
a45915945e

+ 5
- 5
krename/ProgressDialog.cpp View File

@@ -62,7 +62,7 @@ ProgressDialog::ProgressDialog( TQWidget* parent, const char* name, WFlags fl )
62 62
 
63 63
     buttonCancel = new KPushButton( i18n("&Cancel"), this );
64 64
 
65
-    display = new KListView( this );
65
+    display = new TDEListView( this );
66 66
     display->addColumn( i18n("Messages") );
67 67
     display->addColumn( "sort" );
68 68
     display->setColumnWidthMode( 0, TQListView::Maximum );
@@ -77,7 +77,7 @@ ProgressDialog::ProgressDialog( TQWidget* parent, const char* name, WFlags fl )
77 77
     buttonUndo->setText( i18n("&Undo") );
78 78
     buttonUndo->setEnabled( false );
79 79
     
80
-    mnuButton = new KPopupMenu( this );
80
+    mnuButton = new TDEPopupMenu( this );
81 81
     mnuButton->insertItem( i18n("Restart KRename..."), this, TQT_SLOT( restart() ));
82 82
     mnuButton->insertSeparator();
83 83
     mnuButton->insertItem( i18n("Rename Processed Files &Again..."), this, TQT_SLOT( again() ), 0, MNU_DONE_ID );
@@ -143,7 +143,7 @@ void ProgressDialog::print( TQString text, TQString pixmap )
143 143
     if( pixmap.isNull() )
144 144
         pixmap = "ok";
145 145
         
146
-    KListViewItem* item = new KListViewItem( display, text, count() );
146
+    TDEListViewItem* item = new TDEListViewItem( display, text, count() );
147 147
     item->setPixmap( 0, SmallIcon(pixmap) );
148 148
     display->insertItem( item );
149 149
 }
@@ -157,7 +157,7 @@ void ProgressDialog::error( TQString text )
157 157
     }
158 158
     
159 159
     //TODO: simplify this (breaks i18n)
160
-    KListViewItem* item = new KListViewItem( display, TQString( i18n("Error: %1") ).arg( TQString() ) + simplify( text ), count() );
160
+    TDEListViewItem* item = new TDEListViewItem( display, TQString( i18n("Error: %1") ).arg( TQString() ) + simplify( text ), count() );
161 161
     item->setPixmap( 0, SmallIcon("cancel") );
162 162
     display->insertItem( item );
163 163
 }
@@ -170,7 +170,7 @@ void ProgressDialog::warning( TQString text )
170 170
         m_timer->start( TIMER_INTERVAL );
171 171
     }
172 172
     
173
-    KListViewItem* item = new KListViewItem( display, TQString( i18n("Warning: %1") ).arg( TQString() ) + simplify( text ), count() );
173
+    TDEListViewItem* item = new TDEListViewItem( display, TQString( i18n("Warning: %1") ).arg( TQString() ) + simplify( text ), count() );
174 174
     item->setPixmap( 0, SmallIcon("idea") );
175 175
     display->insertItem( item );    
176 176
 }

+ 4
- 4
krename/ProgressDialog.h View File

@@ -31,8 +31,8 @@ typedef struct RenamedList
31 31
 };
32 32
 
33 33
 class KRenameImpl;
34
-class KListView;
35
-class KPopupMenu;
34
+class TDEListView;
35
+class TDEPopupMenu;
36 36
 class KPushButton;
37 37
 class TQProgressBar;
38 38
 class TQStringList;
@@ -91,13 +91,13 @@ class ProgressDialog : public TQWidget
91 91
         
92 92
         TQTimer* m_timer;
93 93
         
94
-        KListView* display;
94
+        TDEListView* display;
95 95
         KPushButton* buttonClose;
96 96
         KPushButton* buttonRestart;
97 97
         KPushButton* buttonOpenDest;
98 98
         KPushButton* buttonUndo;
99 99
         KPushButton* buttonCancel;
100
-        KPopupMenu* mnuButton;
100
+        TDEPopupMenu* mnuButton;
101 101
 
102 102
         TQProgressBar* bar;
103 103
 

+ 1
- 1
krename/commandplugin.cpp View File

@@ -88,7 +88,7 @@ void CommandPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
88 88
 
89 89
     vb->addLayout( hb );
90 90
 
91
-    list = new KListBox( w );
91
+    list = new TDEListBox( w );
92 92
     vb->addWidget( list );
93 93
     vb->setStretchFactor( list, 2 );
94 94
     l->addLayout( vb );

+ 2
- 2
krename/commandplugin.h View File

@@ -25,7 +25,7 @@
25 25
 
26 26
 class TQCheckBox;
27 27
 class KLineEdit;
28
-class KListBox;
28
+class TDEListBox;
29 29
 class KPushButton;
30 30
 class CommandPlugin : public Plugin  {
31 31
     Q_OBJECT
@@ -52,7 +52,7 @@ class CommandPlugin : public Plugin  {
52 52
     private:
53 53
         KLineEdit* commandline;
54 54
         TQCheckBox* checkNoBlock;
55
-        KListBox* list;
55
+        TDEListBox* list;
56 56
         KPushButton* buttonAdd;
57 57
         KPushButton* buttonRemove;
58 58
 

+ 2
- 2
krename/fileplugin.cpp View File

@@ -139,8 +139,8 @@ void FilePlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
139 139
     l->addWidget( new TQLabel( m_comment, w ) );
140 140
     l->addWidget( new TQLabel( i18n("Supported tokens:"), w ) );
141 141
 
142
-    KListBox* list = new KListBox( w );
143
-    list->setColumnMode( KListBox::FitToWidth );
142
+    TDEListBox* list = new TDEListBox( w );
143
+    list->setColumnMode( TDEListBox::FitToWidth );
144 144
 
145 145
     for( unsigned int i = 0; i < keys.count(); i++ )
146 146
         list->insertItem( "[" + keys[i] + "]" );

+ 2
- 2
krename/helpdialog.cpp View File

@@ -77,7 +77,7 @@ HelpDialog::HelpDialog( HelpDialogData* data, TQWidget* parent,
77 77
     comboHeadline = new TQComboBox( FALSE, this, "comboHeadline" );
78 78
     HelpDialogLayout->addWidget( comboHeadline );
79 79
 
80
-    list = new KListView( this, "list" );
80
+    list = new TDEListView( this, "list" );
81 81
     list->addColumn( i18n( "Token" ) );
82 82
     list->addColumn( i18n( "Description" ) );
83 83
     HelpDialogLayout->addWidget( list );
@@ -132,7 +132,7 @@ void HelpDialog::updateItems()
132 132
 
133 133
     for( unsigned int i = 0; i < items.count(); i++ ) {
134 134
         TQString tmp = items[i];
135
-        new KListViewItem( list, tmp.section( ";;", 0, 0 ), tmp.section( ";;", 1, 1 ) );
135
+        new TDEListViewItem( list, tmp.section( ";;", 0, 0 ), tmp.section( ";;", 1, 1 ) );
136 136
     }
137 137
 }
138 138
 

+ 2
- 2
krename/helpdialog.h View File

@@ -29,7 +29,7 @@ class TQGridLayout;
29 29
 class TQComboBox;
30 30
 class TQLineEdit;
31 31
 class TQPixmap;
32
-class KListView;
32
+class TDEListView;
33 33
 class KPushButton;
34 34
 
35 35
 class HelpDialogData : public TQObject {
@@ -92,7 +92,7 @@ class HelpDialog : public TQDialog
92 92
 
93 93
     private:        
94 94
         TQComboBox* comboHeadline;
95
-        KListView* list;
95
+        TDEListView* list;
96 96
         KPushButton* buttonAdd;
97 97
         KPushButton* buttonClose;
98 98
 

+ 8
- 8
krename/kmylistbox.cpp View File

@@ -44,7 +44,7 @@
44 44
 using namespace TDEIO;
45 45
 
46 46
 KMyListBox::KMyListBox(TQWidget* parent, const char* name, WFlags fl)
47
-    :KListBox(parent, name, fl)
47
+    :TDEListBox(parent, name, fl)
48 48
 {
49 49
     m_running_lister_counter = 0;
50 50
 
@@ -86,7 +86,7 @@ void KMyListBox::setPreviewSize( int size )
86 86
 
87 87
 void KMyListBox::removeItem( int index )
88 88
 {
89
-    KListBox::removeItem( index );
89
+    TDEListBox::removeItem( index );
90 90
 }
91 91
 
92 92
 void KMyListBox::addFile( const KURL & filename, bool isfile )
@@ -201,7 +201,7 @@ void KMyListBox::viewportMousePressEvent( TQMouseEvent* e )
201 201
    if( moving )
202 202
         move( index( itemAt( e->pos() ) ) );
203 203
     else {
204
-        KListBox::viewportMousePressEvent( e );
204
+        TDEListBox::viewportMousePressEvent( e );
205 205
         TQPoint p( e->pos() );
206 206
         TQListBoxItem *i = itemAt( p );
207 207
         if ( i ) {
@@ -226,13 +226,13 @@ void KMyListBox::viewportMouseMoveEvent( TQMouseEvent* e )
226 226
             ud->drag();
227 227
         }
228 228
     } else
229
-        KListBox::viewportMouseMoveEvent( e );
229
+        TDEListBox::viewportMouseMoveEvent( e );
230 230
 }
231 231
 
232 232
 void KMyListBox::viewportMouseReleaseEvent( TQMouseEvent* e )
233 233
 {
234 234
     mousePressed = FALSE;
235
-    KListBox::viewportMouseReleaseEvent( e );
235
+    TDEListBox::viewportMouseReleaseEvent( e );
236 236
 }
237 237
 
238 238
 void KMyListBox::keyPressEvent( TQKeyEvent* e )
@@ -697,13 +697,13 @@ const TQString KMyListBox::findNumInString( unsigned int pos, const TQString & s
697 697
 
698 698
 void KMyListBox::resizeEvent( TQResizeEvent* e )
699 699
 {
700
-    KListBox::resizeEvent( e );
700
+    TDEListBox::resizeEvent( e );
701 701
     positionLabel();
702 702
 }
703 703
 
704 704
 void KMyListBox::clear()
705 705
 {
706
-    KListBox::clear();
706
+    TDEListBox::clear();
707 707
     positionLabel();
708 708
 }
709 709
 
@@ -726,7 +726,7 @@ void KMyListBox::paintEvent( TQPaintEvent* e )
726 726
 {
727 727
     //   tqDebug("Updates=%i", (int)isUpdatesEnabled() );
728 728
     //if( isUpdatesEnabled() )
729
-        KListBox::paintEvent( e );
729
+        TDEListBox::paintEvent( e );
730 730
 }
731 731
 
732 732
 KMyListBoxItem::KMyListBoxItem( const KMyListBoxItem* item )

+ 1
- 1
krename/kmylistbox.h View File

@@ -35,7 +35,7 @@ class TQDragObject;
35 35
 class TQPixmap;
36 36
 class TQPainter;
37 37
 class TQPoint;
38
-class KMyListBox : public KListBox  {
38
+class KMyListBox : public TDEListBox  {
39 39
     Q_OBJECT
40 40
   
41 41
     public:

+ 11
- 11
krename/kmylistview.cpp View File

@@ -25,7 +25,7 @@
25 25
 #include <krun.h>
26 26
 
27 27
 KMyListView::KMyListView( TQValueList<manualchanges>* _changes, KMyListBox* _list, TQWidget* parent, const char* name )
28
-    :KListView(parent, name )
28
+    :TDEListView(parent, name )
29 29
 {
30 30
     changes = _changes;
31 31
     list = _list;
@@ -75,7 +75,7 @@ void KMyListView::changeItem( TQListViewItem* item, const TQPoint&, int )
75 75
 
76 76
 void KMyListView::showContext( TQListViewItem* item, const TQPoint& pos, int )
77 77
 {
78
-    KPopupMenu* menu = new KPopupMenu( this );
78
+    TDEPopupMenu* menu = new TDEPopupMenu( this );
79 79
     if(item) {
80 80
         menu->insertTitle( list->text( itemIndex( item ) ), 0, 0 );
81 81
         menu->insertItem( i18n("&Change Filename Manually"), this, TQT_SLOT( changeCurrentItem() ), Key_F2 );
@@ -115,25 +115,25 @@ void KMyListView::openCurrent()
115 115
 /////////////////////////////////////////////////////////////
116 116
 
117 117
 KMyListViewItem::KMyListViewItem(TQListView *parent)
118
-  : KListViewItem(parent)
118
+  : TDEListViewItem(parent)
119 119
 { }
120 120
 
121 121
 KMyListViewItem::KMyListViewItem(TQListViewItem *parent)
122
-  : KListViewItem(parent)
122
+  : TDEListViewItem(parent)
123 123
 { }
124 124
 
125 125
 KMyListViewItem::KMyListViewItem(TQListView *parent, TQListViewItem *after)
126
-  : KListViewItem(parent, after)
126
+  : TDEListViewItem(parent, after)
127 127
 { }
128 128
 
129 129
 KMyListViewItem::KMyListViewItem(TQListViewItem *parent, TQListViewItem *after)
130
-  : KListViewItem(parent, after)
130
+  : TDEListViewItem(parent, after)
131 131
 { }
132 132
 
133 133
 KMyListViewItem::KMyListViewItem(bool m, TQListView *parent,
134 134
     TQString label1, TQString label2, TQString label3, TQString label4,
135 135
     TQString label5, TQString label6, TQString label7, TQString label8)
136
-  : KListViewItem(parent, label1, label2, label3, label4, label5, label6, label7, label8)
136
+  : TDEListViewItem(parent, label1, label2, label3, label4, label5, label6, label7, label8)
137 137
 {
138 138
     modified = m;
139 139
 }
@@ -141,7 +141,7 @@ KMyListViewItem::KMyListViewItem(bool m, TQListView *parent,
141 141
 KMyListViewItem::KMyListViewItem(bool m, TQListViewItem *parent,
142 142
     TQString label1, TQString label2, TQString label3, TQString label4,
143 143
     TQString label5, TQString label6, TQString label7, TQString label8)
144
-  : KListViewItem(parent, label1, label2, label3, label4, label5, label6, label7, label8)
144
+  : TDEListViewItem(parent, label1, label2, label3, label4, label5, label6, label7, label8)
145 145
 {
146 146
     modified = m;
147 147
 }
@@ -149,7 +149,7 @@ KMyListViewItem::KMyListViewItem(bool m, TQListViewItem *parent,
149 149
 KMyListViewItem::KMyListViewItem(bool m, TQListView *parent, TQListViewItem *after,
150 150
     TQString label1, TQString label2, TQString label3, TQString label4,
151 151
     TQString label5, TQString label6, TQString label7, TQString label8)
152
-  : KListViewItem(parent, after, label1, label2, label3, label4, label5, label6, label7, label8)
152
+  : TDEListViewItem(parent, after, label1, label2, label3, label4, label5, label6, label7, label8)
153 153
 {
154 154
     modified = m;
155 155
 }
@@ -157,7 +157,7 @@ KMyListViewItem::KMyListViewItem(bool m, TQListView *parent, TQListViewItem *aft
157 157
 KMyListViewItem::KMyListViewItem(TQListViewItem *parent, TQListViewItem *after,
158 158
     TQString label1, TQString label2, TQString label3, TQString label4,
159 159
     TQString label5, TQString label6, TQString label7, TQString label8)
160
-  : KListViewItem(parent, after, label1, label2, label3, label4, label5, label6, label7, label8)
160
+  : TDEListViewItem(parent, after, label1, label2, label3, label4, label5, label6, label7, label8)
161 161
 { }
162 162
 
163 163
 KMyListViewItem::~KMyListViewItem()
@@ -171,7 +171,7 @@ void KMyListViewItem::paintCell( TQPainter *p, const TQColorGroup &cg,
171 171
     if( modified )
172 172
         _cg.setColor( TQColorGroup::Text, TQt::red );
173 173
 
174
-    KListViewItem::paintCell( p, _cg, column, width, alignment );
174
+    TDEListViewItem::paintCell( p, _cg, column, width, alignment );
175 175
     _cg.setColor( TQColorGroup::Text, c );
176 176
 }
177 177
 

+ 2
- 2
krename/kmylistview.h View File

@@ -24,7 +24,7 @@
24 24
 #include <tqvaluelist.h>
25 25
 
26 26
 class TQMouseEvent;
27
-class KMyListView : public KListView  {
27
+class KMyListView : public TDEListView  {
28 28
     Q_OBJECT
29 29
   
30 30
     public:
@@ -52,7 +52,7 @@ class KMyListView : public KListView  {
52 52
 /////////////////////////////////////////////////////////////
53 53
 class TQColor;
54 54
 class TQString;
55
-class KMyListViewItem : public KListViewItem {
55
+class KMyListViewItem : public TDEListViewItem {
56 56
     public:
57 57
         KMyListViewItem(TQListView *parent);
58 58
         KMyListViewItem(TQListViewItem *parent);

+ 6
- 6
krename/krenameimpl.cpp View File

@@ -293,10 +293,10 @@ void KRenameImpl::parseCommandline()
293 293
 
294 294
 void KRenameImpl::setupActions()
295 295
 {
296
-    KActionCollection* actionCollection = new KActionCollection( this );
296
+    TDEActionCollection* actionCollection = new TDEActionCollection( this );
297 297
 
298
-    KPopupMenu* mnuExtra = new KPopupMenu( parent );
299
-    KPopupMenu* mnuSettings = new KPopupMenu( parent );
298
+    TDEPopupMenu* mnuExtra = new TDEPopupMenu( parent );
299
+    TDEPopupMenu* mnuSettings = new TDEPopupMenu( parent );
300 300
     KHelpMenu* mnuHelp = new KHelpMenu( parent );
301 301
 
302 302
     menuBar->insertItem( i18n("E&xtras"), mnuExtra );
@@ -307,9 +307,9 @@ void KRenameImpl::setupActions()
307 307
     menuBar->insertSeparator();
308 308
     menuBar->insertItem( i18n("&Help"), mnuHelp->menu() );
309 309
 
310
-    KAction* prefAct = KStdAction::preferences( this, TQT_SLOT(preferences()), actionCollection );
311
-    loadPlugins = new KAction( i18n("&Load TDE file plugins"), 0, this, TQT_SLOT( loadFilePlugins() ), actionCollection );
312
-    KAction* reloadAct = new KAction( i18n("&Reload Plugin Data"), 0, this, TQT_SLOT( reloadFilePluginData() ), actionCollection );
310
+    TDEAction* prefAct = KStdAction::preferences( this, TQT_SLOT(preferences()), actionCollection );
311
+    loadPlugins = new TDEAction( i18n("&Load TDE file plugins"), 0, this, TQT_SLOT( loadFilePlugins() ), actionCollection );
312
+    TDEAction* reloadAct = new TDEAction( i18n("&Reload Plugin Data"), 0, this, TQT_SLOT( reloadFilePluginData() ), actionCollection );
313 313
     
314 314
     prefAct->plug( mnuSettings );
315 315
     mnuSettings->insertSeparator();

+ 5
- 5
krename/krenameimpl.h View File

@@ -24,16 +24,16 @@
24 24
 
25 25
 class HelpDialog;
26 26
 class HelpDialogData;
27
-class KAction;
27
+class TDEAction;
28 28
 class KComboBox;
29 29
 class KJanusWidget;
30 30
 class KMyHistoryCombo;
31 31
 class KMyListBox;
32 32
 class KMyListView;
33 33
 class KMenuBar;
34
-class KPopupMenu;
34
+class TDEPopupMenu;
35 35
 class KPushButton;
36
-class KToggleAction;
36
+class TDEToggleAction;
37 37
 class KURL;
38 38
 class KURLRequester;
39 39
 class KIntNumInput;
@@ -197,8 +197,8 @@ class KRenameImpl : public TQObject, public KRenameDCOP {
197 197
     protected:
198 198
         TQWidget* parent;
199 199
         KMenuBar* menuBar;
200
-        KPopupMenu* mnuSort;
201
-        KAction* loadPlugins;
200
+        TDEPopupMenu* mnuSort;
201
+        TDEAction* loadPlugins;
202 202
         
203 203
         TQPushButton* finishButton;
204 204
 

+ 1
- 1
krename/numberdialog.cpp View File

@@ -71,7 +71,7 @@ NumberDialog::NumberDialog(TQValueList<int> & n,TQWidget *parent )
71 71
     TQHBoxLayout* group2Layout = new TQHBoxLayout( group2->layout() );
72 72
     group2Layout->setAlignment( TQt::AlignTop );
73 73
 
74
-    listNumbers = new KListBox( group2 );
74
+    listNumbers = new TDEListBox( group2 );
75 75
 
76 76
     buttonAdd = new KPushButton( group2 );
77 77
     buttonAdd->setText( i18n( "&Add Number" ) );

+ 2
- 2
krename/numberdialog.h View File

@@ -42,7 +42,7 @@ class KMyIntSpinBox : public KIntSpinBox
42 42
 
43 43
 class TQCheckBox;
44 44
 class KIntNumInput;
45
-class KListBox;
45
+class TDEListBox;
46 46
 class KPushButton;
47 47
 class NumberDialog : public KDialogBase  {
48 48
    Q_OBJECT
@@ -67,7 +67,7 @@ class NumberDialog : public KDialogBase  {
67 67
     private:
68 68
         void sort();
69 69
         
70
-        KListBox* listNumbers;
70
+        TDEListBox* listNumbers;
71 71
         KPushButton* buttonAdd;
72 72
         KPushButton* buttonRemove;
73 73
         KMyIntSpinBox* spinNumber;

+ 1
- 1
krename/profiledlg.cpp View File

@@ -400,7 +400,7 @@ ProfileDlg::ProfileDlg(KRenameImpl* krename, TQWidget *parent, const char *name)
400 400
     TQHBoxLayout* layout = new TQHBoxLayout( plainPage(), 6, 6 );
401 401
     TQVBoxLayout* button = new TQVBoxLayout( 0, 6, 6 );
402 402
     
403
-    profiles = new KListBox( plainPage() );
403
+    profiles = new TDEListBox( plainPage() );
404 404
     profiles->insertItem( new ProfileListBoxText( PROFILE_WIZARD_NAME ), PROFILE_WIZARD_INDEX );
405 405
     profiles->insertItem( new ProfileListBoxText( PROFILE_TABBED_NAME ), PROFILE_TABBED_INDEX );
406 406
     

+ 2
- 2
krename/profiledlg.h View File

@@ -20,7 +20,7 @@
20 20
 
21 21
 #include <kdialogbase.h>
22 22
 
23
-class KListBox;
23
+class TDEListBox;
24 24
 class KPushButton;
25 25
 class KRenameImpl;
26 26
 class TQCheckBox;
@@ -69,7 +69,7 @@ class ProfileDlg : public KDialogBase, public ProfileManager
69 69
 	void slotHidden();
70 70
 
71 71
     private:
72
-	KListBox* profiles;
72
+	TDEListBox* profiles;
73 73
 
74 74
         TQCheckBox* checkDefault;
75 75
         KPushButton* createProfile;

+ 3
- 3
krename/replacedialog.cpp View File

@@ -41,7 +41,7 @@ ReplaceDialog::ReplaceDialog( TQValueList<replacestrings> & r, TQWidget* parent
41 41
 {
42 42
     ReplaceDialogLayout = new TQGridLayout( plainPage(), 11, 6);
43 43
 
44
-    list = new KListView( plainPage() );
44
+    list = new TDEListView( plainPage() );
45 45
     list->addColumn( i18n("Find") );
46 46
     list->addColumn( i18n("Replace With") );
47 47
     list->addColumn( i18n("Regular Expression") );
@@ -111,7 +111,7 @@ ReplaceDialog::ReplaceDialog( TQValueList<replacestrings> & r, TQWidget* parent
111 111
 
112 112
         BatchRenamer::unEscape( rs.find );
113 113
 
114
-        KListViewItem* item = new KListViewItem( list );
114
+        TDEListViewItem* item = new TDEListViewItem( list );
115 115
         item->setText( 0, encode( rs.find ) );
116 116
         item->setText( 1, encode( rs.replace ) );
117 117
         item->setText( 2, rs.reg ? i18n("yes") : i18n("no") );
@@ -141,7 +141,7 @@ void ReplaceDialog::add()
141 141
         it = it->nextSibling();
142 142
     }
143 143
 
144
-    KListViewItem* item = new KListViewItem( list, i18n("Regular expression") );
144
+    TDEListViewItem* item = new TDEListViewItem( list, i18n("Regular expression") );
145 145
     item->setText( 0, encode( text1->text() ) );
146 146
     item->setText( 1, encode( text2->text() ) );
147 147
     item->setText( 2, checkReg->isChecked() ? i18n("yes") : i18n("no") );    

+ 2
- 2
krename/replacedialog.h View File

@@ -32,7 +32,7 @@ class TQLabel;
32 32
 class TQLineEdit;
33 33
 class KPushButton;
34 34
 class TQListViewItem;
35
-class KListView;
35
+class TDEListView;
36 36
 class ReplaceDialog : public KDialogBase
37 37
 { 
38 38
     Q_OBJECT
@@ -59,7 +59,7 @@ class ReplaceDialog : public KDialogBase
59 59
         TQLineEdit* text2;
60 60
         TQLabel* TextLabel2;
61 61
         TQLineEdit* text1;
62
-        KListView* list;
62
+        TDEListView* list;
63 63
         TQCheckBox* checkReg;
64 64
 
65 65
         KPushButton* buttonAdd;

Loading…
Cancel
Save